initial commit

Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
This commit is contained in:
Soc Virnyl Estela 2024-06-14 23:32:16 +08:00
commit bccf08774b
Signed by: uncomfyhalomacro
SSH key fingerprint: SHA256:9Ez84JDMZLHJvRH+Kjgvlb+eX82QYEW127e6Rj66zBY
4 changed files with 24 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

6
Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "doctor-ascii"
version = "0.1.0"
edition = "2021"
[dependencies]

3
README.asciidoc Normal file
View file

@ -0,0 +1,3 @@
= doctor-ascii
A Rust Implementation of the AsciiDoc Specification

14
src/lib.rs Normal file
View file

@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}