]> git.proxmox.com Git - proxmox.git/blob - proxmox-schema/Cargo.toml
schema: bump api macro to 1.0.2 for the streaming attribute
[proxmox.git] / proxmox-schema / Cargo.toml
1 [package]
2 name = "proxmox-schema"
3 version = "1.3.0"
4 authors = ["Proxmox Support Team <support@proxmox.com>"]
5 edition = "2021"
6 license = "AGPL-3"
7 description = "proxmox api schema and validation"
8
9 exclude = [ "debian" ]
10
11 [dependencies]
12 anyhow = "1.0"
13 lazy_static = "1.4"
14 regex = "1.5"
15 serde = "1.0"
16 serde_json = "1.0"
17 textwrap = "0.11"
18
19 # the upid type needs this for 'getpid'
20 libc = { version = "0.2", optional = true }
21 nix = { version = "0.19", optional = true }
22
23 proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "1.0.2" }
24
25 [dev-dependencies]
26 url = "2.1"
27 serde = { version = "1.0", features = [ "derive" ] }
28 proxmox-api-macro = { path = "../proxmox-api-macro", version = "1.0.2" }
29
30 [features]
31 default = []
32
33 api-macro = ["proxmox-api-macro"]
34 upid-api-impl = [ "libc", "nix" ]
35
36 # Testing only
37 test-harness = []