RustAudio / rust-lv2

A safe, fast, and modular framework to create LV2 plugins, written in Rust
Apache License 2.0
171 stars 23 forks source link

Add allow(non_camel_case_types) to generated type #92

Closed Philipp91 closed 3 years ago

Philipp91 commented 3 years ago

Currently, rust-analyzer complains:

Structure `__lv2_plugin_ports_derive_Ports_PortPointerCache` should have CamelCase name, e.g. `Lv2PluginPortsDerivePortsPortPointerCache`

As of this commit, rust-analyzer will honor allow(non_camel_case_types), so I'm trying to add it here. I have no idea if this actually works though.

prokopyl commented 3 years ago

Thanks for the fix, @Philipp91 ! 😄