Commit Graph

70 Commits

Author SHA1 Message Date
moznion
ea17d8cf5d 📝 doc 2020-11-29 02:28:49 +09:00
moznion
3d8488d7b4 Fix type opt handling 2020-11-29 02:09:59 +09:00
moznion
a975e7ca69 Add skeleton code for tagged attribute value 2020-11-29 01:57:21 +09:00
moznion
490f1ce622 Fix code generator 2020-11-29 01:43:38 +09:00
moznion
cb83a41b25 Refactor 2020-11-29 01:24:33 +09:00
moznion
e426b8f935 Fix code generator 2020-11-29 01:21:19 +09:00
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
a4044c29e2 Add util make subcmd 2020-11-28 17:37:32 +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
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