-
Notifications
You must be signed in to change notification settings - Fork 54
/
Cargo.toml
75 lines (71 loc) · 2.32 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
[package]
authors = [
"Matt Butcher <[email protected]>",
"Matthew Fisher <[email protected]>",
"Radu Matei <[email protected]>",
"Taylor Thomas <[email protected]>",
"Brian Ketelsen <[email protected]>",
"Brian Hardock <[email protected]>",
"Ryan Levick <[email protected]>",
"Kevin Flansburg <[email protected]>",
"Flavio Castelli <[email protected]>",
]
description = "An OCI implementation in Rust"
documentation = "https://docs.rs/oci-client"
edition = "2021"
homepage = "https://github.com/oras-project/rust-oci-client"
keywords = ["oci", "containers"]
license = "Apache-2.0"
name = "oci-client"
readme = "README.md"
repository = "https://github.com/oras-project/rust-oci-client"
version = "0.14.0"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["native-tls", "test-registry"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]
trust-dns = ["reqwest/trust-dns"]
# This features is used by tests that use docker to create a registry
test-registry = []
[dependencies]
bytes = "1"
chrono = { version = "0.4.23", features = ["serde"] }
futures-util = "0.3"
http = "1.1"
http-auth = { version = "0.1", default-features = false }
jwt = "0.16"
lazy_static = "1.4"
oci-spec = "0.7.0"
olpc-cjson = "0.1"
regex = "1.6"
reqwest = { version = "0.12.4", default-features = false, features = [
"json",
"stream",
] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
thiserror = "2"
tokio = { version = "1.21", features = ["macros", "io-util"] }
tracing = { version = "0.1", features = ['log'] }
unicase = "2.6"
[dev-dependencies]
assert-json-diff = "2.0.2"
async-std = "1.12"
anyhow = "1.0"
axum = "0.7"
clap = { version = "4.0", features = ["derive"] }
rstest = "0.23.0"
docker_credential = "1.0"
hmac = "0.12"
itertools = "0.13.0"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tempfile = "3.3"
# This should stay pinned here until testcontainers makes sure all of its deps using rustls are
# using the ring feature. Otherwise this fails to compile on Windows
testcontainers = "0.23"
tokio = { version = "1.21", features = ["macros", "fs", "rt-multi-thread"] }
tokio-util = { version = "0.7.4", features = ["compat"] }