wose / satnogs-monitor

Terminal UI monitor for your SatNOGS ground station.
GNU General Public License v3.0
78 stars 6 forks source link

Use of deprecated constant std::sync::ONCE_INIT #32

Closed arc12 closed 2 years ago

arc12 commented 2 years ago

Observed when using "cargo run --release" as per the build instructions:

   Compiling satnogs-monitor v0.4.2 (/home/pi/satnogs-monitor/monitor)
warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
   --> monitor/src/main.rs:168:17
    |
168 |         .author(crate_authors!("\n"))
    |                 ^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default
    = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
   --> monitor/src/main.rs:168:17
    |
168 |         .author(crate_authors!("\n"))
    |                 ^^^^^^^^^^^^^^^^^^^^
    |
    = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info)

^C  Building [=======================> ] 204/205: satnogs-monitor(bin)