Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true
autoexamples = false

[lints]
Expand All @@ -18,6 +19,9 @@ cuda = ["dep:processing_cuda", "processing_cuda/cuda"]
resolver = "3"
members = ["crates/*", "tools/*"]

[workspace.package]
rust-version = "1.95"

[workspace.lints.clippy]
type_complexity = "allow"
too_many_arguments = "allow"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ _Note: you can use any file name you want for your sketch_

You'll need to install the Rust toolchain to work on this project. Most users will want to install Rust via [`rustup`](https://rustup.rs/), which helps manage Rust toolchain versions.

libprocessing requires **Rust 1.95 or newer** (the minimum is set by `rust-version` in [`Cargo.toml`](Cargo.toml) and follows what our Bevy dependency requires). If you installed Rust a while ago, update to the latest stable toolchain before building:

```bash
rustup update stable
```

### Clone the project and its submodules

When cloning this repo (or your fork), don't forget to install its submodules (eg. Lygia)
Expand Down
1 change: 1 addition & 0 deletions crates/processing_audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_audio"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[dependencies]
bevy = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/processing_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_core"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_cuda"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_ffi"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_glfw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_glfw"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_input/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_input"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_midi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_midi"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[dependencies]
bevy = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/processing_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_node"
version = "0.0.5"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_pyo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_pyo3"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_render"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/processing_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_wasm"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
1 change: 1 addition & 0 deletions crates/processing_webcam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "processing_webcam"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions tools/generate_stubs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "generate_stubs"
version = "0.4.0"
edition = "2024"
rust-version.workspace = true
publish = false

[dependencies]
Expand Down
Loading