1
0
Fork 0

Rename packages to snake case

I much prefer kebab case, but snake case is better here since Rust would
convert it to snake case when used as an identifier anyways and you also
can't use snake case modules without explicit module path attributes.
This commit is contained in:
Robbert van der Helm 2022-01-25 12:30:15 +01:00
parent 6357711783
commit 4cd9c6d3d3
9 changed files with 44 additions and 5 deletions

43
Cargo.lock generated
View file

@ -3,9 +3,48 @@
version = 3
[[package]]
name = "nih-plug"
name = "nih_plug"
version = "0.1.0"
[[package]]
name = "nih-plug-derive"
name = "nih_plug_derive"
version = "0.1.0"
dependencies = [
"quote",
"syn",
]
[[package]]
name = "proc-macro2"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029"
dependencies = [
"unicode-xid",
]
[[package]]
name = "quote"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145"
dependencies = [
"proc-macro2",
]
[[package]]
name = "syn"
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b"
dependencies = [
"proc-macro2",
"quote",
"unicode-xid",
]
[[package]]
name = "unicode-xid"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"

View file

@ -1,2 +1,2 @@
[workspace]
members = ["nih-plug", "nih-plug-derive"]
members = ["nih_plug", "nih_plug_derive"]

View file

@ -1,5 +1,5 @@
[package]
name = "nih-plug"
name = "nih_plug"
version = "0.1.0"
edition = "2021"
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]

View file

@ -1,5 +1,5 @@
[package]
name = "nih-plug-derive"
name = "nih_plug_derive"
version = "0.1.0"
edition = "2021"
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]