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),
|
Vless(VlessOutboundSettings),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(non_snake_case)]
|
||||||
struct TlsSettings {
|
struct TlsSettings {
|
||||||
allowInsecure: bool,
|
allowInsecure: bool,
|
||||||
certificates: u8,
|
certificates: u8,
|
||||||
@@ -86,6 +87,7 @@ struct TlsSettings {
|
|||||||
pinnedPeerCertificatePublicKeySha256: u8,
|
pinnedPeerCertificatePublicKeySha256: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(non_snake_case)]
|
||||||
struct StreamSettings {
|
struct StreamSettings {
|
||||||
network: String,
|
network: String,
|
||||||
security: String,
|
security: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user