Commit Graph

58 Commits

Author SHA1 Message Date
gengteng
af02a87ef1 feat: add support for Cbor 2024-04-14 21:41:16 +08:00
gengteng
0ce56f3368 feat: Update validator to v0.17.0 and refactor argument-based validation using validator 2024-03-05 12:52:36 +08:00
gengteng
2b6641c558 fix: Use conditional compilation for 'sonic' module 2024-03-01 10:47:01 +08:00
gengteng
ec2005a7a4 chore: fix rustfmt error 2024-03-01 10:44:27 +08:00
gengteng
3e1736aff7 feat: add support for sonic 2024-03-01 10:31:31 +08:00
gengteng
8acf2c2ff6 feat: Add typed_multipart support for axum 0.7 2023-12-04 11:35:30 +08:00
gengteng
566382f34a feat: add support extractors from axum-serde 2023-11-30 15:50:33 +08:00
gengteng
e8888c75e9 build(deps): update axum requirement from 0.6.x to 0.7.x 2023-11-28 22:50:44 +08:00
gengteng
b2d2c3d7ca add support for validify 2023-10-20 17:46:48 +08:00
gengteng
61bf3c5b23 remove redundant trait bound; add support for validify 2023-10-18 12:46:53 +08:00
gengteng
a3ca376769 refactor Rejections 2023-10-09 19:53:19 +08:00
gengteng
6cf325b19d refactor doc tests 2023-10-09 11:37:27 +08:00
gengteng
04e42b6ba6 fix: make validator pub 2023-10-08 19:18:23 +08:00
gengteng
c0b78615e8 fix doc error 2023-10-08 19:14:56 +08:00
gengteng
dd68fe6131 update 2023-10-08 14:34:26 +08:00
gengteng
2f1aa1060f add test for Garde 2023-10-07 21:11:26 +08:00
gengteng
21ee4e7913 fix compilation error 2023-10-07 12:07:59 +08:00
gengteng
3d055d11a3 update docs 2023-09-29 13:37:55 +08:00
gengteng
b0fe4cacda add tests for ValidEx::arguments 2023-09-29 12:15:42 +08:00
gengteng
21d7ce5e4e refactor Arguments 2023-09-29 10:57:12 +08:00
gengteng
e4f54a5cb9 add tests 2023-09-29 10:14:40 +08:00
gengteng
9b28922201 add tests 2023-09-28 23:46:22 +08:00
gengteng
1be91ee5b6 refactor Arguments 2023-09-28 22:30:58 +08:00
gengteng
af533b37c3 refactor: rename traits and generic types 2023-09-28 17:24:54 +08:00
gengteng
fbf0b67a3d add ArgumentsStore 2023-09-28 17:22:19 +08:00
gengteng
cffea88d07 remove response_builder from ValidationContext; rename ValidationContext to ValidationArguments 2023-09-28 14:51:13 +08:00
gengteng
359fa2e8ac impl FromRef<()> for ValidationContext<()> 2023-09-27 21:54:44 +08:00
gengteng
8f1aab74c6 refactor ValidationContext 2023-09-27 18:57:21 +08:00
gengteng
f85fcd5dbf remove impl FromRef<()> for ValidationContext 2023-09-27 17:17:24 +08:00
gengteng
5a5c24678f use ref as args 2023-09-27 13:26:20 +08:00
gengteng
a6da64d6c9 rename ValidArgs to ValidEx 2023-09-27 12:10:06 +08:00
gengteng
5b15f15ce3 impl HasValidateArgs for all extractors 2023-09-27 10:31:45 +08:00
gengteng
323d16c142 add doc for ValidArgs 2023-09-26 18:46:00 +08:00
gengteng
f4a2d2c2de impl ValidArgs 2023-09-26 18:06:27 +08:00
gengteng
1d080cef0c fix typo 2023-09-26 17:32:43 +08:00
gengteng
c683c45a9a docs: add documentation for ValidationContext, ValidError and ValidRejection 2023-09-26 17:28:12 +08:00
gengteng
fdf3a3362e remove 'static 2023-09-26 16:08:00 +08:00
gengteng
1a349287bc impl Error for ValidRejection 2023-09-23 22:45:20 +08:00
gengteng
0f1e595efe add ValidationContext and refactor ValidRejection 2023-09-23 21:46:10 +08:00
gengteng
600dfcd92a Bump version to 0.8.0 2023-09-19 22:42:17 +08:00
gengteng
e7dba8fd0b add examples and support for typed_path 2023-09-12 20:49:35 +08:00
gengteng
1b46256c39 add support for TypedMultipart 2023-09-04 23:24:26 +08:00
gengteng
cb1fb51112 add into_inner and tests for Error/Display 2023-08-05 12:49:54 +08:00
gengteng
7748006538 Merge branch 'main' of https://github.com/gengteng/axum-valid 2023-08-05 12:20:43 +08:00
gengteng
7134197a55 add tests for WithRejection<Valid<...>> 2023-08-05 11:57:09 +08:00
Rick van der Wal
42ed7c7dc7 Add error implementation for ValidRejection 2023-08-04 17:21:40 +02:00
gengteng
d95e04b4d4 update to 0.5.0 2023-08-04 18:50:02 +08:00
gengteng
a48a2a640c fix: incorrect json response content type 2023-08-01 22:11:44 +08:00
gengteng
8da4d2519d add feature 422 and update version to 0.4.0 2023-08-01 12:55:40 +08:00
gengteng
91ce221dd3 add into_json feature 2023-08-01 12:38:14 +08:00