vnstat_parse/Cargo.toml

23 lines
682 B
TOML

[package]
name = "vnstat_parse"
version = "0.1.0"
authors = ["Andrew Reid <glyph@mycelial.technology"]
edition = "2018"
description = "Parse output from `vnstat --oneline` command"
repository = "https://git.coopcloud.tech/glyph/vnstat_parse"
readme = "README.md"
license = "MIT"
[dependencies]
serde = { version = "1.0.130", features = ["derive"], optional = true }
miniserde = { version = "0.1.16", optional = true }
[features]
default = []
# Provide `Serialize` and `Deserialize` traits for the `Vnstat` struct using `miniserde`.
miniserde_support = ["miniserde"]
# Provide `Serialize` and `Deserialize` traits for the `Vnstat` struct using `serde`.
serde_support = ["serde"]