aa7b429f4f
* Mark EntryCustom::new_custom as unsafe Passing a badly-behaved `load` function can invoke undefined behavior. * Document required feature for Entry * Support linking Vulkan directly This is the preferred pattern in most environments when an application cannot function without Vulkan, as it saves the libloading dependency, eliminates an error case, and makes the Vulkan dependency visible to the OS. * Rename libloading feature to "loaded" * Link by default * Guide users towards linking the loader directly * Remove unnecessary error type InstanceError::LoadError was never constructed. * Unify entry types Simplifies the interface and allows a bunch of code to become monomorphic.
29 lines
692 B
TOML
29 lines
692 B
TOML
[package]
|
|
name = "ash"
|
|
version = "0.33.3+1.2.191"
|
|
authors = ["maik klein <maikklein@googlemail.com>"]
|
|
description = "Vulkan bindings for Rust"
|
|
license = "MIT"
|
|
repository = "https://github.com/MaikKlein/ash"
|
|
readme = "../README.md"
|
|
keywords = ["vulkan", "graphic"]
|
|
documentation = "https://docs.rs/ash"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
libloading = { version = "0.7", optional = true }
|
|
|
|
[features]
|
|
default = ["linked"]
|
|
# Link the Vulkan loader at compile time.
|
|
linked = []
|
|
# Support searching for the Vulkan loader manually at runtime.
|
|
loaded = ["libloading"]
|
|
|
|
[package.metadata.release]
|
|
no-dev-version = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|