mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 18:38:50 +00:00
Disable snake case warnings for json configs
This commit is contained in:
1 parent
ddf0a883f9
commit
c127d1f024
1 file changed
+2
@@ -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