Files
2026-08-01 16:11:49 +03:00

198 lines
3.6 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2024"
rust-version = "1.85"
name = "opendal-core"
version = "0.57.0"
authors = ["Apache OpenDAL <dev@opendal.apache.org>"]
build = false
exclude = ["/tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apache OpenDAL™: One Layer, All Storage."
homepage = "https://opendal.apache.org/"
readme = false
keywords = [
"storage",
"fs",
"s3",
"azblob",
"gcs",
]
categories = ["filesystem"]
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
[package.metadata.docs.rs]
all-features = true
[features]
blocking = ["internal-tokio-rt"]
default = [
"reqwest-rustls-tls",
"executors-tokio",
]
executors-tokio = ["tokio/rt"]
internal-path-cache = ["dep:moka"]
internal-tokio-rt = ["tokio/rt-multi-thread"]
reqwest-rustls-no-provider-tls = ["reqwest/rustls-no-provider"]
reqwest-rustls-tls = ["reqwest/rustls"]
services-memory = []
[lib]
name = "opendal_core"
path = "src/lib.rs"
doctest = false
bench = false
[dependencies.anyhow]
version = "1.0.100"
features = ["std"]
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.10"
[dependencies.futures]
version = "0.3"
features = [
"std",
"async-await",
]
default-features = false
[dependencies.http]
version = "1.1"
[dependencies.http-body]
version = "1"
[dependencies.jiff]
version = "0.2.17"
features = ["serde"]
[dependencies.log]
version = "0.4.29"
[dependencies.md-5]
version = "0.11.0"
[dependencies.mea]
version = "0.6"
[dependencies.moka]
version = "0.12"
features = ["sync"]
optional = true
[dependencies.percent-encoding]
version = "2"
[dependencies.quick-xml]
version = "0.39.3"
features = [
"serialize",
"overlapped-lists",
]
default-features = false
[dependencies.reqsign-core]
version = "3.0.0"
default-features = false
[dependencies.reqwest]
version = "0.13.2"
features = ["stream"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1.48"
features = [
"macros",
"io-util",
]
default-features = false
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
default-features = false
[dev-dependencies.logforth]
version = "0.29.1"
features = ["starter-log"]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.rand]
version = "0.10.1"
[dev-dependencies.sha2]
version = "0.11.0"
[dev-dependencies.tokio]
version = "1.48"
features = [
"fs",
"macros",
"rt-multi-thread",
]
default-features = false
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.web-time]
version = "1.1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.jiff]
version = "0.2.15"
features = [
"serde",
"js",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.48"
features = ["time"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
"js",
]
default-features = false
[lints.clippy]
unused_async = "warn"