2021-10-07 09:36:06 +02:00
[ package ]
name = "proxmox-schema"
2024-08-14 11:06:30 +02:00
version = "3.1.3"
2022-12-06 12:18:46 +01:00
authors . workspace = true
edition . workspace = true
license . workspace = true
repository . workspace = true
2021-10-07 09:36:06 +02:00
description = "proxmox api schema and validation"
2024-08-14 09:20:00 +02:00
rust-version . workspace = true
2021-10-07 09:36:06 +02:00
2022-12-06 12:18:46 +01:00
exclude . workspace = true
2021-10-07 09:36:06 +02:00
[ dependencies ]
2022-12-06 13:43:42 +01:00
anyhow . workspace = true
2024-03-15 12:27:29 +01:00
const_format = { workspace = true , optional = true }
2022-12-12 09:30:30 +01:00
regex . workspace = true
2022-12-06 13:43:42 +01:00
serde . workspace = true
serde_json . workspace = true
2022-12-01 11:06:41 +01:00
textwrap = "0.16"
2021-10-07 09:36:06 +02:00
# the upid type needs this for 'getpid'
2022-12-06 13:43:42 +01:00
libc = { workspace = true , optional = true }
nix = { workspace = true , optional = true }
2021-10-07 09:36:06 +02:00
2022-12-07 08:42:52 +01:00
proxmox-api-macro = { workspace = true , optional = true }
2021-10-07 09:36:06 +02:00
[ dev-dependencies ]
2022-12-06 13:43:42 +01:00
url . workspace = true
serde = { workspace = true , features = [ "derive" ] }
2022-12-07 08:42:52 +01:00
proxmox-api-macro . workspace = true
2021-10-07 09:36:06 +02:00
[ features ]
default = [ ]
2022-08-22 11:24:04 +02:00
api-macro = [ "dep:proxmox-api-macro" ]
upid-api-impl = [ "dep:libc" , "dep:nix" ]
2024-03-15 12:27:29 +01:00
api-types = [ "dep:const_format" ]
2021-10-07 09:36:06 +02:00
# Testing only
test-harness = [ ]