//! # Supertonic
//!
//! Supertonic is a Rust library for text-to-speech (TTS) functionality.
//!
//! ## Status
//!
//! This is an early placeholder release to reserve the crate name.
//! Full functionality is under development.
//!
//! ## Usage
//!
//! This crate is currently in early development. Please check back later
//! for updates and functionality.

#![warn(missing_docs)]

/// Returns the current version of the supertonic library.
///
/// # Examples
///
/// ```
/// use supertonic::version;
/// 
/// let ver = version();
/// assert!(!ver.is_empty());
/// ```
pub fn version() -> &'static str {
    env!("CARGO_PKG_VERSION")
}

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

    #[test]
    fn test_version() {
        let ver = version();
        assert!(!ver.is_empty());
        assert_eq!(ver, env!("CARGO_PKG_VERSION"));
    }
}

