-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
71 lines (67 loc) · 1.93 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
[package]
authors = ["ArcticLampyrid <[email protected]>"]
categories = ["network-programming"]
description = "A library for building simple ipp servers"
documentation = "https://docs.rs/ippper"
edition = "2021"
keywords = ["ipp-server", "ipp", "print"]
license = "BSD-3-Clause"
name = "ippper"
readme = "README.md"
repository = "https://github.com/ArcticLampyrid/ippper.rs/"
version = "0.3.0"
[features]
default = ["server", "server-tls", "rustls-aws-lc-rs"]
server = ["dep:hyper", "dep:hyper-util", "dep:tokio"]
server-tls = ["server", "dep:tokio-rustls", "dep:rustls-pemfile"]
rustls-aws-lc-rs = ["tokio-rustls?/aws-lc-rs"]
rustls-ring = ["tokio-rustls?/ring"]
[dependencies]
tokio-rustls = { version = "0.26", optional = true, default-features = false, features = [
"logging",
"tls12",
] }
log = "0.4"
anyhow = "1"
async-compression = { version = "0.4", features = [
"futures-io",
"gzip",
], default-features = false }
derive_builder = "0.20"
fmt-derive = "0.1"
futures = "0.3"
futures-locks = { version = "0.7", default-features = false }
hyper = { version = "1", features = [
"http1",
"http2",
"server",
], optional = true }
hyper-util = { version = "0.1", features = [
"http1",
"http2",
"server",
"server-auto",
"tokio",
], optional = true }
http = "1"
http-body = "1"
http-body-util = "0.1"
bytes = "1"
ipp = { version = "5", features = ["async"], default-features = false }
num-traits = "0.2"
thiserror = "1.0"
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
], default-features = false, optional = true }
uuid = "1"
rustls-pemfile = { version = "2.1", optional = true }
pin-project-lite = "0.2"
moka = { version = "0.12", features = ["future"], default-features = false }
[dev-dependencies]
tokio-util = { version = "0.7", features = [
"compat",
], default-features = false }
[[example]]
name = "save_as_pdf"
required-features = ["server-tls", "tokio/fs", "rustls-aws-lc-rs"]