restructure

This commit is contained in:
griffi-gh 2023-01-30 01:46:22 +01:00
parent af2a01fad7
commit 478930e37c
60 changed files with 71 additions and 36 deletions

View file

@ -1,35 +1,18 @@
[package]
name = "kubi"
version = "0.1.0"
edition = "2021"
[dependencies]
glium = "0.32"
image = { version = "0.24", default_features = false, features = ["png"] }
log = "0.4"
env_logger = "0.10"
strum = { version = "0.24", features = ["derive"] }
glam = { version = "0.22", features = ["debug-glam-assert", "mint", "fast-math"] }
hashbrown = "0.13"
rayon = "1.6"
shipyard = { version = "0.6", features = ["thread_local"] }
nohash-hasher = "0.2.0"
anyhow = "1.0"
flume = "0.10"
bracket-noise = "0.8"
#rkyv = "0.7"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 1
[profile.dev.package.glium]
opt-level = 3
[profile.dev.package.bracket-noise]
opt-level = 3
[profile.dev.package.rayon]
opt-level = 3
[workspace]
members = ["kubi", "kubi-server", "kubi-shared"]
resolver = "2"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 1
[profile.dev.package.glium]
opt-level = 3
[profile.dev.package.bracket-noise]
opt-level = 3
[profile.dev.package.rayon]
opt-level = 3

View file

@ -1 +0,0 @@
sorry no crabs here

8
kubi-server/Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "kubi-server"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
kubi-server/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

8
kubi-shared/Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "kubi-shared"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

14
kubi-shared/src/lib.rs Normal file
View file

@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

20
kubi/Cargo.toml Normal file
View file

@ -0,0 +1,20 @@
[package]
name = "kubi"
version = "0.1.0"
edition = "2021"
[dependencies]
glium = "0.32"
image = { version = "0.24", default_features = false, features = ["png"] }
log = "0.4"
env_logger = "0.10"
strum = { version = "0.24", features = ["derive"] }
glam = { version = "0.22", features = ["debug-glam-assert", "mint", "fast-math"] }
hashbrown = "0.13"
rayon = "1.6"
shipyard = { version = "0.6", features = ["thread_local"] }
nohash-hasher = "0.2.0"
anyhow = "1.0"
flume = "0.10"
bracket-noise = "0.8"
#rkyv = "0.7"

View file

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 229 B

View file

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 250 B

View file

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 386 B

View file

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

View file

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View file

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 347 B

View file

Before

Width:  |  Height:  |  Size: 798 B

After

Width:  |  Height:  |  Size: 798 B

View file

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 221 B

View file

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

View file

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View file

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 240 B

View file

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

View file

Before

Width:  |  Height:  |  Size: 455 B

After

Width:  |  Height:  |  Size: 455 B