Split out in workspace, added host crate

This commit is contained in:
Martin Slot 2022-03-15 22:25:46 +01:00
parent 564d2e86b8
commit f3b9fa1aa2
4 changed files with 19 additions and 12 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
host/Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

View File

@ -1,12 +1,7 @@
[package]
name = "pixel"
version = "0.1.0"
edition = "2021"
[workspace]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = "0.5.0-rc.1"
async-trait = "0.1.52"
kernel = { path = "kernel" }
server = { path = "server" }
members = [
"host",
"kernel",
"server"
]

12
host/Cargo.toml Normal file
View File

@ -0,0 +1,12 @@
[package]
name = "pixel"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = "0.5.0-rc.1"
async-trait = "0.1.52"
kernel = { path = "../kernel" }
server = { path = "../server" }