TheWaWaR / simple-http-server

Simple http server in Rust (Windows/Mac/Linux)
MIT License
2.63k stars 175 forks source link

Future incompatibility with Cargo #97

Closed ghost closed 11 months ago

ghost commented 11 months ago

I installed the dark mode version using:

cargo install --git https://github.com/yurtaev/simple-http-server --branch="features/dark-mode"

The installation process went well but at the end I've encountered the following warnings:


warning: use of deprecated method chrono::TimeZone::timestamp: use timestamp_opt() instead --> src\util.rs:136:11 136 Local.timestamp(sec, nsec) ^^^^^^^^^
= note: `#[warn(deprecated)]` on by default

warning: simple-http-server (bin "simple-http-server") generated 1 warning Finished release [optimized] target(s) in 2m 20s warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1, traitobject v0.1.0 note: to see what the problems were, use the option --future-incompat-report, or run cargo report future-incompatibilities --id 1 Installing C:

TheWaWaR commented 11 months ago

Fixed in https://github.com/TheWaWaR/simple-http-server/commit/9514f99c78e8a42a38572d2a1365aaa0bc2112b9

ghost commented 11 months ago

Good work!

On Thu, Oct 26, 2023 at 10:51 AM LinFeng @.***> wrote:

Fixed in 9514f99 https://github.com/TheWaWaR/simple-http-server/commit/9514f99c78e8a42a38572d2a1365aaa0bc2112b9

— Reply to this email directly, view it on GitHub https://github.com/TheWaWaR/simple-http-server/issues/97#issuecomment-1781171936, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6N2AJKQHPNE7GZV5GCKSLLYBJTHNAVCNFSM6AAAAAA6CJZG3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRGE3TCOJTGY . You are receiving this because you authored the thread.Message ID: @.***>