Commit Graph

53 Commits

Author SHA1 Message Date
moznion
83c39f7861 Add test cases 2020-11-29 01:13:51 +09:00
moznion
59751c718f Add test case for rfc2865_7_1 2020-11-28 19:16:45 +09:00
moznion
4a99b9f9b2 Typesafe lookup_all 2020-11-28 18:43:58 +09:00
moznion
a20f1a1d28 Typesafe lookup 2020-11-28 18:29:37 +09:00
moznion
09a82d3454 Wrap FromUtf8Error by AVPError 2020-11-28 18:12:09 +09:00
moznion
b46b4ceaf9 Rename 2020-11-28 17:59:59 +09:00
moznion
9aa39d584a Separate the code generator to dedicated project 2020-11-28 17:52:49 +09:00
moznion
a529b5f0a6 Fix clippy warnings 2020-11-28 17:37:43 +09:00
moznion
869c7cb98b Show usage for code_gen 2020-11-28 17:35:56 +09:00
moznion
5864b003e2 Refactor the error type 2020-11-28 17:26:14 +09:00
moznion
a88823b251 Restrict the accessibility for Attributes 2020-11-28 16:59:53 +09:00
moznion
93cd024301 Add test case for AVP 2020-11-28 16:44:35 +09:00
moznion
43f3e5f844 Refactor: Attribute -> AVP 2020-11-28 16:20:38 +09:00
moznion
505ac8d61d Remove unnecessary comment 2020-11-28 15:43:37 +09:00
moznion
dc1fbe85ad Refactor 2020-11-28 15:40:31 +09:00
moznion
2d2069b0ab Rename 2020-11-28 15:39:41 +09:00
moznion
4b7eb55c10 Remove dead code 2020-11-28 15:27:07 +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
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
f32f8cd816 fmt 2020-11-25 23:18:00 +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
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
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
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