[package]
edition = "2024"
rust-version = "1.91.1"
name = "s7cmd"
version = "1.3.0"
authors = ["nidor1998 <nidor1998@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reliable, flexible, and fast command-line tool for Amazon S3"
homepage = "https://github.com/nidor1998/s7cmd"
readme = "README.md"
keywords = [
"AWS",
"Amazon",
"S3",
"cli",
"sync",
]
categories = [
"command-line-utilities",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/nidor1998/s7cmd"
[features]
default = ["version"]
version = ["dep:shadow-rs"]
[[bin]]
name = "s7cmd"
path = "src/main.rs"
[[test]]
name = "batch_run"
path = "tests/batch_run.rs"
[[test]]
name = "cli_arg_validation"
path = "tests/cli_arg_validation.rs"
[[test]]
name = "cli_config_validation_error"
path = "tests/cli_config_validation_error.rs"
[[test]]
name = "cli_create_bucket"
path = "tests/cli_create_bucket.rs"
[[test]]
name = "cli_delete_bucket"
path = "tests/cli_delete_bucket.rs"
[[test]]
name = "cli_delete_bucket_cors"
path = "tests/cli_delete_bucket_cors.rs"
[[test]]
name = "cli_delete_bucket_encryption"
path = "tests/cli_delete_bucket_encryption.rs"
[[test]]
name = "cli_delete_bucket_lifecycle_configuration"
path = "tests/cli_delete_bucket_lifecycle_configuration.rs"
[[test]]
name = "cli_delete_bucket_policy"
path = "tests/cli_delete_bucket_policy.rs"
[[test]]
name = "cli_delete_bucket_replication"
path = "tests/cli_delete_bucket_replication.rs"
[[test]]
name = "cli_delete_bucket_tagging"
path = "tests/cli_delete_bucket_tagging.rs"
[[test]]
name = "cli_delete_bucket_website"
path = "tests/cli_delete_bucket_website.rs"
[[test]]
name = "cli_delete_object_tagging"
path = "tests/cli_delete_object_tagging.rs"
[[test]]
name = "cli_delete_public_access_block"
path = "tests/cli_delete_public_access_block.rs"
[[test]]
name = "cli_dry_run"
path = "tests/cli_dry_run.rs"
[[test]]
name = "cli_get_bucket_accelerate_configuration"
path = "tests/cli_get_bucket_accelerate_configuration.rs"
[[test]]
name = "cli_get_bucket_cors"
path = "tests/cli_get_bucket_cors.rs"
[[test]]
name = "cli_get_bucket_encryption"
path = "tests/cli_get_bucket_encryption.rs"
[[test]]
name = "cli_get_bucket_lifecycle_configuration"
path = "tests/cli_get_bucket_lifecycle_configuration.rs"
[[test]]
name = "cli_get_bucket_logging"
path = "tests/cli_get_bucket_logging.rs"
[[test]]
name = "cli_get_bucket_notification_configuration"
path = "tests/cli_get_bucket_notification_configuration.rs"
[[test]]
name = "cli_get_bucket_policy"
path = "tests/cli_get_bucket_policy.rs"
[[test]]
name = "cli_get_bucket_policy_status"
path = "tests/cli_get_bucket_policy_status.rs"
[[test]]
name = "cli_get_bucket_replication"
path = "tests/cli_get_bucket_replication.rs"
[[test]]
name = "cli_get_bucket_request_payment"
path = "tests/cli_get_bucket_request_payment.rs"
[[test]]
name = "cli_get_bucket_tagging"
path = "tests/cli_get_bucket_tagging.rs"
[[test]]
name = "cli_get_bucket_versioning"
path = "tests/cli_get_bucket_versioning.rs"
[[test]]
name = "cli_get_bucket_website"
path = "tests/cli_get_bucket_website.rs"
[[test]]
name = "cli_get_object_tagging"
path = "tests/cli_get_object_tagging.rs"
[[test]]
name = "cli_get_public_access_block"
path = "tests/cli_get_public_access_block.rs"
[[test]]
name = "cli_head_bucket"
path = "tests/cli_head_bucket.rs"
[[test]]
name = "cli_head_object"
path = "tests/cli_head_object.rs"
[[test]]
name = "cli_help"
path = "tests/cli_help.rs"
[[test]]
name = "cli_presign"
path = "tests/cli_presign.rs"
[[test]]
name = "cli_put_bucket_accelerate_configuration"
path = "tests/cli_put_bucket_accelerate_configuration.rs"
[[test]]
name = "cli_put_bucket_cors"
path = "tests/cli_put_bucket_cors.rs"
[[test]]
name = "cli_put_bucket_encryption"
path = "tests/cli_put_bucket_encryption.rs"
[[test]]
name = "cli_put_bucket_lifecycle_configuration"
path = "tests/cli_put_bucket_lifecycle_configuration.rs"
[[test]]
name = "cli_put_bucket_logging"
path = "tests/cli_put_bucket_logging.rs"
[[test]]
name = "cli_put_bucket_notification_configuration"
path = "tests/cli_put_bucket_notification_configuration.rs"
[[test]]
name = "cli_put_bucket_policy"
path = "tests/cli_put_bucket_policy.rs"
[[test]]
name = "cli_put_bucket_replication"
path = "tests/cli_put_bucket_replication.rs"
[[test]]
name = "cli_put_bucket_request_payment"
path = "tests/cli_put_bucket_request_payment.rs"
[[test]]
name = "cli_put_bucket_tagging"
path = "tests/cli_put_bucket_tagging.rs"
[[test]]
name = "cli_put_bucket_versioning"
path = "tests/cli_put_bucket_versioning.rs"
[[test]]
name = "cli_put_bucket_website"
path = "tests/cli_put_bucket_website.rs"
[[test]]
name = "cli_put_object_tagging"
path = "tests/cli_put_object_tagging.rs"
[[test]]
name = "cli_put_public_access_block"
path = "tests/cli_put_public_access_block.rs"
[[test]]
name = "cli_rename"
path = "tests/cli_rename.rs"
[[test]]
name = "cli_restore_object"
path = "tests/cli_restore_object.rs"
[[test]]
name = "cli_rm"
path = "tests/cli_rm.rs"
[[test]]
name = "cli_routing"
path = "tests/cli_routing.rs"
[[test]]
name = "cli_tracing_to_stderr"
path = "tests/cli_tracing_to_stderr.rs"
[[test]]
name = "e2e_batch_run"
path = "tests/e2e_batch_run.rs"
[[test]]
name = "e2e_bucket_accelerate_configuration"
path = "tests/e2e_bucket_accelerate_configuration.rs"
[[test]]
name = "e2e_bucket_cors"
path = "tests/e2e_bucket_cors.rs"
[[test]]
name = "e2e_bucket_encryption"
path = "tests/e2e_bucket_encryption.rs"
[[test]]
name = "e2e_bucket_lifecycle"
path = "tests/e2e_bucket_lifecycle.rs"
[[test]]
name = "e2e_bucket_logging"
path = "tests/e2e_bucket_logging.rs"
[[test]]
name = "e2e_bucket_notification"
path = "tests/e2e_bucket_notification.rs"
[[test]]
name = "e2e_bucket_ops"
path = "tests/e2e_bucket_ops.rs"
[[test]]
name = "e2e_bucket_policy"
path = "tests/e2e_bucket_policy.rs"
[[test]]
name = "e2e_bucket_policy_status"
path = "tests/e2e_bucket_policy_status.rs"
[[test]]
name = "e2e_bucket_replication"
path = "tests/e2e_bucket_replication.rs"
[[test]]
name = "e2e_bucket_request_payment"
path = "tests/e2e_bucket_request_payment.rs"
[[test]]
name = "e2e_bucket_tagging"
path = "tests/e2e_bucket_tagging.rs"
[[test]]
name = "e2e_bucket_versioning"
path = "tests/e2e_bucket_versioning.rs"
[[test]]
name = "e2e_bucket_website"
path = "tests/e2e_bucket_website.rs"
[[test]]
name = "e2e_ctrl_c"
path = "tests/e2e_ctrl_c.rs"
[[test]]
name = "e2e_dry_run"
path = "tests/e2e_dry_run.rs"
[[test]]
name = "e2e_exit_codes"
path = "tests/e2e_exit_codes.rs"
[[test]]
name = "e2e_object_metadata"
path = "tests/e2e_object_metadata.rs"
[[test]]
name = "e2e_object_ops"
path = "tests/e2e_object_ops.rs"
[[test]]
name = "e2e_presign"
path = "tests/e2e_presign.rs"
[[test]]
name = "e2e_process_level"
path = "tests/e2e_process_level.rs"
[[test]]
name = "e2e_public_access_block"
path = "tests/e2e_public_access_block.rs"
[[test]]
name = "e2e_rename"
path = "tests/e2e_rename.rs"
[[test]]
name = "e2e_restore_object"
path = "tests/e2e_restore_object.rs"
[[test]]
name = "e2e_stdio"
path = "tests/e2e_stdio.rs"
[[test]]
name = "e2e_tracing"
path = "tests/e2e_tracing.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-channel]
version = "2"
[dependencies.aws-config]
version = "1.8"
features = [
"behavior-version-latest",
"default-https-client",
"rt-tokio",
"credentials-process",
"sso",
]
default-features = false
[dependencies.aws-sdk-s3]
version = "1.133"
features = [
"sigv4a",
"http-1x",
"default-https-client",
"rt-tokio",
]
default-features = false
[dependencies.aws-smithy-runtime-api]
version = "1.12"
[dependencies.aws-smithy-types]
version = "1.4"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.6"
features = [
"derive",
"env",
"cargo",
"string",
"wrap_help",
]
[dependencies.clap-verbosity-flag]
version = "3"
[dependencies.clap_complete]
version = "4.6"
[dependencies.dyn-clone]
version = "1.0"
[dependencies.futures]
version = "0.3"
[dependencies.indicatif]
version = "0.18"
[dependencies.leaky-bucket]
version = "1.1"
[dependencies.log]
version = "0.4"
[dependencies.s3ls-rs]
version = "=1.0.2"
[dependencies.s3rm-rs]
version = "=1.3.7"
[dependencies.s3sync]
version = "=1.58.8"
[dependencies.s3util-rs]
version = "=1.5.2"
[dependencies.serde_json]
version = "1"
[dependencies.shadow-rs]
version = "2"
optional = true
default-features = false
[dependencies.shlex]
version = "2"
[dependencies.simple_moving_average]
version = "1"
[dependencies.tokio]
version = "1.52"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"local-time",
]
[dependencies.urlencoding]
version = "2.1"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.nix]
version = "0.31"
features = ["signal"]
default-features = false
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.ureq]
version = "3"
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[build-dependencies.shadow-rs]
version = "2"
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["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
inherits = "release"