]>
Commit | Line | Data |
---|---|---|
5349ae20 WB |
1 | [package] |
2 | name = "proxmox-auth-api" | |
2c278345 | 3 | version = "0.3.4" |
5349ae20 WB |
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 | ||
1bccff7e WB |
11 | [[example]] |
12 | name = "passwd" | |
13 | required-features = [ "pam-authenticator" ] | |
14 | ||
5349ae20 WB |
15 | [dependencies] |
16 | anyhow.workspace = true | |
a6f1b36f | 17 | const_format = { workspace = true, optional = true } |
5349ae20 WB |
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 } | |
5349ae20 WB |
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" ] | |
a6f1b36f | 40 | api-types = [ "dep:const_format", "dep:lazy_static", "dep:regex", "dep:serde", "dep:serde_plain", "dep:proxmox-schema" ] |
5349ae20 WB |
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 | ] | |
8f08039e | 52 | pam-authenticator = [ "api", "dep:libc", "dep:log", "dep:pam-sys" ] |