minio-rs/Cargo.toml
Henk-Jan Lebbink 2daacc0fcf
Fix incorrect part size in multipart copy; added missing response properties (#196)
The bug was using size (remaining bytes) instead of length (actual part size) when constructing PartInfo in the
  multipart copy loop. This would record wrong sizes for each part - especially problematic for the last part.
2025-12-01 10:11:38 +01:00

104 lines
2.5 KiB
TOML

[package]
name = "minio"
version = "0.3.0"
edition = "2024"
authors = ["MinIO Dev Team <dev@min.io>"]
description = "MinIO SDK for Amazon S3 compatible object storage access"
license = "Apache-2.0"
repository = "https://github.com/minio/minio-rs"
readme = "README.md"
keywords = ["object-storage", "minio", "s3"]
categories = ["api-bindings", "web-programming::http-client"]
[features]
default = ["default-tls", "default-crypto"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
default-crypto = ["dep:sha2", "dep:hmac"]
ring = ["dep:ring"]
localhost = []
[workspace.dependencies]
uuid = "1.18"
futures-util = "0.3"
futures-io = "0.3"
reqwest = { version = "0.12", default-features = false }
bytes = "1.11"
async-std = "1.13"
tokio = "1.48"
rand = "0.9"
log = "0.4"
chrono = "0.4"
http = "1.4"
[dependencies]
uuid = { workspace = true, features = ["v4"] }
futures-util = { workspace = true }
bytes = { workspace = true }
async-std = { workspace = true, features = ["attributes"] }
reqwest = { workspace = true, features = ["stream"] }
async-recursion = "1.1"
async-stream = "0.3"
async-trait = "0.1"
base64 = "0.22"
chrono = { workspace = true, features = ["serde"] }
crc = "3.4"
dashmap = "6.1.0"
env_logger = "0.11"
hmac = { version = "0.12", optional = true }
hyper = { version = "1.8", features = ["full"] }
lazy_static = "1.5"
log = { workspace = true }
md5 = "0.8"
multimap = "0.10"
percent-encoding = "2.3"
url = "2.5"
regex = "1.12"
ring = { version = "0.17", optional = true, default-features = false, features = ["alloc"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
sha2 = { version = "0.10", optional = true }
urlencoding = "2.1"
xmltree = "0.12"
http = { workspace = true }
thiserror = "2.0"
typed-builder = "0.23"
[dev-dependencies]
minio-common = { path = "./common" }
minio-macros = { path = "./macros" }
tokio = { workspace = true, features = ["full"] }
async-std = { workspace = true, features = ["attributes", "tokio1"] }
clap = { version = "4.5", features = ["derive"] }
rand = { workspace = true, features = ["small_rng"] }
quickcheck = "1.0"
criterion = "0.8"
[lib]
name = "minio"
path = "src/lib.rs"
[[example]]
name = "file_uploader"
[[example]]
name = "file_downloader"
[[example]]
name = "object_prompt"
[[example]]
name = "append_object"
[[example]]
name = "load_balancing_with_hooks"
[[bench]]
name = "s3-api"
path = "benches/s3/api_benchmarks.rs"
harness = false