Clean up code; Again make 'bool' decoding fallible; Bring back 'BoolDecodeError' error; Add 'BadChar' and 'NonBool' variants to 'GenericDecodeError'; Fix 'GenericDecodeError' not implementing 'From<CharDecodeError>'; Implement 'From<BoolDecodeError>' for 'GenericDecodeError'; Fix '<Option as Decode>::Error' not being a form of 'EnumDecodeError'; Remove 'string' and 'vec' modules (including contents); Remove 'string' and 'vec' macros; Update readme; Fix '<{Option, Result, SocketAddr} as Encode>::Error' not being forms of 'EnumEncodeError';

This commit is contained in:
Gabriel Bjørnager Jensen 2025-04-04 17:54:28 +02:00
parent 40ff018433
commit ffb19c5a97
26 changed files with 231 additions and 2370 deletions

View file

@ -32,7 +32,7 @@ readme.workspace = true
repository.workspace = true
[dependencies]
oct = { path = "../oct", version = "0.21", features = ["proc-macro"]}
oct = { path = "../oct", version = "0.22", features = ["proc-macro"]}
bincode = "2.0"
rand = "0.9"