File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 126126//!
127127//! - `alloc`: Enable functionality requiring the [`alloc`] crate from
128128//! the Rust standard library. For example, methods that return a
129- //! `Vec` rather than filling a statically-sized array. This requires
130- //! a global allocator; you can use the `global_allocator` feature or
131- //! provide your own. This is independent of internal direct usages of the
129+ //! `Vec` rather than filling a statically-sized array.
130+ //! We **highly recommend** activating this feature as more and more
131+ //! functionality in `uefi-rs` depends and will depend on `alloc` for
132+ //! convenience and good developer experience.
133+ //! The `alloc` feature requires a global allocator: you can use the
134+ //! `global_allocator` feature or provide your own. The global allocator and
135+ //! the `alloc` feature are independent of internal direct usages of the
132136//! UEFI boot service allocator which may happen anyway, where necessary.
133137//! - `global_allocator`: Set [`allocator::Allocator`] as the global Rust
134138//! allocator. This is a simple allocator that relies on the UEFI pool
You can’t perform that action at this time.
0 commit comments