-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
119 lines (105 loc) · 1.87 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[package]
name = "s3du"
description = "Command line utility for showing space used in AWS S3 buckets"
version = "1.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/phyber/s3du"
repository = "https://github.com/phyber/s3du"
rust-version = "1.78.0"
resolver = "2"
authors = [
"David O'Rourke <[email protected]>",
]
categories = [
"command-line-utilities",
"filesystem",
]
keywords = [
"aws",
"cli",
"s3",
]
exclude = [
".gitignore",
".github",
]
[profile.release]
codegen-units = 1
lto = true
[features]
# Build with both CloudWatch and S3 support by default
default = [
"cloudwatch",
"s3",
]
# Only CloudWatch support
cloudwatch = [
"aws-sdk-cloudwatch",
]
# Only S3 support
s3 = [
"aws-sdk-s3",
"http",
]
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
aws-types = "1.0.3"
humansize = "2.1.3"
once_cell = "1.19.0"
rayon = "1.8"
tracing = "0.1"
tracing-subscriber = "0.3"
[dependencies.aws-config]
version = "1.0.3"
features = [
"behavior-version-latest",
]
[dependencies.aws-sdk-cloudwatch]
version = "1.5.0"
optional = true
[dependencies.aws-sdk-s3]
version = "1.5.0"
optional = true
[dependencies.clap]
version = "4.4.11"
default-features = false
features = [
"cargo",
"color",
"deprecated",
"env",
"error-context",
"help",
"std",
"suggestions",
"usage",
"wrap_help",
]
[dependencies.http]
version = "1.0"
optional = true
[dependencies.tokio]
version = "1.35"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies]
aws-smithy-types = "1.1.0"
http = "1.0"
pretty_assertions = "1.4"
[dev-dependencies.aws-smithy-runtime]
version = "1.1.0"
features = [
"client",
"test-util",
]
# Hardcoded credentials are only used in tests.
[dev-dependencies.aws-credential-types]
version = "1.0.3"
features = [
"test-util",
]