mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
e9c650c966
* Use workspace lints * Use underscores for the lints, since they are canonically written that way * Put lints after features
89 lines
2.0 KiB
TOML
89 lines
2.0 KiB
TOML
[workspace]
|
|
members = [
|
|
"examples/*",
|
|
"vulkano",
|
|
"vulkano-macros",
|
|
"vulkano-shaders",
|
|
"vulkano-util",
|
|
# "vulkano-win",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies.vulkano]
|
|
version = "0.34"
|
|
path = "vulkano"
|
|
default-features = false
|
|
|
|
[workspace.dependencies.vulkano-macros]
|
|
version = "0.34"
|
|
path = "vulkano-macros"
|
|
|
|
[workspace.dependencies.vulkano-shaders]
|
|
version = "0.34"
|
|
path = "vulkano-shaders"
|
|
|
|
[workspace.dependencies.vulkano-util]
|
|
version = "0.34"
|
|
path = "vulkano-util"
|
|
|
|
[workspace.dependencies]
|
|
ahash = "0.8"
|
|
# When updating Ash, also update vk.xml to the same Vulkan patch version that Ash uses.
|
|
# All versions of vk.xml can be found at:
|
|
# https://github.com/KhronosGroup/Vulkan-Headers/commits/main/registry/vk.xml
|
|
ash = "0.37.3"
|
|
bytemuck = "1.9"
|
|
core-graphics-types = "0.1"
|
|
crossbeam-queue = "0.3"
|
|
half = "2.0"
|
|
heck = "0.4"
|
|
indexmap = "2.0"
|
|
libloading = "0.8"
|
|
nom = "7.1"
|
|
objc = "0.2.5"
|
|
once_cell = "1.17"
|
|
parking_lot = "0.12"
|
|
proc-macro2 = "1.0"
|
|
proc-macro-crate = "2.0"
|
|
quote = "1.0"
|
|
raw-window-handle = "0.6"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
shaderc = "0.8"
|
|
slabbin = "1.0"
|
|
smallvec = "1.8"
|
|
syn = "2.0"
|
|
thread_local = "1.1"
|
|
vk-parse = "0.12"
|
|
winit = "0.29"
|
|
|
|
# Only used in examples
|
|
glam = "0.25"
|
|
png = "0.17"
|
|
rand = "0.8"
|
|
ron = "0.8"
|
|
|
|
[workspace.lints]
|
|
rust.missing_docs = "allow" # TODO: warn eventually
|
|
rust.rust_2018_idioms = "warn"
|
|
rust.rust_2024_compatibility = "allow" # TODO: warn eventually
|
|
clippy.missing_safety_doc = "allow" # TODO: warn eventually
|
|
clippy.trivially_copy_pass_by_ref = "warn"
|
|
# These lints are a bit too pedantic, so they're disabled here.
|
|
# They can be removed if they no longer happen in the future.
|
|
clippy.arc_with_non_send_sync = "allow"
|
|
clippy.collapsible_else_if = "allow"
|
|
clippy.collapsible_if = "allow"
|
|
clippy.len_without_is_empty = "allow"
|
|
clippy.needless_borrowed_reference = "allow"
|
|
clippy.nonminimal_bool = "allow"
|
|
clippy.result_large_err = "allow"
|
|
clippy.too_many_arguments = "allow"
|
|
clippy.type_complexity = "allow"
|
|
|
|
[profile.CI]
|
|
inherits = "dev"
|
|
debug = 0
|
|
codegen-units = 1
|
|
incremental = false
|