61e4d35dea
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
41 lines
940 B
TOML
41 lines
940 B
TOML
[package]
|
|
name = "proxmox-schema"
|
|
version = "3.2.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "proxmox api schema and validation"
|
|
rust-version.workspace = true
|
|
|
|
exclude.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
const_format = { workspace = true, optional = true }
|
|
regex.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
textwrap = "0.16"
|
|
|
|
# the upid type needs this for 'getpid'
|
|
libc = { workspace = true, optional = true }
|
|
nix = { workspace = true, optional = true }
|
|
|
|
proxmox-api-macro = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
url.workspace = true
|
|
serde = { workspace = true, features = [ "derive" ] }
|
|
proxmox-api-macro.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
|
|
api-macro = ["dep:proxmox-api-macro"]
|
|
upid-api-impl = [ "dep:libc", "dep:nix" ]
|
|
api-types = [ "dep:const_format" ]
|
|
|
|
# Testing only
|
|
test-harness = []
|