mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 06:57:52 +00:00
Disable snake case warnings for json configs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user