Skip to content

Commit

Permalink
Make dependency on async-trait optional (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
progval authored Jun 24, 2024
1 parent f93314a commit 03aeef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.70"
[dependencies]
anyhow = { version = "1.0", optional = true }
arrow = { version = "51", features = ["prettyprint", "chrono-tz"] }
async-trait = "0.1.77"
async-trait = { version = "0.1.77", optional = true }
bytes = "1.4"
chrono = { version = "0.4.37", default-features = false, features = ["std"] }
chrono-tz = "0.8.6"
Expand Down Expand Up @@ -52,7 +52,7 @@ serde_json = { version = "1.0", default-features = false, features = ["std"] }
[features]
default = ["datafusion"]

async = ["futures", "futures-util", "tokio"]
async = ["async-trait", "futures", "futures-util", "tokio"]
cli = ["anyhow", "clap"]
datafusion = ["async", "dep:datafusion", "datafusion-expr", "datafusion-physical-expr", "object_store"]

Expand Down

0 comments on commit 03aeef2

Please sign in to comment.