diff options
| author | omagdy <omar.professional8777@gmail.com> | 2025-07-23 00:44:07 +0300 |
|---|---|---|
| committer | omagdy <omar.professional8777@gmail.com> | 2025-07-23 00:44:07 +0300 |
| commit | 7dbaa99eb721748f5eff2839817c6742029ad2b3 (patch) | |
| tree | a8a34de7a44d25858d87c27b10a7d79afacd261d /src/resp_parser.rs | |
| parent | 257330132dacc2e754a858c342be1ef2a1105c8f (diff) | |
| download | redis-rust-7dbaa99eb721748f5eff2839817c6742029ad2b3.tar.xz redis-rust-7dbaa99eb721748f5eff2839817c6742029ad2b3.zip | |
feat: Added simple response to INFO replication command
Diffstat (limited to 'src/resp_parser.rs')
| -rw-r--r-- | src/resp_parser.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resp_parser.rs b/src/resp_parser.rs index a00bc1b..952176c 100644 --- a/src/resp_parser.rs +++ b/src/resp_parser.rs @@ -7,6 +7,10 @@ use std::{ isize, }; +// TODO: [ ] Refactor this mess and find a better way to merge the RespType and RedisValue type?? +// TODO: [ ] Find a better way to convert from RespType to bytes and vice versa +// TODO: [ ] Refactor the use of Vec<u8> to the bytes crate + pub const SIMPLE_STRING: u8 = b'+'; pub const SIMPLE_ERROR: u8 = b'-'; pub const INTEGER: u8 = b':'; |
