deprecated lint; clarify serde casing

This commit is contained in:
Brandon Thomas committed 2024-01-11 19:09:38 -05:00
1 parent d11c236257
commit dca8ff7014
50 files changed
+99 -49

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -20,6 +20,7 @@ pub enum MediaFileOriginModelType {
RvcV2,
/// SadTalker -- v1, we may add another enum value for future versions
#[serde(rename = "sad_talker")]
SadTalker,
/// so-vits-svc voice conversion models
+2 -1
View File
@@ -10,7 +10,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -18,7 +18,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
//// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -8,7 +8,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
//// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -7,7 +7,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -6,7 +6,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -6,7 +6,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
//// Okay to toggle
+2 -1
View File
@@ -4,7 +4,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -15,7 +15,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -10,7 +10,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -38,7 +38,8 @@ Here are the domain names we handle:
*/
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,6 +1,7 @@
#![forbid(dead_code)]
#![forbid(non_snake_case)]
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_imports)]
#![forbid(unused_must_use)] // Important
#![forbid(unused_mut)]
+2 -1
View File
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
//// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,4 +1,5 @@
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)]
//#![forbid(warnings)]
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,4 +1,5 @@
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)]
//#![forbid(warnings)]
@@ -1,4 +1,5 @@
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)]
//#![forbid(warnings)]
@@ -1,4 +1,5 @@
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)]
//#![forbid(warnings)]
+2 -1
View File
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -5,7 +5,8 @@
//!
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,5 +1,6 @@
// Never allow these
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
@@ -1,4 +1,5 @@
#![forbid(private_in_public)]
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)]
//#![forbid(warnings)]