viot/lib.rs
1//! # viot
2//!
3//! The main viot library providing core functionality.
4//!
5//! This is a placeholder implementation for initial crate publication.
6
7/// Returns a greeting message.
8///
9/// # Examples
10///
11/// ```
12/// let message = viot::hello();
13/// assert_eq!(message, "Hello from viot!");
14/// ```
15pub fn hello() -> &'static str {
16 "Hello from viot!"
17}
18
19#[cfg(test)]
20mod tests {
21 use super::*;
22
23 #[test]
24 fn test_hello() {
25 assert_eq!(hello(), "Hello from viot!");
26 }
27}