fizzy-sdk 0.2.4

Official Fizzy API client, generated from the Smithy model in spec/
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The SDK and API versions, and the `User-Agent` built from them.

pub use crate::generated::API_VERSION;

/// The SDK's own version, from Cargo.toml.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");

/// The `User-Agent` requests go out with: the SDK and the API contract it was built
/// against, which is how Fizzy sees what a client is working from.
pub fn default_user_agent() -> String {
    format!("fizzy-sdk-rust/{VERSION} (api:{API_VERSION})")
}