Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoqsh committed Feb 28, 2024
1 parent 731bd99 commit d357593
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ window.run(dunge::update(upd, draw))?;
```

<div align="center">
<img src="./examples/window/s.png">
<img src="examples/window/s.png">
</div>

You can see full code from this example [here](https://github.com/nanoqsh/dunge/tree/main/examples/window) and run it using:
Expand Down
28 changes: 14 additions & 14 deletions dunge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[package]
name = "dunge"
description = "Simple and portable 3d render library"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
keywords = { workspace = true }
documentation = { workspace = true }
readme = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
keywords.workspace = true
documentation.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
dunge_macros = { workspace = true }
dunge_shader = { workspace = true }
bytemuck = { workspace = true }
glam = { workspace = true }
dunge_macros.workspace = true
dunge_shader.workspace = true
bytemuck.workspace = true
glam.workspace = true
instant = { version = "0.1", optional = true }
log = { workspace = true }
log.workspace = true
wgpu = { version = "0.19", default-features = false, features = ["naga-ir"] }

[dependencies.winit]
Expand Down
18 changes: 9 additions & 9 deletions dunge_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "dunge_macros"
description = "Procmacro for the dunge library"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
keywords = { workspace = true }
documentation = { workspace = true }
readme = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
keywords.workspace = true
documentation.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true

[lib]
proc-macro = true
Expand Down
22 changes: 11 additions & 11 deletions dunge_shader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[package]
name = "dunge_shader"
description = "Shader generator for the dunge library"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
keywords = { workspace = true }
documentation = { workspace = true }
readme = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
keywords.workspace = true
documentation.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
glam = { workspace = true }
log = { workspace = true }
glam.workspace = true
log.workspace = true
naga = "0.19"

[features]
Expand Down
2 changes: 1 addition & 1 deletion examples/cube/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cube"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion examples/ssaa/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ssaa"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion examples/triangle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "triangle"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion examples/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "wasm"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/window/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "window"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[dependencies]
dunge = { workspace = true, features = ["winit"] }
env_logger = { workspace = true }
helpers = { path = "../../helpers" }
env_logger.workspace = true
helpers.path = "../../helpers"

[lints]
workspace = true
4 changes: 2 additions & 2 deletions helpers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "helpers"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[dependencies]
async-channel = "2.1"
async-executor = { version = "1.8", optional = true }
async-net = { version = "2.0", optional = true }
bytemuck = { workspace = true }
bytemuck.workspace = true
futures-lite = "2.1"
http-body-util = { version = "0.1", optional = true }
hyper = { version = "1", features = ["http1", "server"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "xtask"
version = "0.1.0"
edition = { workspace = true }
edition.workspace = true
publish = false

[dependencies]
Expand Down

0 comments on commit d357593

Please sign in to comment.