{arcanite-noark,arcanite-siard}: init
This commit is contained in:
parent
d2c41c87cc
commit
ca3f65f5fe
10
Cargo.lock
generated
10
Cargo.lock
generated
@ -1,6 +1,6 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "arcanite-addml"
|
||||
@ -13,6 +13,14 @@ dependencies = [
|
||||
"vec1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "arcanite-noark"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "arcanite-siard"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "1.0.11"
|
||||
|
@ -1,5 +1,8 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
|
||||
members = [
|
||||
"arcanite-addml",
|
||||
"arcanite-noark",
|
||||
"arcanite-siard",
|
||||
]
|
||||
|
6
arcanite-noark/Cargo.toml
Normal file
6
arcanite-noark/Cargo.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "arcanite-noark"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
14
arcanite-noark/src/lib.rs
Normal file
14
arcanite-noark/src/lib.rs
Normal 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);
|
||||
}
|
||||
}
|
6
arcanite-siard/Cargo.toml
Normal file
6
arcanite-siard/Cargo.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "arcanite-siard"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
14
arcanite-siard/src/lib.rs
Normal file
14
arcanite-siard/src/lib.rs
Normal 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);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user