]> git.proxmox.com Git - proxmox.git/blame - proxmox-auth-api/Cargo.toml
bump proxmox-auth-api to 0.3.3
[proxmox.git] / proxmox-auth-api / Cargo.toml
CommitLineData
5349ae20
WB
1[package]
2name = "proxmox-auth-api"
d9b783f1 3version = "0.3.3"
5349ae20
WB
4authors.workspace = true
5edition.workspace = true
6license.workspace = true
7repository.workspace = true
8exclude.workspace = true
9description = "Tickets, API and Realm handling"
10
1bccff7e
WB
11[[example]]
12name = "passwd"
13required-features = [ "pam-authenticator" ]
14
5349ae20
WB
15[dependencies]
16anyhow.workspace = true
17
18base64 = { workspace = true, optional = true }
19lazy_static = { workspace = true, optional = true }
20libc = { workspace = true, optional = true }
21log = { workspace = true, optional = true }
22http = { workspace = true, optional = true }
23openssl = { workspace = true, optional = true }
5349ae20
WB
24pam-sys = { workspace = true, optional = true }
25percent-encoding = { workspace = true, optional = true }
26regex = { workspace = true, optional = true }
27serde = { workspace = true, optional = true, features = [ "derive" ] }
28serde_json = { workspace = true, optional = true }
29serde_plain = { workspace = true, optional = true }
30
31proxmox-rest-server = { workspace = true, optional = true }
32proxmox-router = { workspace = true, optional = true }
33proxmox-schema = { workspace = true, optional = true, features = [ "api-macro", "api-types" ] }
34proxmox-tfa = { workspace = true, optional = true, features = [ "api" ] }
35
36[features]
37default = []
38
39ticket = [ "dep:base64", "dep:percent-encoding", "dep:openssl" ]
40api-types = [ "dep:lazy_static", "dep:regex", "dep:serde", "dep:serde_plain", "dep:proxmox-schema" ]
41api = [
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]
8f08039e 52pam-authenticator = [ "api", "dep:libc", "dep:log", "dep:pam-sys" ]