Speed up procfs scanning
[bustd.git] / Cargo.toml
blob16bde0e2ad51c10c65ea4b1366e77e361c672d31
1 [package]
2 name = "bustd"
3 authors = ["Vinícius R. Miguel <vrmiguel99@gmail.com>"]
4 version = "0.1.1"
5 edition = "2018"
6 readme = "README.md"
7 repository = "https://github.com/vrmiguel/bustd"
8 description = "Lightweight process killer daemon for out-of-memory scenarios"
9 categories = ["command-line-utilities", "memory-management"]
10 license = "MIT"
11 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13 [dependencies]
14 glob = { version = "0.3.1", optional = true }
15 libc      = "0.2.144"
16 cfg-if    = "1.0.0"
17 daemonize = "0.5.0"
18 argh      = "0.1.10"
19 memchr    = "2.5.0"
21 [build-dependencies]
22 cc   = "1.0.68"
23 libc = "0.2.97"
25 [dev-dependencies]
26 # Using a somewhat popular crate, `procfs`, to test our own
27 # implementation of proc-fs reads.
28 # Probably not the best decision possible but OK for now
29 procfs = { version = "0.14.2", default-features = false }
31 [features]
32 glob-ignore = ["glob"]
34 [profile.release]
35 lto = true
36 codegen-units = 1
37 opt-level = 3
38 strip = true