]> git.proxmox.com Git - proxmox.git/blob - proxmox-auth-api/Cargo.toml
bump proxmox-auth-api to 0.3.3
[proxmox.git] / proxmox-auth-api / Cargo.toml
1 [package]
2 name = "proxmox-auth-api"
3 version = "0.3.3"
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-sys = { workspace = true, optional = true }
25 percent-encoding = { workspace = true, optional = true }
26 regex = { workspace = true, optional = true }
27 serde = { workspace = true, optional = true, features = [ "derive" ] }
28 serde_json = { workspace = true, optional = true }
29 serde_plain = { workspace = true, optional = true }
30
31 proxmox-rest-server = { workspace = true, optional = true }
32 proxmox-router = { workspace = true, optional = true }
33 proxmox-schema = { workspace = true, optional = true, features = [ "api-macro", "api-types" ] }
34 proxmox-tfa = { workspace = true, optional = true, features = [ "api" ] }
35
36 [features]
37 default = []
38
39 ticket = [ "dep:base64", "dep:percent-encoding", "dep:openssl" ]
40 api-types = [ "dep:lazy_static", "dep:regex", "dep:serde", "dep:serde_plain", "dep:proxmox-schema" ]
41 api = [
42 "api-types",
43 "ticket",
44
45 "dep:http",
46 "dep:serde_json",
47
48 "dep:proxmox-rest-server",
49 "dep:proxmox-router",
50 "dep:proxmox-tfa",
51 ]
52 pam-authenticator = [ "api", "dep:libc", "dep:log", "dep:pam-sys" ]