build: move nonoka and nonoka-bevy inside a workspace
* chore(gitignore): ignore .cargo directory
This commit is contained in:
parent
568fad35d7
commit
1502bf8eb3
12 changed files with 35 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
|
/.cargo
|
||||||
/target
|
/target
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -32,6 +32,10 @@ dependencies = [
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "nonoka-bevy"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ppv-lite86"
|
name = "ppv-lite86"
|
||||||
version = "0.2.16"
|
version = "0.2.16"
|
||||||
|
|
12
Cargo.toml
12
Cargo.toml
|
@ -1,10 +1,16 @@
|
||||||
[package]
|
[workspace.package]
|
||||||
name = "nonoka"
|
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Mohammed Amar-Bensaber <renken@shione.net>"]
|
authors = ["Mohammed Amar-Bensaber <renken@shione.net>"]
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
|
|
||||||
[dependencies]
|
[workspace]
|
||||||
|
members = [
|
||||||
|
"nonoka",
|
||||||
|
"nonoka-bevy",
|
||||||
|
]
|
||||||
|
resolver = "2"
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rand_chacha = "0.3.1"
|
rand_chacha = "0.3.1"
|
||||||
|
|
8
nonoka-bevy/Cargo.toml
Normal file
8
nonoka-bevy/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[package]
|
||||||
|
name = "nonoka-bevy"
|
||||||
|
version.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
10
nonoka/Cargo.toml
Normal file
10
nonoka/Cargo.toml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[package]
|
||||||
|
name = "nonoka"
|
||||||
|
version.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
rand = { workspace = true }
|
||||||
|
rand_chacha = { workspace = true }
|
3
nonoka/src/main.rs
Normal file
3
nonoka/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in a new issue