You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/06/28 07:56:32 UTC
[avro] 01/01: AVRO-3552: Rust: sort the contents in Cargo.toml files with cargo-tomlfmt
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch avro-3552-sort-Cargo.toml-files
in repository https://gitbox.apache.org/repos/asf/avro.git
commit f325f1c8abebfe2c633b1470668ebba9cb455c1f
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Jun 28 10:55:42 2022 +0300
AVRO-3552: Rust: sort the contents in Cargo.toml files with cargo-tomlfmt
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
lang/rust/avro/Cargo.toml | 24 ++++++++++++------------
lang/rust/avro_derive/Cargo.toml | 6 +++---
lang/rust/avro_test_helper/Cargo.toml | 2 +-
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/lang/rust/avro/Cargo.toml b/lang/rust/avro/Cargo.toml
index 6d2d5e990..64aac5db6 100644
--- a/lang/rust/avro/Cargo.toml
+++ b/lang/rust/avro/Cargo.toml
@@ -29,51 +29,51 @@ categories = ["encoding"]
documentation = "https://docs.rs/apache-avro"
[features]
-snappy = ["crc32fast", "snap"]
-zstandard = ["zstd"]
bzip = ["bzip2"]
+derive = ["apache-avro-derive"]
+snappy = ["crc32fast", "snap"]
xz = ["xz2"]
-derive = ["apache-avro-derive" ]
+zstandard = ["zstd"]
[lib]
-path = "src/lib.rs"
# disable benchmarks to allow passing criterion arguments to `cargo bench`
bench = false
+path = "src/lib.rs"
[[bench]]
-name = "serde"
harness = false
+name = "serde"
[[bench]]
-name = "serde_json"
harness = false
+name = "serde_json"
[[bench]]
-name = "single"
harness = false
+name = "single"
[dependencies]
+apache-avro-derive = { default-features = false, version = "0.14.0", path = "../avro_derive", optional = true }
byteorder = { default-features = false, version = "1.4.3" }
bzip2 = { default-features = false, version = "0.4.3", optional = true }
crc32fast = { default-features = false, version = "1.3.2", optional = true }
digest = { default-features = false, version = "0.10.3", features = ["core-api"] }
+lazy_static = { default-features = false, version = "1.4.0" }
libflate = { default-features = false, version = "1.2.0" }
-xz2 = { default-features = false, version = "0.1.7", optional = true }
+log = { default-features = false, version = "0.4.17" }
num-bigint = { default-features = false, version = "0.4.3" }
regex = { default-features = false, version = "1.5.6", features = ["std"] }
-serde_json = { default-features = false, version = "1.0.81", features = ["std"] }
serde = { default-features = false, version = "1.0.137", features = ["derive"] }
+serde_json = { default-features = false, version = "1.0.81", features = ["std"] }
snap = { default-features = false, version = "1.0.5", optional = true }
strum = { default-features = false, version = "0.24.1" }
strum_macros = { default-features = false, version = "0.24.0" }
thiserror = { default-features = false, version = "1.0.31" }
typed-builder = { default-features = false, version = "0.10.0" }
uuid = { default-features = false, version = "1.1.2", features = ["serde", "std"] }
+xz2 = { default-features = false, version = "0.1.7", optional = true }
zerocopy = { default-features = false, version = "0.6.1" }
-lazy_static = { default-features = false, version = "1.4.0" }
-log = { default-features = false, version = "0.4.17" }
zstd = { default-features = false, version = "0.11.2+zstd.1.5.2", optional = true }
-apache-avro-derive = { default-features = false, version= "0.14.0", path = "../avro_derive", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
quad-rand = { default-features = false, version = "0.2.1" }
diff --git a/lang/rust/avro_derive/Cargo.toml b/lang/rust/avro_derive/Cargo.toml
index 5e55da100..b41893552 100644
--- a/lang/rust/avro_derive/Cargo.toml
+++ b/lang/rust/avro_derive/Cargo.toml
@@ -33,10 +33,10 @@ proc-macro = true
[dependencies]
darling = { default-features = false, version = "0.14.1" }
-quote = { default-features = false, version = "1.0.18" }
-syn = { default-features = false, version = "1.0.96", features=["full", "fold"]}
proc-macro2 = { default-features = false, version = "1.0.39" }
-serde_json = { default-features = false, version = "1.0.81", features=["std"]}
+quote = { default-features = false, version = "1.0.18" }
+serde_json = { default-features = false, version = "1.0.81", features = ["std"] }
+syn = { default-features = false, version = "1.0.96", features = ["full", "fold"] }
[dev-dependencies]
apache-avro = { default-features = false, path = "../avro", features = ["derive"] }
diff --git a/lang/rust/avro_test_helper/Cargo.toml b/lang/rust/avro_test_helper/Cargo.toml
index 93b3d6e3d..221f3cdde 100644
--- a/lang/rust/avro_test_helper/Cargo.toml
+++ b/lang/rust/avro_test_helper/Cargo.toml
@@ -22,8 +22,8 @@ edition = "2018"
description = "Avro test helper. This crate is not supposed to be published!"
[dependencies]
-ctor = { default-features = false, version = "0.1.22" }
color-backtrace = { default-features = false, version = "0.5.1" }
+ctor = { default-features = false, version = "0.1.22" }
env_logger = { default-features = false, version = "0.9.0" }
lazy_static = { default-features = false, version = "1.4.0" }
log = { default-features = false, version = "0.4.17" }