]> git.proxmox.com Git - proxmox-backup.git/blob - Cargo.toml
use new proxmox-sys crate
[proxmox-backup.git] / Cargo.toml
1 [package]
2 name = "proxmox-backup"
3 version = "2.0.14"
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 "proxmox-rrd",
31 "pbs-tape",
32 "pbs-tools",
33
34 "proxmox-backup-banner",
35 "proxmox-backup-client",
36 "proxmox-file-restore",
37 "proxmox-restore-daemon",
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 cidr = "0.2.1"
51 crc32fast = "1"
52 endian_trait = { version = "0.6", features = ["arrays"] }
53 env_logger = "0.7"
54 flate2 = "1.0"
55 anyhow = "1.0"
56 thiserror = "1.0"
57 futures = "0.3"
58 h2 = { version = "0.3", features = [ "stream" ] }
59 handlebars = "3.0"
60 hex = "0.4.3"
61 http = "0.2"
62 hyper = { version = "0.14", features = [ "full" ] }
63 lazy_static = "1.4"
64 libc = "0.2"
65 log = "0.4"
66 nix = "0.19.1"
67 num-traits = "0.2"
68 once_cell = "1.3.1"
69 openssl = "0.10"
70 pam = "0.7"
71 pam-sys = "0.5"
72 percent-encoding = "2.1"
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.4"
85 url = "2.1"
86 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
87 walkdir = "2"
88 xdg = "2.2"
89 nom = "5.1"
90 crossbeam-channel = "0.5"
91
92 # Used only by examples currently:
93 zstd = { version = "0.6", features = [ "bindgen" ] }
94
95 pathpatterns = "0.1.2"
96 pxar = { version = "0.10.1", features = [ "tokio-io" ] }
97
98 proxmox = { version = "0.15.3", features = [ "sortable-macro" ] }
99 proxmox-http = { version = "0.5.4", features = [ "client", "http-helpers", "websocket" ] }
100 proxmox-io = "1"
101 proxmox-lang = "1"
102 proxmox-router = { version = "1.1", features = [ "cli" ] }
103 proxmox-schema = { version = "1", features = [ "api-macro" ] }
104 proxmox-section-config = "1"
105 proxmox-tfa = { version = "1.3", features = [ "api", "api-types" ] }
106 proxmox-time = "1"
107 proxmox-uuid = "1"
108 proxmox-shared-memory = "0.1.1"
109 proxmox-sys = "0.1"
110
111 proxmox-acme-rs = "0.3"
112 proxmox-apt = "0.8.0"
113 proxmox-openid = "0.9.0"
114
115 pbs-api-types = { path = "pbs-api-types" }
116 pbs-buildcfg = { path = "pbs-buildcfg" }
117 pbs-client = { path = "pbs-client" }
118 pbs-config = { path = "pbs-config" }
119 pbs-datastore = { path = "pbs-datastore" }
120 pbs-runtime = { path = "pbs-runtime" }
121 proxmox-rest-server = { path = "proxmox-rest-server" }
122 proxmox-rrd = { path = "proxmox-rrd" }
123 pbs-tools = { path = "pbs-tools" }
124 pbs-tape = { path = "pbs-tape" }
125
126 # Local path overrides
127 # NOTE: You must run `cargo update` after changing this for it to take effect!
128 [patch.crates-io]
129 #proxmox = { path = "../proxmox/proxmox" }
130 #proxmox-http = { path = "../proxmox/proxmox-http" }
131 #proxmox-tfa = { path = "../proxmox/proxmox-tfa" }
132 #proxmox-schema = { path = "../proxmox/proxmox-schema" }
133 #pxar = { path = "../pxar" }
134
135 [features]
136 default = []
137 #valgrind = ["valgrind_request"]