Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Lower the requirement of deps #495

Merged
merged 3 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 50 additions & 42 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ all-features = true

[features]
default = ["hyper-tls"]

# Enable compress support so that users can decompress while reading.
compress = ["async-compression"]
# Enable retry layer support.
retry = ["backon"]
# Enable rustls support.
rustls = ["hyper-rustls"]
# Enable serde support.
serde = ["time/serde"]
# Enable services hdfs support
services-hdfs = ["hdrs"]
# Enable services http support
services-http = ["radix_trie"]
rustls = ["hyper-rustls"]

[lib]
bench = false
Expand All @@ -39,64 +46,65 @@ name = "hdfs"
required-features = ["services-hdfs"]

[dependencies]
anyhow = "1.0.56"
anyhow = "1.0"
# Temp workaround, should come back to tagged version after https://github.com/Nemo157/async-compression/issues/150 resolved.
async-compression = { package = "async-compression-issue-150-workaround", version = "0.3.15-issue-150", features = [
"futures-io",
"all-algorithms",
], optional = true }
async-trait = "0.1.53"
async-trait = "0.1"
backon = { version = "0.0.2", optional = true }
base64 = "0.13.0"
bytes = "1.1.0"
dotenv = { version = "0.15.0", optional = true }
flagset = "0.4.3"
futures = { version = "0.3.21", features = ["alloc"] }
hdrs = { version = "0.1.4", optional = true, features = ["futures-io"] }
http = "0.2.6"
hyper = { version = "0.14.20", features = [
base64 = "0.13"
bytes = "1.1"
dotenv = { version = "0.15", optional = true }
flagset = "0.4"
futures = { version = "0.3", features = ["alloc"] }
hdrs = { version = "0.1", optional = true, features = ["futures-io"] }
http = "0.2"
hyper = { version = "0.14", features = [
"http1",
"http2",
"client",
"runtime",
"stream",
] }
hyper-rustls = { version = "0.23", optional = true, features = [
"rustls-native-certs",
] }
hyper-tls = { version = "0.5", optional = true }
hyper-rustls = { version = "0.23", optional = true, features = ["rustls-native-certs"] }
log = "0.4.16"
md5 = "0.7.0"
metrics = "0.20.0"
minitrace = "0.4.0"
nuclei = "0.2.1"
once_cell = "1.10.0"
parking_lot = "0.12.0"
percent-encoding = "2.1.0"
pin-project = "1.0.10"
quick-xml = { version = "0.23.0", features = ["serialize"] }
radix_trie = { version = "0.2.1", optional = true }
reqsign = "0.3.0"
serde = { version = "1.0.136", features = ["derive"] }
thiserror = "1.0.30"
time = "0.3.9"
log = "0.4"
md5 = "0.7"
metrics = "0.20"
minitrace = "0.4"
nuclei = "0.2"
once_cell = "1.10"
parking_lot = "0.12"
percent-encoding = "2.1"
pin-project = "1.0"
quick-xml = { version = "0.23", features = ["serialize"] }
radix_trie = { version = "0.2", optional = true }
reqsign = "0.3"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
time = "0.3"

[dev-dependencies]
anyhow = "1.0.56"
cfg-if = "1.0.0"
criterion = { version = "0.3.5", features = [
cfg-if = "1.0"
criterion = { version = "0.3", features = [
"async",
"async_tokio",
"html_reports",
] }
dotenv = "0.15.0"
env_logger = "0.9.0"
itertools = "0.10.3"
num-traits = "0.2.14"
paste = "1.0.7"
rand = "0.8.5"
serde_json = "1.0.79"
sha2 = "0.10.2"
size = "0.4.0"
tokio = { version = "1.20.1", features = ["fs", "macros", "rt-multi-thread"] }
uuid = { version = "1.0.0", features = ["serde", "v4"] }
wiremock = "0.5.13"
dotenv = "0.15"
env_logger = "0.9"
hyper-tls = "0.5"
itertools = "0.10"
num-traits = "0.2"
paste = "1.0"
rand = "0.8"
serde_json = "1.0"
sha2 = "0.10"
size = "0.4"
tokio = { version = "1.20", features = ["fs", "macros", "rt-multi-thread"] }
uuid = { version = "1.0", features = ["serde", "v4"] }
wiremock = "0.5"
16 changes: 8 additions & 8 deletions oay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ repository = "https://github.com/datafuselabs/opendal"
version = "0.11.3"

[dependencies]
actix-web = "4.1.0"
anyhow = "1.0.58"
clap = { version = "3.2.16", features = ["cargo"] }
env_logger = "0.9.0"
futures = "0.3.21"
log = "0.4.17"
opendal = "0.11.3"
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
actix-web = "4.1"
anyhow = "1.0"
clap = { version = "3.2", features = ["cargo"] }
env_logger = "0.9"
futures = "0.3"
log = "0.4"
opendal = "0.11"
tokio = { version = "1.20", features = ["rt-multi-thread", "macros"] }

# Please comment the following patch while releasing.
[patch.crates-io]
Expand Down
8 changes: 4 additions & 4 deletions oli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ repository = "https://github.com/datafuselabs/opendal"
version = "0.11.3"

[dependencies]
anyhow = "1.0.58"
clap = { version = "3.2.16", features = ["cargo"] }
env_logger = "0.9.0"
log = "0.4.17"
anyhow = "1.0"
clap = { version = "3.2", features = ["cargo"] }
env_logger = "0.9"
log = "0.4"
opendal = "0.11.3"

# Please comment the following patch while releasing.
Expand Down