forked from NLnetLabs/kmip-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (62 loc) · 2.48 KB
/
Cargo.toml
File metadata and controls
69 lines (62 loc) · 2.48 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "kmip-protocol"
version = "0.4.4-dev"
authors = ["NLnet Labs <rpki-team@nlnetlabs.nl>"]
edition = "2018"
description = "KMIP protocol object (de)serialization"
repository = "https://github.com/NLnetLabs/kmip/"
documentation = "https://docs.rs/kmip-protocol/"
license = "BSD-3-Clause"
keywords = ["KMIP", "TTLV", "serde", "serialization"]
categories = ["cryptography", "data-structures", "encoding", "parser-implementations"]
exclude = ["/.github"]
readme = "README.md"
build = "build.rs"
rust-version = "1.88"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
async-std = { version = "1.10.0", features = ["attributes"], optional = true }
async-tls = { version = "0.11.0", default-features = false, features = ["client"], optional = true }
cfg-if = "1.0.0"
enum-display-derive = "0.1.1"
enum-flags = "0.1.6"
kmip-ttlv = { version = "0.3.4", default-features = false }
log = "0.4.14"
maybe-async = "0.2.6"
openssl = { version = "0.10.35", optional = true }
rustls = { version = "0.19.1", features = ["dangerous_configuration"], optional = true }
rustls-pemfile = {version = "0.2.1", optional = true }
serde = "1.0.126"
serde_derive = "1.0.126"
serde_bytes = "0.11.5"
tokio = { version = "1.13.1", features = ["full"], optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
tokio-rustls = { version = "0.22.0", features = ["dangerous_configuration"], optional = true }
trait-set = "0.2.0"
webpki = {version = "0.21.4", optional = true }
[features]
default = ["sync"]
sync = ["kmip-ttlv/high-level", "maybe-async/is_sync", "kmip-ttlv/sync"]
async-with-tokio = ["kmip-ttlv/high-level", "tokio", "kmip-ttlv/async-with-tokio"]
async-with-async-std = ["kmip-ttlv/high-level", "async-std", "rustls", "kmip-ttlv/async-with-async-std"]
tls = []
tls-with-openssl = ["tls", "sync", "openssl"]
tls-with-openssl-vendored = ["tls", "sync", "openssl/vendored"]
tls-with-rustls = ["tls", "sync", "rustls", "rustls-pemfile", "webpki"]
tls-with-tokio-native-tls = ["tls", "async-with-tokio", "tokio-native-tls"]
tls-with-tokio-rustls = ["tls", "async-with-tokio", "tokio-rustls", "rustls-pemfile"]
tls-with-async-tls = ["tls", "async-with-async-std", "async-tls", "rustls-pemfile", "webpki" ]
[[example]]
name = "demo"
required-features = ["tls"]
test = false
[build-dependencies]
rustc_version = "0.4.0"
[dev-dependencies]
hex = "0.4.3"
pretty_assertions = "1.3.0"
# for examples/demo
log = "0.4.14"
simple-logging = "2.0.2"
structopt = { version = "0.3.22", default-features = false }