zenmanage 1.0.0

Official Zenmanage feature flags SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use std::sync::Arc;

use rocket::{Build, Rocket};

use crate::Zenmanage;

/// Attaches the SDK to Rocket managed state.
pub fn manage_sdk(rocket: Rocket<Build>, sdk: Arc<Zenmanage>) -> Rocket<Build> {
    rocket.manage(sdk)
}