Commit Graph

61 Commits

Author SHA1 Message Date
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
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