story-dl 0.2.0

Story web scraping
Documentation
[package]
name = "story-dl"
version = "0.2.0"
authors = ["Txuritan <txuritan@protonmail.com>"]

license = "MIT/Apache-2.0"

description = "Story web scraping"
readme = "README.md"

documentation = "https://docs.rs/story_dl"
repository = "https://gitlab.com/Txuritan/story-dl"

edition = "2018"

[badges]
maintenance = { status = "experimental" }

[[bin]]
name = "story-dl"
path = "src/main.rs"
doc = false

[lib]
name = "story_dl"
path = "src/lib.rs"

[features]
default = ["cli", "rustls"]

openssl = ["awc/openssl"]
rustls = ["awc/rustls"]

cli = ["clap", "comrak", "epub", "itertools", "json", "messagepack"]

epub = ["epub-builder"]
json = ["serde", "serde", "serde_json", "chrono/serde"]
messagepack = ["serde", "serde", "rmps", "chrono/serde"]

[dependencies]
# Core
actix-rt = "1.0"
actix-threadpool = "0.3"
awc = "1.0"
bytes = "0.5"
chrono = "0.4"
html5ever = "0.24"
lazy_static = "1.4"
rand = "0.7"
scraper = { version = "0.11", default-features = false }

# CLI
clap = { version = "2.33", optional = true, features = ["wrap_help"] }
itertools = { version = "0.8", optional = true }
log = { version = "0.4", features = ["std"] }
serde = { version = "1.0", optional = true, features = ["derive"] }

# CLI/EPub
comrak = { version = "0.6", optional = true, default-features = false }
epub-builder = { version = "0.4", optional = true, default-features = false, features = ["zip-library"] }

# CLI/JSON
serde_json = { version = "1.0", optional = true }

# CLI/MessagePack
rmps = { package = "rmp-serde", version = "0.14", optional = true }