Disable snake case warnings for json configs

This commit is contained in:
Keivan-sf
2023-10-17 16:57:57 +03:30
parent ddf0a883f9
commit c127d1f024

View File

@@ -68,6 +68,7 @@ enum OutboundSettings {
Vless(VlessOutboundSettings),
}
#[allow(non_snake_case)]
struct TlsSettings {
allowInsecure: bool,
certificates: u8,
@@ -86,6 +87,7 @@ struct TlsSettings {
pinnedPeerCertificatePublicKeySha256: u8,
}
#[allow(non_snake_case)]
struct StreamSettings {
network: String,
security: String,