-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (41 loc) · 1.17 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
[package]
name = "libnss-mapper-rs"
version = "0.1.0"
edition = "2021"
license = "Unlicense"
description = "A library mapping arbitrary users to real ones"
readme = "README.md"
authors = ["Tino Müller <[email protected]>"]
[dependencies]
libc = "0.2"
lazy_static = "1.4"
paste = "1.0"
libnss = "0.4"
syslog = "^6.0"
[lib]
name = "nss_mapper"
crate-type = ["cdylib"]
[features]
default = ["syslog"]
syslog = []
[package.metadata.deb]
name = "libnss-mapper"
maintainer = "Tino Müller <[email protected]>"
copyright = "2023, Tino Müller <[email protected]>"
extended-description = """\
A library for the Name Service Switch \
to map arbitrary users to real ones."""
depends = "$auto"
section = "admin"
priority = "optional"
conflicts = "libnss-mapper-nosyslog"
assets = [
["target/x86_64-unknown-linux-gnu/release/libnss_mapper.so", "usr/lib/x86_64-linux-gnu/libnss_mapper.so.2", "644"],
["README.md", "usr/share/doc/libnss_mapper/README", "644"],
["assets/nssmapper.conf", "etc/", "644"]
]
maintainer-scripts = "debian"
[package.metadata.deb.variants.no-syslog]
name = "libnss-mapper-nosyslog"
default-features = false
conflicts = "libnss-mapper"