Skip to main content

anselmus/
lib.rs

1//! # ANSELMUS
2//!
3//! **A**bridged **N**otation for **S**cholarly **E**ditions: **L**eiden **M**arkup **U**tility **S**ystem.
4//!
5//! This crate is currently in a private alpha stage at Sapienza University of Rome.
6//! The name is reserved for the upcoming release of the ANSELMUS parser and utility suite.
7
8/// Placeholder function to verify compilation.
9pub fn version() -> &'static str {
10    env!("CARGO_PKG_VERSION")
11}
12
13use nom::IResult;
14
15/// Placeholder parser function
16pub fn parse_placeholder(input: &str) -> IResult<&str, &str> {
17    Ok((input, ""))
18}
19
20#[cfg(test)]
21mod tests {
22    use super::*;
23
24    #[test]
25    fn it_works() {
26        assert_eq!(version(), "0.1.0");
27    }
28}