91 lines
1.7 KiB
TOML
91 lines
1.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "scraper"
|
|
version = "0.25.0"
|
|
authors = ["June McEnroe <june@causal.agency>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "HTML parsing and querying with CSS selectors"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"html",
|
|
"css",
|
|
"selector",
|
|
"scraping",
|
|
]
|
|
license = "ISC"
|
|
repository = "https://github.com/rust-scraper/scraper"
|
|
|
|
[features]
|
|
atomic = []
|
|
default = [
|
|
"main",
|
|
"errors",
|
|
]
|
|
deterministic = ["indexmap"]
|
|
errors = []
|
|
main = ["getopts"]
|
|
serde = ["dep:serde"]
|
|
|
|
[lib]
|
|
name = "scraper"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "scraper"
|
|
path = "src/main.rs"
|
|
required-features = ["main"]
|
|
|
|
[[example]]
|
|
name = "document"
|
|
path = "examples/document.rs"
|
|
|
|
[[example]]
|
|
name = "fragment"
|
|
path = "examples/fragment.rs"
|
|
|
|
[dependencies.cssparser]
|
|
version = "0.36.0"
|
|
|
|
[dependencies.ego-tree]
|
|
version = "0.10.0"
|
|
|
|
[dependencies.getopts]
|
|
version = "0.2.24"
|
|
optional = true
|
|
|
|
[dependencies.html5ever]
|
|
version = "0.36.0"
|
|
|
|
[dependencies.indexmap]
|
|
version = "2.12.1"
|
|
optional = true
|
|
|
|
[dependencies.precomputed-hash]
|
|
version = "0.1.1"
|
|
|
|
[dependencies.selectors]
|
|
version = "0.33.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.228"
|
|
optional = true
|
|
|
|
[dependencies.tendril]
|
|
version = "0.4.3"
|