| 1 |
[package] |
| 2 |
name = "s3-storage" |
| 3 |
version = "0.1.1" |
| 4 |
edition = "2024" |
| 5 |
license = "MIT" |
| 6 |
|
| 7 |
[dependencies] |
| 8 |
# No `default-https-client` on either: in aws-smithy-runtime that feature is a |
| 9 |
# hard alias for `rustls-aws-lc`, so it pins a C crypto backend with no way to |
| 10 |
# ask for another. The HTTP client is built explicitly in `http_client()` below |
| 11 |
# with the ring provider instead. aws-config is here only for `BehaviorVersion`; |
| 12 |
# credentials are always passed in, so its provider-chain defaults are unused. |
| 13 |
aws-sdk-s3 = { version = "1.131", default-features = false, features = ["sigv4a", "http-1x", "rt-tokio"] } |
| 14 |
aws-config = { version = "1.8", default-features = false, features = ["behavior-version-latest"] } |
| 15 |
aws-smithy-http-client = { version = "1.1", features = ["rustls-ring"] } |
| 16 |
bytes = "1" |
| 17 |
tokio = { version = "1", features = ["fs", "io-util"] } |
| 18 |
tracing = "0.1" |
| 19 |
|
| 20 |
[dev-dependencies] |
| 21 |
tokio = { version = "1", features = ["macros", "rt"] } |
| 22 |
|
| 23 |
[lints.rust] |
| 24 |
unused = "warn" |
| 25 |
unreachable_pub = "warn" |
| 26 |
|
| 27 |
[lints.clippy] |
| 28 |
pedantic = { level = "warn", priority = -1 } |
| 29 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 30 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 31 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 32 |
module_name_repetitions = "allow" |
| 33 |
# Doc lints. No docs-completeness push is underway. |
| 34 |
missing_errors_doc = "allow" |
| 35 |
missing_panics_doc = "allow" |
| 36 |
doc_markdown = "allow" |
| 37 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 38 |
cast_possible_truncation = "allow" |
| 39 |
cast_sign_loss = "allow" |
| 40 |
cast_precision_loss = "allow" |
| 41 |
cast_possible_wrap = "allow" |
| 42 |
cast_lossless = "allow" |
| 43 |
# Subjective structure and style nags. High churn, low signal. |
| 44 |
must_use_candidate = "allow" |
| 45 |
too_many_lines = "allow" |
| 46 |
struct_excessive_bools = "allow" |
| 47 |
similar_names = "allow" |
| 48 |
items_after_statements = "allow" |
| 49 |
single_match_else = "allow" |
| 50 |
# Frequent false-positives in TUI and router-heavy code. |
| 51 |
match_same_arms = "allow" |
| 52 |
unnecessary_wraps = "allow" |
| 53 |
type_complexity = "allow" |
| 54 |
|