]> git.proxmox.com Git - proxmox-backup.git/blob - Cargo.toml
move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace
[proxmox-backup.git] / Cargo.toml
1 [package]
2 name = "proxmox-backup"
3 version = "2.0.9"
4 authors = [
5 "Dietmar Maurer <dietmar@proxmox.com>",
6 "Dominik Csapak <d.csapak@proxmox.com>",
7 "Christian Ebner <c.ebner@proxmox.com>",
8 "Fabian Grünbichler <f.gruenbichler@proxmox.com>",
9 "Stefan Reiter <s.reiter@proxmox.com>",
10 "Thomas Lamprecht <t.lamprecht@proxmox.com>",
11 "Wolfgang Bumiller <w.bumiller@proxmox.com>",
12 "Proxmox Support Team <support@proxmox.com>",
13 ]
14 edition = "2018"
15 license = "AGPL-3"
16 description = "Proxmox Backup"
17 homepage = "https://www.proxmox.com"
18
19 exclude = [ "build", "debian", "tests/catar_data/test_symlink/symlink1"]
20
21 [workspace]
22 members = [
23 "pbs-buildcfg",
24 "pbs-client",
25 "pbs-config",
26 "pbs-datastore",
27 "pbs-fuse-loop",
28 "pbs-runtime",
29 "proxmox-rest-server",
30 "pbs-systemd",
31 "pbs-tape",
32 "pbs-tools",
33
34 "proxmox-backup-banner",
35 "proxmox-backup-client",
36 "proxmox-backup-debug",
37 "proxmox-file-restore",
38 "pxar-bin",
39 ]
40
41 [lib]
42 name = "proxmox_backup"
43 path = "src/lib.rs"
44
45 [dependencies]
46 apt-pkg-native = "0.3.2"
47 base64 = "0.12"
48 bitflags = "1.2.1"
49 bytes = "1.0"
50 crc32fast = "1"
51 endian_trait = { version = "0.6", features = ["arrays"] }
52 env_logger = "0.7"
53 flate2 = "1.0"
54 anyhow = "1.0"
55 thiserror = "1.0"
56 futures = "0.3"
57 h2 = { version = "0.3", features = [ "stream" ] }
58 handlebars = "3.0"
59 http = "0.2"
60 hyper = { version = "0.14", features = [ "full" ] }
61 lazy_static = "1.4"
62 libc = "0.2"
63 log = "0.4"
64 nix = "0.19.1"
65 num-traits = "0.2"
66 once_cell = "1.3.1"
67 openssl = "0.10"
68 pam = "0.7"
69 pam-sys = "0.5"
70 percent-encoding = "2.1"
71 pin-utils = "0.1.0"
72 pin-project = "1.0"
73 regex = "1.2"
74 rustyline = "7"
75 serde = { version = "1.0", features = ["derive"] }
76 serde_json = "1.0"
77 siphasher = "0.3"
78 syslog = "4.0"
79 tokio = { version = "1.6", features = [ "fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "time" ] }
80 tokio-openssl = "0.6.1"
81 tokio-stream = "0.1.0"
82 tokio-util = { version = "0.6", features = [ "codec", "io" ] }
83 tower-service = "0.3.0"
84 udev = ">= 0.3, <0.5"
85 url = "2.1"
86 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
87 walkdir = "2"
88 webauthn-rs = "0.2.5"
89 xdg = "2.2"
90 nom = "5.1"
91 crossbeam-channel = "0.5"
92
93 # Used only by examples currently:
94 zstd = { version = "0.6", features = [ "bindgen" ] }
95
96 pathpatterns = "0.1.2"
97 pxar = { version = "0.10.1", features = [ "tokio-io" ] }
98
99 proxmox = { version = "0.13.3", features = [ "sortable-macro", "api-macro", "cli", "router", "tfa" ] }
100 proxmox-acme-rs = "0.2.1"
101 proxmox-apt = "0.7.0"
102 proxmox-http = { version = "0.4.0", features = [ "client", "http-helpers", "websocket" ] }
103 proxmox-openid = "0.7.0"
104
105 pbs-api-types = { path = "pbs-api-types" }
106 pbs-buildcfg = { path = "pbs-buildcfg" }
107 pbs-client = { path = "pbs-client" }
108 pbs-config = { path = "pbs-config" }
109 pbs-datastore = { path = "pbs-datastore" }
110 pbs-runtime = { path = "pbs-runtime" }
111 proxmox-rest-server = { path = "proxmox-rest-server" }
112 pbs-systemd = { path = "pbs-systemd" }
113 pbs-tools = { path = "pbs-tools" }
114 pbs-tape = { path = "pbs-tape" }
115
116 # Local path overrides
117 # NOTE: You must run `cargo update` after changing this for it to take effect!
118 [patch.crates-io]
119 #proxmox = { path = "../proxmox/proxmox" }
120 #proxmox-http = { path = "../proxmox/proxmox-http" }
121 #pxar = { path = "../pxar" }
122
123 [features]
124 default = []
125 #valgrind = ["valgrind_request"]