Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (55 loc) · 1.36 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (55 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[workspace]
members = [
"crates/feedparser-rs-core",
"crates/feedparser-rs-node",
"crates/feedparser-rs-py",
]
resolver = "2"
[workspace.package]
version = "0.7.2"
edition = "2024"
rust-version = "1.91.0"
authors = ["bug-ops"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/feedparser-rs"
keywords = ["rss", "atom", "feed", "parser", "feedparser"]
categories = ["parsing", "web-programming"]
[workspace.dependencies]
ammonia = "4.2"
anyhow = "1.0"
chrono = { version = "0.4", default-features = false }
compact_str = { version = "0.10", features = ["serde"] }
criterion = "0.8"
encoding_rs = "0.8"
flate2 = "1.1"
html-escape = "0.3"
mockito = "1.7"
napi = "3.16"
napi-derive = "3.7"
pyo3 = "0.30"
quick-xml = "0.42"
reqwest = { version = "0.13", default-features = false }
serde = "1.0"
serde_json = "1.0"
thiserror = "2.0"
tokio = { version = "1", default-features = false }
url = "2.5"
[workspace.lints.rust]
unsafe_code = "warn"
missing_docs = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
assert_is_empty = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
[profile.release]
lto = true
codegen-units = 1
strip = true
opt-level = 3