keeper-secrets-manager-core 17.1.0

Rust SDK for Keeper Secrets Manager
Documentation
// -*- coding: utf-8 -*-
//  _  __
// | |/ /___ ___ _ __  ___ _ _ (R)
// | ' </ -_) -_) '_ \/ -_) '_|
// |_|\_\___\___| .__/\___|_|
//              |_|
//
// Keeper Secrets Manager
// Copyright 2024 Keeper Security Inc.
// Contact: sm@keepersecurity.com
//

use lazy_static::lazy_static;

const SDK_VERSION: &str = env!("CARGO_PKG_VERSION");
const RUST_VERSION_PREFIX: &str = "mr";

pub fn get_client_version(_hardcode: bool) -> String {
    SDK_VERSION.to_string()
}

lazy_static! {
    static ref CLIENT_VERSION: String = get_client_version(false);
    pub static ref KEEPER_SECRETS_MANAGER_SDK_CLIENT_ID: String =
        format!("{}{}", RUST_VERSION_PREFIX, CLIENT_VERSION.clone());
}