harlanc / xiu

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
https://www.rustxiu.com
MIT License
1.61k stars 168 forks source link

Cargo build warnings #59

Closed harlanc closed 7 months ago

harlanc commented 9 months ago

After update rustup:

rustup update  
rustup -V
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.72.1 (d5c2e9c34 2023-09-13)`

Got the following warnings:

warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`

Because job_scheduler = "1.2.1" references cron = "0.6.1" and cron v0.6.1 references "nom 4.1.1", but job_scheduler doesn't exist a newer version. So we need to find some other creates to replace job_scheduler or wait for job_scheduler's update.