Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (46 loc) · 1.49 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (46 loc) · 1.49 KB
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
[package]
name = "source-coop-cli"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
description = "CLI for Source Cooperative — OIDC login and STS credential exchange"
repository = "https://github.com/source-cooperative/source-coop-cli"
homepage = "https://source.coop"
[[bin]]
name = "source-coop"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
open = "5"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
url = "2"
sha2 = { version = "0.10", features = ["oid"] }
base64 = "0.22"
rand = "0.8"
quick-xml = { version = "0.37", features = ["serialize"] }
chrono = { version = "0.4", features = ["serde"] }
dirs = "6"
keyring = "3"
dialoguer = { version = "0.11", default-features = false, features = ["editor"] }
console = "0.15"
clap_complete = { version = "4", features = ["unstable-dynamic"] }
[target.'cfg(target_os = "macos")'.dependencies]
keyring = { version = "3", features = ["apple-native"] }
[target.'cfg(target_os = "windows")'.dependencies]
keyring = { version = "3", features = ["windows-native"] }
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "3", features = ["sync-secret-service"] }
[features]
default = ["production"]
production = []
staging = []
# cargo-dist config
[profile.dist]
inherits = "release"
lto = "thin"
[dev-dependencies]
shlex = "1.3.0"
wiremock = "0.6.5"