# 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 = "dom-content-extraction" version = "0.3.4" build = false exclude = [ "tmp/*", "benches/*", "html/*", ".github/*", ".gitignore", ".tmuxp.yaml", "notes.org", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust implementation of Content extraction via text density paper" homepage = "https://github.com/oiwn/dom-content-extraction" documentation = "https://docs.rs/dom-content-extraction/latest/dom_content_extraction/" readme = "README.md" keywords = ["dom-text-density"] categories = [ "data-structures", "web-programming", "text-processing", ] license = "MPL-2.0" repository = "https://github.com/oiwn/dom-content-extraction" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "dom_content_extraction" path = "src/lib.rs" doctest = false [[example]] name = "ce_score" path = "examples/ce_score.rs" [[example]] name = "check" path = "examples/check.rs" [dependencies.ego-tree] version = "0.9" [dependencies.scraper] version = "0.21" [dependencies.thiserror] version = "2.0.3" [dev-dependencies.anyhow] version = "1" [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rayon] version = "1" [dev-dependencies.regex] version = "1" [dev-dependencies.zip] version = "2.2"