nido-sdk 0.0.0-alpha.0

Pre-release metadata crate. Real Nido third-party SDK ships at >=0.1.0.
Documentation
// SPDX-License-Identifier: MIT OR Apache-2.0

//! # nido-sdk — placeholder crate
//!
//! Brand-reservation placeholder for the Nido third-party SDK. The
//! real `nido-sdk` ships at `>=0.1.0` with first-class support for
//! integrating external agents into Nido fleets via MCP, ACP, and A2A.
//!
//! See <https://securanido.com/nido> for the platform overview.

#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![doc(html_root_url = "https://docs.rs/nido-sdk/0.0.0-alpha.0")]

/// Metadata returned by [`brand_reservation`].
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct BrandReservation {
    /// The reserved crate name.
    pub name: &'static str,
    /// The placeholder version.
    pub version: &'static str,
    /// Status.
    pub status: &'static str,
}

/// Returns metadata about this brand-reservation placeholder.
#[inline]
pub const fn brand_reservation() -> BrandReservation {
    BrandReservation {
        name: "nido-sdk",
        version: env!("CARGO_PKG_VERSION"),
        status: "brand-reservation-placeholder",
    }
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn brand_reservation_metadata_is_stable() {
        assert_eq!(brand_reservation().name, "nido-sdk");
    }
}