Document crate feature
s in library docs (#627)
This commit is contained in:
parent
6308470479
commit
c6f8da0515
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue