lodestone-parser/Cargo.toml

53 lines
1.3 KiB
TOML
Raw Normal View History

2018-09-02 19:12:52 +00:00
[package]
name = "lodestone_parser"
2019-01-15 19:12:11 +00:00
version = "0.1.1"
2018-09-02 19:12:52 +00:00
authors = ["Kyle Clemens <git@kyleclemens.com>"]
edition = "2018"
[features]
default = ["logic", "with_serde"]
logic = [
"cssparser",
"failure",
"lazy_static",
"scraper",
]
with_serde = [
"serde",
"serde_derive",
"url_serde",
]
2018-09-02 19:12:52 +00:00
[dependencies]
cssparser = { version = "0.25", optional = true }
failure = { version = "0.1", optional = true }
lazy_static = { version = "1", optional = true }
# scraper = { version = "0.9", optional = true }
# switch back to main once pr is merged updating dependencies
scraper = { git = "https://github.com/jkcclemens/scraper", optional = true }
serde = { version = "1", optional = true }
serde_derive = { version = "1", optional = true }
2018-09-02 19:12:52 +00:00
url = "1"
url_serde = { version = "0.2", optional = true }
2018-09-02 19:12:52 +00:00
# with serde
[target.'cfg(feature = "with_serde")'.dependencies.chrono]
2018-09-02 19:12:52 +00:00
version = "0.4"
features = ["serde"]
[target.'cfg(feature = "with_serde")'.dependencies.ffxiv_types]
2018-09-04 19:09:56 +00:00
version = "1"
2018-09-02 19:12:52 +00:00
default-features = false
2018-09-02 20:01:22 +00:00
features = ["worlds", "races", "clans", "guardians", "with_serde"]
# without serde
[target.'cfg(not(feature = "with_serde"))'.dependencies.chrono]
version = "0.4"
[target.'cfg(not(feature = "with_serde"))'.dependencies.ffxiv_types]
version = "1"
default-features = false
features = ["worlds", "races", "clans", "guardians"]