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
|
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
|
-
+
-
-
+
+
+
+
-
+
-
+
-
+
+
+
+
+
+
+
|
[package]
name = "protwrap"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
license = "0BSD"
# https://crates.io/category_slugs
categories = [ "asynchronous", "network-programming" ]
keywords = [ "network", "wrapper" ]
repository = "https://repos.qrnch.tech/pub/protwrap"
description = "Thin protocol wrapper for network applications."
exclude = [
".fossil-settings",
".efiles",
".fslckout",
"rustfmt.toml",
"www"
"examples",
"www",
"bacon.toml",
"rustfmt.toml"
]
# https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
[badges]
maintenance = { status = "experimental" }
[features]
tls = ["dep:tokio-rustls"]
tokio = ["dep:tokio", "dep:tokio-util", "dep:async-trait", "dep:killswitch"]
[dependencies]
async-trait = { version = "0.1.80", optional = true }
async-trait = { version = "0.1.82", optional = true }
killswitch = { version = "0.4.2", optional = true }
tokio = { version = "1.37.0", optional = true, features = [
"macros", "net", "rt"
] }
tokio-rustls = { version = "0.24.0", optional = true, features = [
"dangerous_configuration"
] }
tokio-util = { version = "0.7.11", optional = true }
tokio-util = { version = "0.7.12", optional = true }
[target.'cfg(unix)'.dependencies]
tokio = { version = "1.38.0", optional = true, features = ["fs"] }
tokio = { version = "1.40.0", optional = true, features = ["fs"] }
[dev-dependencies]
tokio = { version = "1.38.0", features = [
"io-util", "rt-multi-thread", "time"
] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
|