mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +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:
|
* access lists:
|
||||||
* test functionality
|
* test functionality
|
||||||
* rename Allow to Require?
|
* rename Allow to Require?
|
||||||
* serde-rename AccessListTypes to lowercase
|
|
||||||
* serde-rename list_type to type?
|
|
||||||
* implement for aquatic_http and aquatic_ws
|
* implement for aquatic_http and aquatic_ws
|
||||||
|
|
||||||
* Don't unwrap peer_address
|
* Don't unwrap peer_address
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ use hashbrown::HashSet;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize)]
|
#[derive(Clone, Copy, Debug, Serialize, Deserialize)]
|
||||||
|
#[serde(rename_all = "lowercase")]
|
||||||
pub enum AccessListMode {
|
pub enum AccessListMode {
|
||||||
Allow,
|
Allow,
|
||||||
Deny,
|
Deny,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue