]> git.proxmox.com Git - proxmox.git/blob - proxmox-rest-server/Cargo.toml
schema: implement oneOf schema support
[proxmox.git] / proxmox-rest-server / Cargo.toml
1 [package]
2 name = "proxmox-rest-server"
3 version = "0.5.1"
4 authors.workspace = true
5 edition.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 description = "REST server implementation"
9
10 exclude.workspace = true
11
12 [dev-dependencies]
13 proxmox-schema = { workspace = true, features = [ "api-macro" ] }
14 tokio = { workspace = true, features = [ "rt-multi-thread", "signal", "process" ] }
15
16 [dependencies]
17 anyhow.workspace = true
18 futures.workspace = true
19 handlebars = { workspace = true, optional = true }
20 http.workspace = true
21 hyper = { workspace = true, features = [ "full" ] }
22 lazy_static.workspace = true
23 libc.workspace = true
24 log.workspace = true
25 nix.workspace = true
26 once_cell.workspace = true
27 openssl.workspace = true
28 percent-encoding.workspace = true
29 regex.workspace = true
30 serde = { workspace = true, features = [ "derive" ] }
31 serde_json.workspace = true
32 tokio = { workspace = true, features = ["signal", "process"] }
33 tokio-openssl.workspace = true
34 tokio-stream.workspace = true
35 tower-service.workspace = true
36 url.workspace = true
37
38 proxmox-async.workspace = true
39 proxmox-compression.workspace = true
40 proxmox-http = { workspace = true, optional = true }
41 proxmox-io.workspace = true
42 proxmox-lang.workspace = true
43 proxmox-router.workspace = true
44 proxmox-schema = { workspace = true, features = [ "api-macro", "upid-api-impl" ] }
45 proxmox-sys = { workspace = true, features = [ "logrotate", "timer" ] }
46 proxmox-time.workspace = true
47
48 [features]
49 default = []
50 templates = ["dep:handlebars"]
51 rate-limited-stream = [
52 "dep:proxmox-http",
53 "proxmox-http?/rate-limited-stream",
54 ]