MemoriesOfTime / raknet-rs

Raknet protocol implementation by rust
Apache License 2.0
4 stars 0 forks source link

Is not stable #4

Open Adrian8115 opened 2 months ago

Adrian8115 commented 2 months ago

The current version uses unstable features of certain crates.

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> C:\Users\mee\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-async-stream-macro-0.2.10\src\lib.rs:13:12
   |
13 | #![feature(proc_macro_def_site)]
   |            ^^^^^^^^^^^^^^^^^^^

This error originates from the futures-async-stream-macro crate version 0.2.10. It would be admirable to get raknet-rs compiled using the stable channel.

iGxnon commented 2 months ago

Sorry for the late reply, I am currently busy with my studies. The futures-async-stream-macro is only being used for testing purposes at the moment (for convenience). It can possible replaced by async_stream. I would greatly appreciate it if you can submit a PR to solve this issue.

Edit: It may take a while to get it a stable toolchain. Because I use some features to build the most basic abstractions. (You can also try nightly. :D)