Split out in workspace, added host crate
This commit is contained in:
parent
564d2e86b8
commit
f3b9fa1aa2
|
@ -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
|
||||
|
|
17
Cargo.toml
17
Cargo.toml
|
@ -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"
|
||||
]
|
|
@ -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" }
|
Loading…
Reference in New Issue