first commit
This commit is contained in:
1
main/.gitignore
vendored
Normal file
1
main/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/target
|
||||
7
main/Cargo.toml
Normal file
7
main/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "main"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
database = { path = "../database" }
|
||||
10
main/src/main.rs
Normal file
10
main/src/main.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use database::add;
|
||||
use database::sub;
|
||||
|
||||
fn main() {
|
||||
let test = add(2, 5);
|
||||
let sub = sub(10, 5);
|
||||
|
||||
println!("{test}");
|
||||
println!("{sub}");
|
||||
}
|
||||
Reference in New Issue
Block a user