Skip to content

Commit

Permalink
Issue #1876: Explicitly declare the used features for each dependency…
Browse files Browse the repository at this point in the history
… in arrow-flight (#1880)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Jun 16, 2022
1 parent ada7fb6 commit dddedad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions arrow-flight/Cargo.toml
Expand Up @@ -27,14 +27,14 @@ repository = "https://github.com/apache/arrow-rs"
license = "Apache-2.0"

[dependencies]
arrow = { path = "../arrow", version = "16.0.0" }
base64 = "0.13"
tonic = "0.7"
bytes = "1"
prost = "0.10"
prost-types = { version = "0.10.0", optional = true }
prost-derive = "0.10"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread"] }
arrow = { path = "../arrow", version = "16.0.0", default-features = false, features = ["ipc"] }
base64 = { version = "0.13", default-features = false }
tonic = { version = "0.7", default-features = false, features = ["transport", "codegen", "prost"] }
bytes = { version = "1", default-features = false }
prost = { version = "0.10", default-features = false }
prost-types = { version = "0.10.0", default-features = false, optional = true }
prost-derive = { version = "0.10", default-features = false }
tokio = { version = "1.0", default-features = false, features = ["macros", "rt", "rt-multi-thread"] }
futures = { version = "0.3", default-features = false, features = ["alloc"]}

[features]
Expand All @@ -44,10 +44,10 @@ flight-sql-experimental = ["prost-types"]
[dev-dependencies]

[build-dependencies]
tonic-build = "0.7"
tonic-build = { version = "0.7", default-features = false, features = ["transport", "prost"] }
# Pin specific version of the tonic-build dependencies to avoid auto-generated
# (and checked in) arrow.flight.protocol.rs from changing
proc-macro2 = ">1.0.30"
proc-macro2 = { version = ">1.0.30", default-features = false }

[[example]]
name = "flight_sql_server"
Expand Down

0 comments on commit dddedad

Please sign in to comment.