tokio-rs / bytes

Utilities for working with bytes
MIT License
1.87k stars 278 forks source link

Document which `Buf` and `BufMut` functions require `std` #591

Closed MrGunflame closed 1 year ago

MrGunflame commented 1 year ago

Marks Buf and BufMut functions that depend on std as so.

MrGunflame commented 1 year ago

This would require a nightly rustdoc. Would it make sense to switch CI to a nightly rustdoc job (like tokio does)?

Darksonn commented 1 year ago

Nightly rustdoc is fine. You should add the full command with --cfg docsrs in the readme too.

MrGunflame commented 1 year ago

Switched the publish_docs to nightly and added a section in the readme.