[package]
name = "proxmox-rest-server"
-version = "0.2.2"
+version = "0.5.1"
authors.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
anyhow.workspace = true
futures.workspace = true
-handlebars.workspace = true
+handlebars = { workspace = true, optional = true }
http.workspace = true
hyper = { workspace = true, features = [ "full" ] }
lazy_static.workspace = true
log.workspace = true
nix.workspace = true
once_cell.workspace = true
+openssl.workspace = true
percent-encoding.workspace = true
regex.workspace = true
serde = { workspace = true, features = [ "derive" ] }
proxmox-async.workspace = true
proxmox-compression.workspace = true
+proxmox-http = { workspace = true, optional = true }
proxmox-io.workspace = true
proxmox-lang.workspace = true
-proxmox-http = { workspace = true, features = [ "client" ] }
proxmox-router.workspace = true
proxmox-schema = { workspace = true, features = [ "api-macro", "upid-api-impl" ] }
-proxmox-time.workspace = true
proxmox-sys = { workspace = true, features = [ "logrotate", "timer" ] }
+proxmox-time.workspace = true
+
+[features]
+default = []
+templates = ["dep:handlebars"]
+rate-limited-stream = [
+ "dep:proxmox-http",
+ "proxmox-http?/rate-limited-stream",
+]