mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-21 22:47:55 +01:00
Move API into it's own crate
This commit is contained in:
parent
00077a7510
commit
4e60b5d767
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,4 +1,4 @@
|
||||
[submodule "schema"]
|
||||
path = schema
|
||||
path = api/schema
|
||||
url = https://gitlab.com/fabinfra/fabaccess/fabaccess-api
|
||||
branch = main
|
||||
|
@ -87,4 +87,4 @@ tempfile = "3.2"
|
||||
bincode = "1.3"
|
||||
|
||||
[workspace]
|
||||
members = ["modules/*"]
|
||||
members = ["modules/*", "api"]
|
||||
|
8
api/Cargo.toml
Normal file
8
api/Cargo.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "api"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
8
api/src/lib.rs
Normal file
8
api/src/lib.rs
Normal file
@ -0,0 +1,8 @@
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user