feedparser-rs 0.4.3

High-performance RSS/Atom/JSON Feed parser
Documentation
[[bench]]
harness = false
name = "parsing"
path = "benches/parsing.rs"

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

[dependencies.ammonia]
version = "4.1"

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

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

[dependencies.encoding_rs]
version = "0.8"

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

[dependencies.memchr]
version = "2.7"

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

[dependencies.regex]
version = "1.12"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"

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

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

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

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

[[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"

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

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

[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"

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

[[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"