-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
65 lines (60 loc) · 1.92 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
[package]
name = "sectora"
version = "0.4.0"
authors = ["Yasuyuki YAMADA <[email protected]>"]
build = "build.rs"
description = "SSH authentication with the GitHub team and repo"
edition = "2021"
license = "MIT"
readme = "README.md"
rust-version = "1.83.0"
[dependencies]
futures = "0.3"
toml = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
glob = "0.3"
libc = "0.2"
nix = "0.29"
hyper = { version = "0.14.27", features = ["http1", "client", "tcp"] }
hyper-tls = "0.6.0"
log = "0.4.22"
syslog = "7.0"
tokio = { version = "1.42", features = ["macros", "rt", "rt-multi-thread"] }
sd-notify = "0.4.3"
clap = { version = "4.5.23", features = ["derive"] }
clap_complete = "4.5.40"
once_cell = "1.20.2"
reqwest = { version = "0.12.12", features = ["json"] }
[[bin]]
name = "sectora"
path = "src/main.rs"
[[bin]]
name = "sectorad"
path = "src/daemon.rs"
[lib]
name = "nss_sectora"
path = "src/lib.rs"
crate-type = ["cdylib"]
[package.metadata.deb]
maintainer = "Yasuyuki YAMADA <[email protected]>"
copyright = "2017-2020 Yasuyuki YAMADA <[email protected]>"
depends = "$auto, systemd, openssh-server"
extended-description = """\
**Sector A**uthentication
(formerly named as **ghteam-auth**)
Using this program, you can grant login privileges on your servers to GitHub team members or outside collaborators of your repository.
Implemented with Rust."""
section = "admin"
priority = "optional"
assets = [
["target/release/sectora", "usr/sbin/", "755"],
["target/release/sectorad", "usr/sbin/", "755"],
["target/release/libnss_sectora.so", "usr/lib/libnss_sectora.so", "644"],
["target/release/libnss_sectora.so", "usr/lib/libnss_sectora.so.2", "644"],
["assets/conf-files/sectora.conf", "etc/sectora.conf", "644"],
["assets/sectora.sh", "usr/sbin/", "755"],
["assets/sectora.service", "etc/systemd/system/", "644"],
]
conf-files = ["/etc/sectora.conf"]
maintainer-scripts = "assets/scripts"