f9e3b1104e
using a handlebars instance in ApiConfig, to cache the templates as long as possible, this is currently ok, as the index template can only change when the whole package changes if we split this in the future, we have to trigger a reload of the daemon on gui package upgrade (so that the template gets reloaded) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
60 lines
1.7 KiB
TOML
60 lines
1.7 KiB
TOML
[package]
|
|
name = "proxmox-backup"
|
|
version = "0.1.3"
|
|
authors = ["Dietmar Maurer <dietmar@proxmox.com>"]
|
|
edition = "2018"
|
|
license = "AGPL-3"
|
|
description = "Proxmox Backup"
|
|
homepage = "https://www.proxmox.com"
|
|
|
|
exclude = [ "build", "debian", "tests/catar_data/test_symlink/symlink1"]
|
|
|
|
[lib]
|
|
name = "proxmox_backup"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
base64 = "0.10"
|
|
bytes = "0.5"
|
|
chrono = "0.4" # Date and time library for Rust
|
|
crc32fast = "1"
|
|
endian_trait = { version = "0.6", features = ["arrays"] }
|
|
anyhow = "1.0"
|
|
futures = "0.3"
|
|
h2 = { version = "0.2", features = ["stream"] }
|
|
handlebars = "3.0"
|
|
http = "0.2"
|
|
hyper = "0.13"
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
native-tls = "0.2"
|
|
nix = "0.16"
|
|
openssl = "0.10"
|
|
pam = "0.7"
|
|
pam-sys = "0.5"
|
|
percent-encoding = "2.1"
|
|
pin-utils = "0.1.0-alpha"
|
|
proxmox = { version = "0.1.25", features = [ "sortable-macro", "api-macro" ] }
|
|
#proxmox = { git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] }
|
|
#proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro" ] }
|
|
regex = "1.2"
|
|
rustyline = "5.0.5"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
siphasher = "0.3"
|
|
syslog = "4.0"
|
|
tokio = { version = "0.2.9", features = [ "blocking", "fs", "io-util", "macros", "rt-threaded", "signal", "stream", "tcp", "time", "uds" ] }
|
|
tokio-openssl = "0.4.0"
|
|
tokio-util = { version = "0.2.0", features = [ "codec" ] }
|
|
tower-service = "0.3.0"
|
|
url = "2.1"
|
|
#valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
|
|
walkdir = "2"
|
|
xdg = "2.2"
|
|
zstd = { version = "0.4", features = [ "bindgen" ] }
|
|
|
|
[features]
|
|
default = []
|
|
#valgrind = ["valgrind_request"]
|