#discord-api #discord #request-parameters #twilight #api-request

twilight-validate

Functions and constants for validating request parameters

23 releases

0.16.0-rc.1 Feb 21, 2024
0.15.3 Sep 10, 2023
0.15.1 Feb 26, 2023
0.14.0 Nov 14, 2022
0.10.1 Mar 20, 2022

#968 in Web programming

Download history 9024/week @ 2024-08-18 14067/week @ 2024-08-25 7583/week @ 2024-09-01 9697/week @ 2024-09-08 7657/week @ 2024-09-15 9263/week @ 2024-09-22 17129/week @ 2024-09-29 3418/week @ 2024-10-06 14215/week @ 2024-10-13 8199/week @ 2024-10-20 12358/week @ 2024-10-27 2098/week @ 2024-11-03 26582/week @ 2024-11-10 27753/week @ 2024-11-17 5323/week @ 2024-11-24 20588/week @ 2024-12-01

80,413 downloads per month
Used in 18 crates (11 directly)

ISC license

1.5MB
33K 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.3–2.1MB
~44K SLoC