printerfacts/Cargo.toml

42 lines
1.1 KiB
TOML
Raw Normal View History

2020-05-13 20:38:16 +00:00
[package]
name = "printerfacts"
version = "0.3.0"
2020-05-13 20:38:16 +00:00
authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018"
2020-07-16 20:10:45 +00:00
build = "build.rs"
description = "Printer facts: The API"
license = "MIT"
2020-05-13 20:38:16 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2020-07-09 22:19:03 +00:00
anyhow = "1"
hyper = "0.14"
2020-07-16 20:10:45 +00:00
lazy_static = "1.4"
mime = "0.3.0"
2020-05-15 13:16:16 +00:00
pfacts = "0.1.0"
2020-07-16 20:10:45 +00:00
prometheus = { version = "0.9", default-features = false, features = ["process"] }
2020-05-13 20:38:16 +00:00
rand = "0"
2020-07-09 22:19:03 +00:00
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1.5", features = ["net"] }
tracing = "0.1"
tracing-subscriber = "0.2"
warp = "0.3"
2020-07-16 20:10:45 +00:00
[build-dependencies]
ructe = { version = "0", features = ["warp03"] }
[package.metadata.rpm]
package = "printerfacts"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
printerfacts = { path = "/usr/bin/printerfacts" }
[package.metadata.rpm.files]
"printerfacts.default" = { path = "/etc/default/printerfacts", mode = "644" }
"printerfacts.service" = { path = "/lib/systemd/system/printerfacts.service" }