something

This commit is contained in:
Jonas_Jones 2023-12-05 00:41:19 +01:00
parent 4e6172d222
commit fbbcede694
8 changed files with 788 additions and 18 deletions

11
src/v1/builtin/mod.rs Normal file
View file

@ -0,0 +1,11 @@
pub fn help() -> &'static str {
return "Please refer to the wiki at https://wiki.jonasjones.dev/Api/"
}
pub fn ping() -> &'static str {
return "pong"
}
pub fn version() -> &'static str {
return option_env!("CARGO_PKG_VERSION").unwrap_or("unknown")
}