-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
72 lines (65 loc) · 1.83 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
[package]
name = "dkregistry"
rust-version = "1.70.0"
version = "0.5.1-alpha.0"
authors = ["Luca Bruno <[email protected]>", "Stefan Junker <[email protected]>"]
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/dkregistry"
repository = "https://github.com/camallo/dkregistry-rs"
description = "A pure-Rust asynchronous library for Docker Registry API"
keywords = ["docker", "registry", "async"]
exclude = [
".gitignore",
".travis.yml",
]
edition = "2018"
[package.metadata.release]
disable-publish = true
disable-push = true
post-release-commit-message = "cargo: development version bump"
pre-release-commit-message = "cargo: dkregistry release {{version}}"
sign-commit = true
sign-tag = true
tag-message = "dkregistry v{{version}}"
[dependencies]
base64 = "0.13"
futures = "0.3"
# Pin libflate <1.3.0
# https://github.com/sile/libflate/commit/aba829043f8a2d527b6c4984034fbe5e7adb0da6
# derives default on enum, which was not stabilized until 1.62
# (https://github.com/rust-lang/rust/pull/94457)
# This can be relaxed when MSRV is at least 1.62
libflate = "<1.3.0"
log = "0.4"
mime = "0.3"
regex = "^1.1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_ignored = "0.1"
strum = "0.23"
strum_macros = "0.23"
tar = "0.4"
tokio = "1.0"
reqwest = { version = "0.11", default-features = false, features = ["json", "stream"] }
sha2 = "^0.10.0"
bytes = "1.1"
pin-project = "1.0"
async-stream = "0.3"
thiserror = "1.0.19"
url = "2.1.1"
[dev-dependencies]
dirs = "4.0"
env_logger = "0.8"
hyper = "0.14.28"
mockito = "0.30"
native-tls = "0.2"
spectral = "0.6"
test-case = "1.0.0"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
[features]
default = ["reqwest-default-tls"]
reqwest-default-tls = ["reqwest/default-tls"]
reqwest-rustls = ["reqwest/rustls-tls"]
test-net = []
test-net-private = []
test-mock = []