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

twilight-validate

Functions and constants for validating request parameters

24 releases

new 0.16.0 Jan 12, 2025
0.16.0-rc.1 Feb 21, 2024
0.15.3 Sep 10, 2023
0.15.1 Feb 26, 2023
0.10.1 Mar 20, 2022

#602 in Web programming

Download history 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 22646/week @ 2024-12-01 19367/week @ 2024-12-08 14466/week @ 2024-12-15 320/week @ 2024-12-22 2330/week @ 2024-12-29 19401/week @ 2025-01-05

36,994 downloads per month
Used in 23 crates (11 directly)

ISC license

1.5MB
36K 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–2MB
~44K SLoC