mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-05 00:00:48 +00:00

If enabled, the Schema type implements Eq and PartialEq for testing the api macro better. Note that these implementations don't make all too much since since they also compare `dyn Fn` types which do not implement Eq. Since they're also `&'static` they can't really be runtime closures, so this should be fine, we know they'll always point to some regular function. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
32 lines
657 B
TOML
32 lines
657 B
TOML
[package]
|
|
name = "proxmox-api"
|
|
edition = "2018"
|
|
version = "0.1.1"
|
|
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ]
|
|
|
|
[dependencies]
|
|
bytes = "0.5"
|
|
failure = "0.1"
|
|
futures = "0.3"
|
|
http = "0.2"
|
|
proxmox-tools = { version = "0.1.1", path = "../proxmox-tools" }
|
|
regex = "1.2"
|
|
rustyline = "5.0.5"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
textwrap = "0.11"
|
|
url = "2.1"
|
|
|
|
tokio = { version = "0.2", features = [], optional = true }
|
|
hyper = { version = "0.13", optional = true }
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4"
|
|
|
|
[features]
|
|
default = [ "router", "cli" ]
|
|
router = [ "hyper", "tokio" ]
|
|
cli = [ "router", "hyper", "tokio" ]
|
|
test-harness = []
|