-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
78 lines (72 loc) · 2.44 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "sybil"
version = "1.0.2"
authors = ["Jonathan Calmels <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/NVIDIA/sybil"
description = "Tools for Kerberos protocol transition and ticket impersonation"
keywords = ["kerberos", "impersonation", "s4u"]
categories = ["authentication"]
exclude = [".*", "deny.toml", "rustfmt.toml", "Makefile"]
[profile.release]
lto = true
panic = "abort"
strip = true
[profile.dev]
opt-level = 3
[dependencies]
argh = "0.1.12"
close_fds = "0.3.2"
config = { version = "0.13.4", features = ["toml"], default-features = false }
futures = "0.3.30"
lazy_static = "1.4.0"
libc = "0.2.152"
libgssapi = { version = "0.7.0", features = ["s4u"] }
netaddr2 = { version = "0.10.0", features = ["serde"] }
nix = { version = "0.27.1", features = ["user", "fs"] }
rand = "0.8.5"
serde = { version = "1.0.195", features = ["derive"] }
snafu = "0.8.0"
tarpc = { version = "0.34.0", features = ["serde-transport", "serde-transport-bincode", "tcp"] }
tokio = { version = "1.35.1", features = ["sync", "net", "rt-multi-thread", "process", "macros"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
trust-dns-resolver = "0.23.2"
[build-dependencies]
bindgen = "0.69.2"
cc = "1.0.83"
[package.metadata.deb]
revision = "1"
section = "admin"
priority = "optional"
extended-description = ""
maintainer-scripts = "pkg/deb"
systemd-units = { start = false, enable = false }
depends = [
"libkrb5-3 (>= 1.19)",
"libkadm5srv-mit12 (>= 1.19)",
"libk5crypto3 (>= 1.19)",
"libkrb5support0 (>= 1.19)",
"libgssapi-krb5-2 (>= 1.19)",
]
assets = [
["target/release/sybil", "/usr/sbin/sybil", "755"],
["target/release/sybild", "/usr/sbin/sybild", "755"],
["pkg/sybil.toml", "/etc/sybil.toml", "644"],
["pkg/sybil.env", "/etc/default/sybil", "644"],
]
conf-files = [
"/etc/sybil.toml",
"/etc/default/sybil",
]
[package.metadata.generate-rpm]
release = "1"
requires = { krb5-libs = ">= 1.19", libkadm5 = ">= 1.19" }
assets = [
{source = "pkg/rpm/sybil.service", dest = "/lib/systemd/system/sybil.service", mode = "644"},
{source = "target/release/sybil", dest = "/usr/sbin/sybil", mode = "755"},
{source = "target/release/sybild", dest = "/usr/sbin/sybild", mode = "755"},
{source = "pkg/sybil.toml", dest = "/etc/sybil.toml", mode = "644", config = true},
{source = "pkg/sybil.env", dest = "/etc/sysconfig/sybil", mode = "644", config = true},
]