[package]
name = "proxmox-schema"
-version = "1.1.0"
-authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
-license = "AGPL-3"
+version = "3.1.0"
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
description = "proxmox api schema and validation"
-exclude = [ "debian" ]
+exclude.workspace = true
[dependencies]
-anyhow = "1.0"
-lazy_static = "1.4"
-regex = "1.5"
-serde = "1.0"
-serde_json = "1.0"
-textwrap = "0.11"
+anyhow.workspace = true
+const_format = { workspace = true, optional = true }
+lazy_static.workspace = true
+regex.workspace = true
+serde.workspace = true
+serde_json.workspace = true
+textwrap = "0.16"
# the upid type needs this for 'getpid'
-libc = { version = "0.2", optional = true }
-nix = { version = "0.19", optional = true }
+libc = { workspace = true, optional = true }
+nix = { workspace = true, optional = true }
-proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "1.0.0" }
+proxmox-api-macro = { workspace = true, optional = true }
[dev-dependencies]
-url = "2.1"
-serde = { version = "1.0", features = [ "derive" ] }
-proxmox-api-macro = { path = "../proxmox-api-macro", version = "1.0.0" }
+url.workspace = true
+serde = { workspace = true, features = [ "derive" ] }
+proxmox-api-macro.workspace = true
[features]
default = []
-api-macro = ["proxmox-api-macro"]
-upid-api-impl = [ "libc", "nix" ]
+api-macro = ["dep:proxmox-api-macro"]
+upid-api-impl = [ "dep:libc", "dep:nix" ]
+api-types = [ "dep:const_format" ]
# Testing only
test-harness = []