]> git.proxmox.com Git - proxmox.git/blob - proxmox-auth-api/Cargo.toml
Merge branch 'proxmox-apt-merge'
[proxmox.git] / proxmox-auth-api / Cargo.toml
1 [package]
2 name = "proxmox-auth-api"
3 version = "0.2.0"
4 authors.workspace = true
5 edition.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 exclude.workspace = true
9 description = "Tickets, API and Realm handling"
10
11 [[example]]
12 name = "passwd"
13 required-features = [ "pam-authenticator" ]
14
15 [dependencies]
16 anyhow.workspace = true
17
18 base64 = { workspace = true, optional = true }
19 lazy_static = { workspace = true, optional = true }
20 libc = { workspace = true, optional = true }
21 log = { workspace = true, optional = true }
22 http = { workspace = true, optional = true }
23 openssl = { workspace = true, optional = true }
24 pam = { workspace = true, optional = true }
25 pam-sys = { workspace = true, optional = true }
26 percent-encoding = { workspace = true, optional = true }
27 regex = { workspace = true, optional = true }
28 serde = { workspace = true, optional = true, features = [ "derive" ] }
29 serde_json = { workspace = true, optional = true }
30 serde_plain = { workspace = true, optional = true }
31
32 proxmox-rest-server = { workspace = true, optional = true }
33 proxmox-router = { workspace = true, optional = true }
34 proxmox-schema = { workspace = true, optional = true, features = [ "api-macro", "api-types" ] }
35 proxmox-tfa = { workspace = true, optional = true, features = [ "api" ] }
36
37 [features]
38 default = []
39
40 ticket = [ "dep:base64", "dep:percent-encoding", "dep:openssl" ]
41 api-types = [ "dep:lazy_static", "dep:regex", "dep:serde", "dep:serde_plain", "dep:proxmox-schema" ]
42 api = [
43 "api-types",
44 "ticket",
45
46 "dep:http",
47 "dep:serde_json",
48
49 "dep:proxmox-rest-server",
50 "dep:proxmox-router",
51 "dep:proxmox-tfa",
52 ]
53 pam-authenticator = [ "api", "dep:libc", "dep:log", "dep:pam", "dep:pam-sys" ]