# 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 = "reqwest-scraper" version = "0.5.8" authors = ["holmofy"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Web scraping integration with reqwest" readme = "README.md" license = "MIT" repository = "https://github.com/holmofy/reqwest-scraper" [lib] name = "reqwest_scraper" path = "src/lib.rs" [[example]] name = "html" path = "examples/html.rs" [[example]] name = "include_http" path = "examples/include_http.rs" [[example]] name = "json" path = "examples/json.rs" [[example]] name = "test-scraper" path = "examples/test-scraper.rs" [[example]] name = "xpath" path = "examples/xpath.rs" [dependencies.async-trait] version = "0.1" [dependencies.encoding_rs] version = "0.8" [dependencies.itertools] version = "0.13" [dependencies.jsonpath_lib] version = "0.3" optional = true [dependencies.libxml] version = "0.3" optional = true [dependencies.mime] version = "0.3" [dependencies.reqwest] version = "0.12" [dependencies.reqwest-scraper-macros] version = "0.5.3" optional = true [dependencies.scraper] version = "0.20" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.anyhow] version = "1.0" features = ["backtrace"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] css_selector = ["scraper"] default = [ "jsonpath", "css_selector", "xpath", "macros", ] jsonpath = [ "jsonpath_lib", "serde", "serde_json", "reqwest/json", ] macros = ["reqwest-scraper-macros"] xpath = ["libxml"]