networked-aframe / janus-plugin-sfu

Janus plugin to act as a kind of SFU for game networking data.
Mozilla Public License 2.0
2 stars 5 forks source link

Remove once_cell dependency in favor of new built-in OnceLock and LazyLock #15

Closed vincentfretin closed 1 month ago

vincentfretin commented 1 month ago

Replace once_cell::sync::OnceCell by built-in OnceLock https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html#oncecell-and-oncelock and once_cell::sync::Lazy by built-in LazyLock (https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html) This requires rust 1.80.