unleash-types

Crates.iounleash-types
lib.rsunleash-types
version0.14.0
sourcesrc
created_at2022-11-22 14:16:46.449402
updated_at2024-10-18 20:51:02.314664
descriptionAPI types for Unleash (https://github.com/Unleash/unleash) client features API response
homepagehttps://github.com/Unleash/unleash-types-rs
repositoryhttps://github.com/Unleash/unleash-types-rs
max_upload_size
id720845
size202,864
Gastón Fournier (gastonfournier)

documentation

README

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.
Commit count: 92

cargo fmt