Skip to content

Commit

Permalink
Merge pull request #201 from rust-scraper/workspaces
Browse files Browse the repository at this point in the history
Introduce workspaces
  • Loading branch information
cfvescovo authored Aug 28, 2024
2 parents 8fda509 + a6889c5 commit f31452c
Show file tree
Hide file tree
Showing 24 changed files with 800 additions and 130 deletions.
180 changes: 87 additions & 93 deletions Cargo.lock

Large diffs are not rendered by default.

40 changes: 3 additions & 37 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
[package]
name = "scraper"
version = "0.20.0"
edition = "2021"
[workspace]
resolver = "2"

description = "HTML parsing and querying with CSS selectors"
keywords = ["html", "css", "selector", "scraping"]

authors = ["June McEnroe <[email protected]>"]
license = "ISC"

repository = "https://github.com/causal-agent/scraper"
readme = "README.md"

[dependencies]
cssparser = "0.31.0"
ego-tree = "0.7.0"
html5ever = "0.27"
selectors = "0.25.0"
tendril = "0.4.3"
ahash = "0.8"
indexmap = { version = "2.4.0", optional = true }

[dependencies.getopts]
version = "0.2.21"
optional = true

[features]
default = ["main", "errors"]
deterministic = ["indexmap"]
main = ["getopts"]
atomic = []
errors = []

[[bin]]
name = "scraper"
path = "src/main.rs"
required-features = ["main"]
members = ["scraper"]
Loading

0 comments on commit f31452c

Please sign in to comment.