]> git.proxmox.com Git - proxmox-backup.git/blob - Cargo.toml
pbs-api-types: remove openssl dependency for target wasm
[proxmox-backup.git] / Cargo.toml
1 [package]
2 name = "proxmox-backup"
3 version = "2.1.2"
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 "proxmox-rest-server",
29 "proxmox-rrd",
30 "pbs-tape",
31 "pbs-tools",
32
33 "proxmox-backup-banner",
34 "proxmox-backup-client",
35 "proxmox-file-restore",
36 "proxmox-restore-daemon",
37 "pxar-bin",
38 ]
39
40 [lib]
41 name = "proxmox_backup"
42 path = "src/lib.rs"
43
44 [dependencies]
45 apt-pkg-native = "0.3.2"
46 base64 = "0.13"
47 bitflags = "1.2.1"
48 bytes = "1.0"
49 cidr = "0.2.1"
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 hex = "0.4.3"
60 http = "0.2"
61 hyper = { version = "0.14", features = [ "full" ] }
62 lazy_static = "1.4"
63 libc = "0.2"
64 log = "0.4"
65 nix = "0.19.1"
66 num-traits = "0.2"
67 once_cell = "1.3.1"
68 openssl = "0.10"
69 pam = "0.7"
70 pam-sys = "0.5"
71 percent-encoding = "2.1"
72 regex = "1.2"
73 rustyline = "7"
74 serde = { version = "1.0", features = ["derive"] }
75 serde_json = "1.0"
76 siphasher = "0.3"
77 syslog = "4.0"
78 tokio = { version = "1.6", features = [ "fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "time" ] }
79 tokio-openssl = "0.6.1"
80 tokio-stream = "0.1.0"
81 tokio-util = { version = "0.6", features = [ "codec", "io" ] }
82 tower-service = "0.3.0"
83 udev = "0.4"
84 url = "2.1"
85 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
86 walkdir = "2"
87 xdg = "2.2"
88 nom = "5.1"
89 crossbeam-channel = "0.5"
90
91 # Used only by examples currently:
92 zstd = { version = "0.6", features = [ "bindgen" ] }
93
94 pathpatterns = "0.1.2"
95 pxar = { version = "0.10.1", features = [ "tokio-io" ] }
96
97 proxmox-http = { version = "0.6", features = [ "client", "http-helpers", "websocket" ] }
98 proxmox-io = "1"
99 proxmox-lang = "1"
100 proxmox-router = { version = "1.1", features = [ "cli" ] }
101 proxmox-schema = { version = "1", features = [ "api-macro" ] }
102 proxmox-section-config = "1"
103 proxmox-tfa = { version = "2", features = [ "api", "api-types" ] }
104 proxmox-time = "1.1.1"
105 proxmox-uuid = "1"
106 proxmox-serde = "0.1"
107 proxmox-shared-memory = "0.2"
108 proxmox-sys = { version = "0.2", features = [ "sortable-macro" ] }
109
110
111 proxmox-acme-rs = "0.3"
112 proxmox-apt = "0.8.0"
113 proxmox-async = "0.3"
114 proxmox-openid = "0.9.0"
115
116 pbs-api-types = { path = "pbs-api-types" }
117 pbs-buildcfg = { path = "pbs-buildcfg" }
118 pbs-client = { path = "pbs-client" }
119 pbs-config = { path = "pbs-config" }
120 pbs-datastore = { path = "pbs-datastore" }
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"]