eyre-rs / eyre

A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
Apache License 2.0
1.42k stars 68 forks source link

Handle future-incompat dependencies #116

Open thenorili opened 1 year ago

thenorili commented 1 year ago

pyo3 is a direct dependency and can be upgraded to 0.20.0 painlessly.

nom is 3 major versions behind and comes via ansi-parser 0.8.0. I'll reach out to that project and ask for an upgrade =]

result of cargo test:

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

`

nom v4.2.3 has the following newer versions available: 5.0.0-alpha1, 5.0.0-alpha2, 5.0.0-beta1, 5.0.0-beta2, 5.0.0-beta3, 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 6.0.0-alpha1, 6.0.0-alpha2, 6.0.0-alpha3, 6.0.0-beta1, 6.0.0-beta2, 6.0.0-beta3, 6.0.0-beta4, 6.0.0-beta5, 6.0.0, 6.0.1, 6.1.0, 6.1.1, 6.1.2, 6.2.0, 6.2.1, 6.2.2, 7.0.0-alpha1, 7.0.0-alpha2, 7.0.0-alpha3, 7.0.0, 7.1.0, 7.1.1, 7.1.2, 7.1.3 pyo3 v0.13.2 has the following newer versions available: 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.16.6, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.19.2, 0.20.0 `

pksunkara commented 1 year ago

Because of https://github.com/eyre-rs/color-eyre/issues/80 and https://github.com/eyre-rs/color-eyre/issues/99, we probably would need to move to https://github.com/rust-cli/anstyle and thus not need ansi-parser anymore.

sclu1034 commented 6 months ago

In the meantime, ansi-parser has been updated to nom v7.