[package]
name = "fs_scraper"
version = "0.1.1"
authors = ["Dardan <mail@dardan.im>"]
edition = "2018"
description = "A scraper for [FjalorShqip](https://fjalorshqip.com)."
license = "MIT"
[dependencies]
async-std = {version = "1", optional = true}
futures = {version = "0.3", optional = true}
futures-intrusive = {version = "0.3", optional = true}
lazy_static = {version = "1.4", optional = true}
scraper = {version = "0.12", optional = true}
serde = {version = "1", optional= true}
serde_derive = {version = "1", optional= true}
serde_json = {version = "1", optional= true}
surf = {version = "1", optional = true}
structopt = { version = "0.3", optional = true }
[features]
default = ["lib", "cli"]
cli = ["structopt", "serde_json", "async-std"]
lib = ["serde", "serde_derive", "surf", "scraper", "futures", "futures-intrusive", "lazy_static"]
[lib]
path = "src/lib/mod.rs"
required-features = ["lib"]
[[bin]]
name = "fs_scraper"
path = "src/cli/mod.rs"
doc = false
required-features = ["cli"]