[package]
edition = "2024"
rust-version = "1.91.1"
name = "s3rm-rs"
version = "1.2.2"
authors = ["nidor1998 <nidor1998@gmail.com>"]
build = "build.rs"
include = [
"src/**/*",
"tests/**/*",
"examples/**/*",
"test_data/**/*",
"proptest-regressions/**/*",
"build.rs",
"LICENSE",
"README.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Amazon S3 object deletion tool."
homepage = "https://github.com/nidor1998/s3rm-rs"
documentation = "https://docs.rs/s3rm-rs"
readme = "README.md"
keywords = [
"AWS",
"Amazon",
"S3",
"delete",
]
categories = [
"command-line-utilities",
"asynchronous",
"concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/nidor1998/s3rm-rs"
[features]
default = [
"version",
"lua_support",
]
lua_support = ["dep:mlua"]
version = ["dep:shadow-rs"]
[lib]
name = "s3rm_rs"
path = "src/lib.rs"
[[bin]]
name = "s3rm"
path = "src/bin/s3rm/main.rs"
[[example]]
name = "library_usage"
path = "examples/library_usage.rs"
[[test]]
name = "e2e_aws_config"
path = "tests/e2e_aws_config.rs"
[[test]]
name = "e2e_callback"
path = "tests/e2e_callback.rs"
[[test]]
name = "e2e_combined"
path = "tests/e2e_combined.rs"
[[test]]
name = "e2e_deletion"
path = "tests/e2e_deletion.rs"
[[test]]
name = "e2e_error"
path = "tests/e2e_error.rs"
[[test]]
name = "e2e_express_one_zone"
path = "tests/e2e_express_one_zone.rs"
[[test]]
name = "e2e_filter"
path = "tests/e2e_filter.rs"
[[test]]
name = "e2e_keep_latest_only"
path = "tests/e2e_keep_latest_only.rs"
[[test]]
name = "e2e_listing"
path = "tests/e2e_listing.rs"
[[test]]
name = "e2e_optimistic"
path = "tests/e2e_optimistic.rs"
[[test]]
name = "e2e_performance"
path = "tests/e2e_performance.rs"
[[test]]
name = "e2e_retry"
path = "tests/e2e_retry.rs"
[[test]]
name = "e2e_safety"
path = "tests/e2e_safety.rs"
[[test]]
name = "e2e_stats"
path = "tests/e2e_stats.rs"
[[test]]
name = "e2e_stress"
path = "tests/e2e_stress.rs"
[[test]]
name = "e2e_tracing"
path = "tests/e2e_tracing.rs"
[[test]]
name = "e2e_versioning"
path = "tests/e2e_versioning.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.async-channel]
version = "2.5.0"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.aws-config]
version = "1.8.15"
features = ["behavior-version-latest"]
[dependencies.aws-runtime]
version = "1.7.2"
[dependencies.aws-sdk-s3]
version = "1.127.0"
[dependencies.aws-smithy-runtime-api]
version = "1.11.6"
[dependencies.aws-smithy-types]
version = "1.4.7"
[dependencies.aws-smithy-types-convert]
version = "0.60.14"
features = ["convert-chrono"]
[dependencies.aws-types]
version = "1.3.14"
[dependencies.bitflags]
version = "2.11.0"
[dependencies.byte-unit]
version = "5.2.0"
[dependencies.cfg-if]
version = "1.0.4"
[dependencies.chrono]
version = "0.4.44"
[dependencies.clap]
version = "4.6.0"
features = [
"derive",
"env",
"cargo",
"string",
]
[dependencies.clap-verbosity-flag]
version = "3.0.4"
[dependencies.clap_complete]
version = "4.6.0"
[dependencies.dyn-clone]
version = "1.0.20"
[dependencies.fancy-regex]
version = "0.17.0"
[dependencies.indicatif]
version = "0.18.4"
[dependencies.leaky-bucket]
version = "1.1.2"
[dependencies.log]
version = "0.4.29"
[dependencies.mlua]
version = "0.11.6"
features = [
"lua54",
"async",
"send",
"vendored",
]
optional = true
[dependencies.shadow-rs]
version = "1.7.1"
optional = true
[dependencies.simple_moving_average]
version = "1.0.2"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.50.0"
features = ["full"]
[dependencies.tokio-util]
version = "0.7.18"
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
"env-filter",
"json",
"local-time",
]
[dependencies.url]
version = "2.5.8"
[dependencies.urlencoding]
version = "2.1.3"
[dependencies.zeroize]
version = "1.8.2"
[dependencies.zeroize_derive]
version = "1.4.3"
[dev-dependencies.nix]
version = "0.31.2"
features = [
"process",
"signal",
]
[dev-dependencies.once_cell]
version = "1.21.4"
[dev-dependencies.proptest]
version = "1.10"
[dev-dependencies.rusty-fork]
version = "0.3.1"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.uuid]
version = "1.22.0"
features = ["v4"]
[build-dependencies.shadow-rs]
version = "1.7.1"
optional = true
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage_nightly)",
"cfg(e2e_test)",
]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 1
panic = "unwind"
strip = "symbols"
[profile.release-min-size]
opt-level = "z"
debug = 0
panic = "abort"
inherits = "release"