Commit Graph

146 Commits

Author SHA1 Message Date
moznion 89f36717e5 Add example implementation for server and client 2020-11-28 04:08:26 +09:00
moznion bf412991b0 Remove unnecessary debug logs 2020-11-28 04:08:10 +09:00
moznion f73a22ad49 Fix user-password encryption and decryption 2020-11-28 04:03:26 +09:00
moznion dbe8a9f226 Fix alignment bug 2020-11-28 04:03:05 +09:00
moznion fb67a5471e dep 2020-11-27 23:34:52 +09:00
moznion e0a56492e8 Fix invalid logics 2020-11-27 23:29:19 +09:00
moznion df257747ae Return Result<T, E> at RequestHandler 2020-11-27 23:28:05 +09:00
moznion ff94fd56db Support rfc2867 2020-11-25 23:26:58 +09:00
moznion 5dc004fb0d Adjust dicts 2020-11-25 23:22:47 +09:00
moznion f32f8cd816 fmt 2020-11-25 23:18:00 +09:00
moznion f74cf77fc8 Apply cargo fix on code generation 2020-11-25 23:17:22 +09:00
moznion cb8b31a6b0 cargo fix 2020-11-25 23:15:06 +09:00
moznion e003e7fb99 Add rfc2866 dict 2020-11-25 23:14:00 +09:00
moznion e95a1d3071 Fix helper script to generate code 2020-11-25 23:12:29 +09:00
moznion 76990a1fee Truncate the trailing comment on dict 2020-11-25 23:10:34 +09:00
moznion c67a8f88dd Fix code generator to ensure the order of the generated values 2020-11-25 23:03:47 +09:00
moznion 30daa6839d Add helper script to generate the code 2020-11-25 22:25:15 +09:00
moznion 6e6412acc3 Support dict defined value 2020-11-25 20:31:06 +09:00
moznion 2d9816a3da Refactor the code generator 2020-11-25 01:37:26 +09:00
moznion a8cfc1e9c0 Support integer attribute type 2020-11-25 01:20:32 +09:00
moznion d108309629 Support ipv4 attribute type 2020-11-25 01:18:11 +09:00
moznion cb9876940c Support octets type 2020-11-25 01:13:31 +09:00
moznion 426b2faf53 Simplify the code 2020-11-25 01:10:28 +09:00
moznion 5d5d1dbf68 Support to generate user-password attribute 2020-11-25 01:04:05 +09:00
moznion 84943f10eb Add code generator for string attribute 2020-11-25 00:43:11 +09:00
moznion 7e6831e282 Add README 2020-11-24 02:29:47 +09:00
moznion f4fedb6761 Describe the license 2020-11-24 02:22:53 +09:00
moznion 9e2bacaff5 Ignore Cargo.lock 2020-11-24 02:04:54 +09:00
moznion 3eab4f16b1 Add code-generator proto 2020-11-24 02:03:11 +09:00
moznion 6c7012c609 fmt 2020-11-24 01:55:03 +09:00
moznion d1af19f5f0 Fix clippy warnings 2020-11-24 01:50:57 +09:00
moznion d0a954fc6e Correct warnings for the slice length condition 2020-11-24 01:39:39 +09:00
moznion 7a036d58ad Correct unsuitable signature 2020-11-24 01:37:36 +09:00
moznion 139afbee25 Adjust the signature 2020-11-24 01:06:23 +09:00
moznion 04b962ab36 Add client impl 2020-11-23 16:34:12 +09:00
moznion cf03846e73 Fix the logic for the server shutdown_trigger 2020-11-23 15:25:55 +09:00
moznion f7485efff3 Fix vec initialization 2020-11-23 14:05:20 +09:00
moznion dba99279e7 Add shutdown trigger for server 2020-11-23 13:53:25 +09:00
moznion 454eab6b4a Use arc for server traits 2020-11-23 11:58:27 +09:00
moznion 1d8f3b5daf Use tokio::select 2020-11-23 11:40:22 +09:00
moznion 6164f7b597 Add server 2020-11-23 01:37:05 +09:00
moznion 3ffb8b75be Add packet package 2020-11-22 01:11:42 +09:00
moznion 0766f51c62 Add attributes 2020-11-20 00:03:05 +09:00
moznion c386bce28e Add attribute package 2020-11-19 23:16:14 +09:00
moznion 46eee46b8d Add Code enum 2020-11-18 23:52:09 +09:00
moznion aa1a6c5c88 Initial commit 2020-11-18 23:49:55 +09:00