Inherit the future-incompatible guard in every plugin built from this template.
This commit is contained in:
@@ -23,6 +23,14 @@ vst3 = ["nih_plug/vst3"]
|
||||
# `cdylib` is the plugin binary; `lib` (rlib) lets `cargo test` link the unit tests.
|
||||
crate-type = ["cdylib", "lib"]
|
||||
|
||||
# Future-incompatibility warnings are deferred hard errors: rustc is telling you
|
||||
# this code stops compiling on some later release. Denying the group turns that
|
||||
# into a build failure the day it appears, rather than accumulating unnoticed
|
||||
# until a toolchain bump breaks the build on a day you did not choose. Style and
|
||||
# clippy lints are deliberately untouched - they stay warnings.
|
||||
[lints.rust]
|
||||
future_incompatible = { level = "deny", priority = -1 }
|
||||
|
||||
[dependencies]
|
||||
# Pinned to the same commit as musiikki/codename-206.
|
||||
# Update the `rev` when you want to update NIH-plug.
|
||||
|
||||
Reference in New Issue
Block a user