#discord #discord-api #twilight

twilight-validate

Functions and constants for validating request parameters

15 releases (5 breaking)

Uses new Rust 2021

0.14.0 Nov 14, 2022
0.13.1 Sep 1, 2022
0.12.1 Jul 26, 2022
0.10.1 Mar 20, 2022

#202 in Rust patterns

Download history 520/week @ 2022-08-15 545/week @ 2022-08-22 398/week @ 2022-08-29 595/week @ 2022-09-05 702/week @ 2022-09-12 494/week @ 2022-09-19 362/week @ 2022-09-26 315/week @ 2022-10-03 229/week @ 2022-10-10 212/week @ 2022-10-17 514/week @ 2022-10-24 414/week @ 2022-10-31 523/week @ 2022-11-07 759/week @ 2022-11-14 452/week @ 2022-11-21 349/week @ 2022-11-28

2,108 downloads per month
Used in 15 crates (5 directly)

ISC license

1.5MB
30K SLoC

twilight-validate

codecov badge discord badge github badge license badge rust badge

twilight-validate contains constants, methods, and error types for validating request parameters in the twilight-rs ecosystem.

This crate is used internally by twilight-http, but may also be used for manually validating any models from twilight-model.

Dependencies

~1.4–2.1MB
~42K SLoC