feedparser-rs 0.4.4

High-performance RSS/Atom/JSON Feed parser
Documentation
# 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 = "2024"
rust-version = "1.88.0"
name = "feedparser-rs"
version = "0.4.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance RSS/Atom/JSON Feed parser"
readme = "README.md"
keywords = [
    "rss",
    "atom",
    "feed",
    "parser",
    "feedparser",
]
categories = [
    "parsing",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/feedparser-rs"
resolver = "2"

[features]
default = ["http"]
http = ["dep:reqwest"]

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

[[example]]
name = "error_handling"
path = "examples/error_handling.rs"

[[example]]
name = "parse_file"
path = "examples/parse_file.rs"

[[example]]
name = "parse_url"
path = "examples/parse_url.rs"

[[example]]
name = "podcast_feed"
path = "examples/podcast_feed.rs"

[[example]]
name = "profile_memory"
path = "examples/profile_memory.rs"

[[test]]
name = "http_integration"
path = "tests/http_integration.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "issue45_test"
path = "tests/issue45_test.rs"

[[test]]
name = "namespace_edge_cases"
path = "tests/namespace_edge_cases.rs"

[[test]]
name = "namespace_integration"
path = "tests/namespace_integration.rs"

[[test]]
name = "test_podcast_namespace"
path = "tests/test_podcast_namespace.rs"

[[test]]
name = "test_rss10"
path = "tests/test_rss10.rs"

[[test]]
name = "test_url_resolution"
path = "tests/test_url_resolution.rs"

[[test]]
name = "test_url_security"
path = "tests/test_url_security.rs"

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[[bench]]
name = "types"
path = "benches/types.rs"
harness = false

[dependencies.ammonia]
version = "4.1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.compact_str]
version = "0.9"
features = ["serde"]

[dependencies.encoding_rs]
version = "0.8"

[dependencies.html-escape]
version = "0.2"

[dependencies.memchr]
version = "2.8"

[dependencies.quick-xml]
version = "0.39"

[dependencies.regex]
version = "1.12"

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "gzip",
    "deflate",
    "brotli",
    "rustls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.dhat]
version = "0.3.3"

[dev-dependencies.flate2]
version = "1.1"

[dev-dependencies.mockito]
version = "1.7"

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
too_many_lines = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"