mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic_udp: serde-rename AccessListMode variants to lowercase
This commit is contained in:
parent
f0846e3128
commit
b3d1bcb7f1
2 changed files with 1 additions and 2 deletions
2
TODO.md
2
TODO.md
|
|
@ -3,8 +3,6 @@
|
|||
* access lists:
|
||||
* test functionality
|
||||
* rename Allow to Require?
|
||||
* serde-rename AccessListTypes to lowercase
|
||||
* serde-rename list_type to type?
|
||||
* implement for aquatic_http and aquatic_ws
|
||||
|
||||
* Don't unwrap peer_address
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ use hashbrown::HashSet;
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum AccessListMode {
|
||||
Allow,
|
||||
Deny,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue