gproxy-file 4.0.2

Optional local filesystem and S3/R2 storage for GPROXY, powered by OpenDAL
Documentation
# 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"
name = "gproxy-file"
version = "4.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optional local filesystem and S3/R2 storage for GPROXY, powered by OpenDAL"
readme = "README.md"
license = "MIT"
repository = "https://github.com/LeenHawk/gproxy"

[features]
default = []
fs = ["dep:opendal-service-fs"]
s3 = [
    "dep:opendal-service-s3",
    "dep:opendal-http-transport-reqwest",
    "dep:wasm-bindgen-futures",
]

[lib]
name = "gproxy_file"
path = "src/lib.rs"

[[test]]
name = "filesystem"
path = "tests/filesystem.rs"

[[test]]
name = "s3"
path = "tests/s3.rs"

[dependencies.opendal-core]
version = "0.59"
default-features = false

[dependencies.opendal-http-transport-reqwest]
version = "0.59"
optional = true
default-features = false

[dependencies.opendal-service-s3]
version = "0.59"
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.opendal-core]
version = "0.59"
features = ["executors-tokio"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.opendal-http-transport-reqwest]
version = "0.59"
features = ["rustls"]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.opendal-service-fs]
version = "0.59"
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.futures-util]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.http]
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
version = "3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true