#response #unleash #metrics #api

unleash-types

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

46 releases

0.15.14 May 1, 2025
0.15.10 Mar 4, 2025
0.14.0 Oct 18, 2024
0.13.0 Jul 19, 2024
0.2.1 Nov 24, 2022

#544 in Text processing

Download history 365/week @ 2025-01-31 302/week @ 2025-02-07 1013/week @ 2025-02-14 536/week @ 2025-02-21 609/week @ 2025-02-28 366/week @ 2025-03-07 278/week @ 2025-03-14 173/week @ 2025-03-21 205/week @ 2025-03-28 390/week @ 2025-04-04 181/week @ 2025-04-11 198/week @ 2025-04-18 534/week @ 2025-04-25 238/week @ 2025-05-02 196/week @ 2025-05-09 44/week @ 2025-05-16

1,022 downloads per month
Used in 4 crates

MIT license

76KB
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–4MB
~70K SLoC