bandsnatch
bandsnatch copied to clipboard
Outdated `html5ever` version required by `soup` produces future-incompatibilities warning
Just as an heads-up. Building with Rust-1.72.0 spits-out the following warning:
Compiling bandsnatch v0.3.0 (/usr/pkgsrc/wip/bandsnatch/work/bandsnatch-0.3.0)
warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` instead
--> src/api/structs/digital_item.rs:50:34
|
50 | Some(d) => match Utc.datetime_from_str(d, FORMAT) {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: function `command` is never used
--> src/cmds/release.rs:18:14
|
18 | pub async fn command(_args: Args) -> Result<(), Box<dyn std::error::Error>> {
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `bandsnatch` (bin "bandsnatch") generated 2 warnings
Finished release [optimized] target(s) in 9m 01s
warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.22.5
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`