#metrics #unleash #response

unleash-types

API types for Unleash (https://github.com/Unleash/unleash) client features API response

42 releases

0.15.10 Mar 4, 2025
0.15.6 Jan 30, 2025
0.14.0 Oct 18, 2024
0.13.0 Jul 19, 2024
0.2.1 Nov 24, 2022

#201 in Web programming

Download history 67/week @ 2024-12-15 1/week @ 2024-12-22 136/week @ 2024-12-29 777/week @ 2025-01-05 386/week @ 2025-01-12 181/week @ 2025-01-19 441/week @ 2025-01-26 310/week @ 2025-02-02 350/week @ 2025-02-09 1057/week @ 2025-02-16 404/week @ 2025-02-23 683/week @ 2025-03-02 290/week @ 2025-03-09 265/week @ 2025-03-16 274/week @ 2025-03-23 106/week @ 2025-03-30

945 downloads per month
Used in 4 crates

MIT license

70KB
2K SLoC

Coverage Status

Unleash types

This project represents Unleash OpenAPI types as Rust structs.

Usage

Add unleash-types to your Cargo file.

Client features

  • client_features::ClientFeatures struct represents the data as it comes back from an Unleash server from the /api/client/features endpoint.

Client metrics

  • client_metrics::ClientApplication struct represents the data expected by an Unleash server in a POST to the /api/client/register endpoint
  • client_metrics::ClientMetrics struct represents the data expected by an Unleash server in a POST to the /api/client/metrics endpoint

Frontend types

  • frontend::FrontendResults struct represents the data expected by a proxy client GET call to the /api/proxy | /api/frontend endpoints.

Dependencies

~2–3.5MB
~66K SLoC