This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
39 lines (36 loc) · 1.41 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
[package]
name = "pam-send-slack-message"
version = "0.2.0"
edition = "2018"
authors = ["Iuri Diniz <iuridiniz@gmail.com>"]
license = "MIT"
keywords = ["pam", "sshd", "ssh", "slack"]
readme = "README.md"
repository = "https://github.com/iuridiniz/pam-send-slack-message/"
description = "pam helper that publishes messages on Slack based on ssh access"
[package.metadata.deb]
extended-description = """\
pam-send-slack-message is a program that publishes messages on slack when the linux server is accessed through ssh."""
recommends = "openssh-server"
assets = [
["target/release/pam-send-slack-message", "/usr/bin/pam-send-slack-message", "755"],
["src/settings.default.toml", "etc/pam-send-slack-message.toml", "600"],
["README.md", "usr/share/doc/pam-send-slack-message/README", "644" ],
["LICENSE", "usr/share/doc/pam-send-slack-message/LICENSE", "644" ],
]
conf-files = ["etc/pam-send-slack-message.toml"]
[dependencies]
log = "0.4.14"
reqwest = { version = "0.11.5", features = ["blocking", "rustls-tls"], default-features = false }
# reqwest = { version = "0.11.5", features = ["blocking", "native-tls-vendored"], default-features = false }
simple_logger = {version = "1.13.0", features = ["stderr"]}
ellipse = "0.2.0"
chrono = "0.4.19"
chrono-tz = "0.6.0"
gethostname = "0.2.1"
config = "0.11.0"
serde = { version = "1.0.130", features = ["derive"] }
[profile.release]
lto = true
panic = "abort"
opt-level = "z"