From 8bfdb23e6291aea22b445fe5eb941e3caa25bb87 Mon Sep 17 00:00:00 2001 From: Swoorup Joshi Date: Fri, 29 Mar 2024 16:07:20 +1100 Subject: [PATCH] Unify cargo.toml and bump version --- Cargo.toml | 20 ++++++++++++++++++-- arrow_convert/Cargo.toml | 16 ++++++++-------- arrow_convert_derive/Cargo.toml | 8 ++++---- examples/simple/Cargo.toml | 4 ++-- 4 files changed, 32 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e2cc550..d9bd827 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.6.1" +version = "0.6.2" authors = [ "Swoorup Joshi ", "Jorge Leitao ", @@ -16,4 +16,20 @@ authors = [ edition = "2021" license = "Apache-2.0 OR MIT" keywords = ["Arrow", "arrow"] -repository = "https://github.com/Swoorup/arrow-convert" \ No newline at end of file +repository = "https://github.com/Swoorup/arrow-convert" + +[workspace.dependencies] +# workspace crates +arrow_convert = { path = "arrow_convert", version = "0.6.2" } +arrow_convert_derive = { path = "arrow_convert_derive", version = "0.6.2" } + +arrow = "51.0" +chrono = { version = "0.4", default-features = false } +criterion = "0.5" +err-derive = "0.3" +half = { version = "2.1", default-features = false } +proc-macro-error = "1" +proc-macro2 = "1" +quote = "1" +syn = "1" +trybuild = "1.0" diff --git a/arrow_convert/Cargo.toml b/arrow_convert/Cargo.toml index 0912332..9a208f3 100644 --- a/arrow_convert/Cargo.toml +++ b/arrow_convert/Cargo.toml @@ -9,16 +9,16 @@ repository.workspace = true description = "Convert between nested rust types and Arrow with arrow" [dependencies] -arrow = "51.0" -arrow_convert_derive = { version = "0.6.0", path = "../arrow_convert_derive", optional = true } -half = { version = "2.1", default-features = false } -chrono = { version = "0.4", default_features = false, features = ["std"] } -err-derive = "0.3" +arrow = { workspace = true } +arrow_convert_derive = { workspace = true, optional = true } +half = { workspace = true } +chrono = { workspace = true, features = ["std"] } +err-derive = { workspace = true } [dev-dependencies] -arrow_convert_derive = { version = "0.6.0", path = "../arrow_convert_derive" } -criterion = "0.5" -trybuild = "1.0" +arrow_convert_derive = { workspace = true } +criterion = { workspace = true } +trybuild = { workspace = true } [features] default = ["derive"] diff --git a/arrow_convert_derive/Cargo.toml b/arrow_convert_derive/Cargo.toml index d928e58..4adad6e 100644 --- a/arrow_convert_derive/Cargo.toml +++ b/arrow_convert_derive/Cargo.toml @@ -12,7 +12,7 @@ description = "Proc macros for arrow_convert" proc-macro = true [dependencies] -syn = { version = "1", features=["full"] } -quote = "1" -proc-macro2 = "1" -proc-macro-error = { version = "1" } +syn = { workspace = true, features = ["full"] } +quote = { workspace = true } +proc-macro2 = { workspace = true } +proc-macro-error = { workspace = true } diff --git a/examples/simple/Cargo.toml b/examples/simple/Cargo.toml index e745ce3..35d994e 100644 --- a/examples/simple/Cargo.toml +++ b/examples/simple/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -arrow = "51.0" -arrow_convert = { version = "0.6", path = "../../arrow_convert" } +arrow = { workspace = true } +arrow_convert = { workspace = true }