Skip to content
Permalink
Browse files
AVRO-3517: Do not use the default features of the dependencies (#1684)
Explicitly list the features used/needed by Avro

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed May 12, 2022
1 parent 3fafde2 commit f56051539d9330722c36888b730aee5b559e01ec
Showing 2 changed files with 27 additions and 27 deletions.
@@ -53,28 +53,28 @@ name = "single"
harness = false

[dependencies]
byteorder = "1.4.3"
bzip2 = { version = "0.4.3", optional = true }
crc32fast = { version = "1.3.2", optional = true }
digest = "0.10.3"
libflate = "1.2.0"
xz2 = { version = "0.1.6", optional = true }
num-bigint = "0.4.3"
rand = "0.8.5"
regex = "1.5.5"
serde_json = "1.0.79"
serde = { version = "1.0.136", features = ["derive"] }
snap = { version = "1.0.5", optional = true }
strum = "0.24.0"
strum_macros = "0.24.0"
thiserror = "1.0.30"
typed-builder = "0.10.0"
uuid = { version = "1.0.0", features = ["serde", "v4"] }
zerocopy = "0.6.1"
lazy_static = "1.4.0"
log = "0.4.16"
zstd = { version = "0.11.1+zstd.1.5.2", optional = true }
apache-avro-derive = { 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"] }
libflate = { default-features = false, version="1.2.0" }
xz2 = { default-features = false, version = "0.1.6", optional = true }
num-bigint = { default-features = false, version="0.4.3" }
rand = { default-features = false, version="0.8.5", features = ["default"] }
regex = { default-features = false, version="1.5.5", features = ["std"] }
serde_json = { default-features = false, version="1.0.79", features = ["std"] }
serde = { default-features = false, version = "1.0.136", features = ["derive"] }
snap = { default-features = false, version = "1.0.5", optional = true }
strum = { default-features = false, version="0.24.0" }
strum_macros = { default-features = false, version="0.24.0" }
thiserror = { default-features = false, version="1.0.30" }
typed-builder = { default-features = false, version="0.10.0" }
uuid = { default-features = false, version = "1.0.0", features = ["serde", "std", "v4"] }
zerocopy = { default-features = false, version="0.6.1" }
lazy_static = { default-features = false, version="1.4.0" }
log = { default-features = false, version="0.4.16" }
zstd = { default-features = false, version = "0.11.1+zstd.1.5.2", optional = true }
apache-avro-derive = { default-features = false, version= "0.14.0", path = "../avro_derive", optional = true }

[dev-dependencies]
md-5 = "0.10.1"
@@ -32,11 +32,11 @@ documentation = "https://docs.rs/apache-avro-derive"
proc-macro = true

[dependencies]
darling = "0.14.0"
quote = "1.0.18"
syn = {version= "1.0.91", features=["full", "fold"]}
proc-macro2 = "1.0.37"
serde_json = "1.0.79"
darling = { default-features = false, version="0.14.0" }
quote = { default-features = false, version="1.0.18" }
syn = { default-features = false, version="1.0.91", features=["full", "fold"]}
proc-macro2 = { default-features = false, version="1.0.37" }
serde_json = { default-features = false, version="1.0.79", features=["std"]}

[dev-dependencies]
apache-avro = { path = "../avro", features = ["derive"] }

0 comments on commit f560515

Please sign in to comment.