tvl-depot/Cargo.toml
Vincent Ambo c6c1746428 refactor: Introduce json feature and make it optional
Gates support for `serde_json` behind a Cargo feature called `json`
that is enabled by default.
2019-02-26 13:49:43 +01:00

13 lines
274 B
TOML

[package]
name = "crimp"
version = "0.1.0"
authors = ["Vincent Ambo <mail@tazj.in>"]
[features]
default = [ "json" ]
json = [ "serde", "serde_json"]
[dependencies]
curl = "0.4"
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }