mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
docs: document crate features (#3269)
This commit is contained in:
@ -6,6 +6,15 @@
|
||||
))]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
//! A fast RLP implementation.
|
||||
//!
|
||||
//! ## Feature Flags
|
||||
//!
|
||||
//! This crate works on `#[no_std]` targets if `std` is not enabled.
|
||||
//!
|
||||
//! - `derive`: Enables derive macros.
|
||||
//! - `std`: Uses the Rust standard library.
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
extern crate alloc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user