diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 86d7f84..def1784 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -20,7 +20,7 @@ default = ["loaded", "debug"] linked = [] # Support searching for the Vulkan loader manually at runtime. loaded = ["libloading"] -# Whether Vulkan structs should implement Debug +# Whether Vulkan structs should implement Debug. debug = [] [package.metadata.release] diff --git a/ash/src/lib.rs b/ash/src/lib.rs index 50c9d8f..93da99f 100644 --- a/ash/src/lib.rs +++ b/ash/src/lib.rs @@ -33,6 +33,12 @@ //! Load the Vulkan library linked at compile time using [`Entry::linked()`], or load it at runtime //! using [`Entry::load()`], which uses `libloading`. If you want to perform entry point loading //! yourself, call [`Entry::from_static_fn()`]. +//! +//! ## Crate features +//! +//! * **debug** (default): Whether Vulkan structs should implement `Debug`. +//! * **loaded** (default): Support searching for the Vulkan loader manually at runtime. +//! * **linked**: Link the Vulkan loader at compile time. pub use crate::device::Device; pub use crate::entry::Entry;