mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-04 06:59:42 +08:00
Rust vs Python benchmark results: - RSS: Rust 0.299 ms/loop vs Python 7.913 ms/loop, 26.47x faster - Filter: Rust 12.740 ms/loop vs Python 57.187 ms/loop, 4.49x faster - MetaInfo: Rust 64.680 ms/loop vs Python 316.158 ms/loop, 4.89x faster - Indexer agsvpt: Rust 145.76 ms vs Python 3686.50 ms, 25.29x faster - Indexer pttime: Rust 166.51 ms vs Python 4019.87 ms, 24.14x faster - Indexer chdbits: Rust 161.17 ms vs Python 3604.28 ms, 22.36x faster - Indexer iptorrents: Rust 77.82 ms vs Python 17615.52 ms, 226.36x faster Validation: - cargo fmt/check/test for rust/moviepilot_rust - pytest Rust-related coverage: tests/test_rust_accel.py tests/test_torrent_filter.py tests/test_metainfo.py tests/test_indexer_spider_search_url.py tests/test_workflow_fetch_rss.py - tests/run.py legacy suite - pylint app/ --errors-only
22 lines
399 B
TOML
22 lines
399 B
TOML
[package]
|
|
name = "moviepilot-rust"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "moviepilot_rust"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
anitomy-pure = "0.1"
|
|
fancy-regex = "0.14"
|
|
inputx-pinyin = "1.0.2"
|
|
minijinja = "2.20"
|
|
chrono = "0.4"
|
|
once_cell = "1.20"
|
|
pyo3 = { version = "0.23", features = ["abi3-py311", "extension-module"] }
|
|
quick-xml = "0.38"
|
|
regex = "1.11"
|
|
scraper = "0.24"
|
|
url = "2.5"
|