Skip to content

Commit

Permalink
Renamed crates and updated deps
Browse files Browse the repository at this point in the history
Signed-off-by: Amjad Alsharafi <[email protected]>
  • Loading branch information
Amjad50 committed Oct 19, 2024
1 parent 619b588 commit e88ab27
Show file tree
Hide file tree
Showing 8 changed files with 760 additions and 1,256 deletions.
1,984 changes: 744 additions & 1,240 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[workspace]
resolver = "2"
members = [
"plastic_core", "plastic_ui", "plastic_ui_tui",
"plastic_core", "plastic_ui", "plastic_tui",
]
default-members = ["plastic_ui"]

Expand Down
6 changes: 3 additions & 3 deletions plastic_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plastic_core"
version = "0.1.0"
version = "0.3.0"
authors = ["Amjad Alsharafi <[email protected]>"]
edition = "2021"

Expand All @@ -9,6 +9,6 @@ edition = "2021"
[dependencies]
bitflags = "^1.2.1"

serde = { version = "1.0.115", features = ["derive"] }
bincode = "1.3.1"
serde = { version = "1.0", features = ["derive"] }
bincode = "1.3"

8 changes: 4 additions & 4 deletions plastic_ui_tui/Cargo.toml → plastic_tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "plastic_ui_tui"
version = "0.1.0"
name = "plastic_tui"
version = "0.3.0"
authors = ["Amjad Alsharafi <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
plastic_core = { path = "../plastic_core" }
plastic_core = { path = "../plastic_core", version = "0.3.0" }

crossterm = "0.28"
gilrs = "^0.7.4"
gilrs = "0.11"
dynwave = "0.1.0"
ratatui = "0.28.1"
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions plastic_ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "plastic_ui"
version = "0.1.0"
name = "plastic"
version = "0.3.0"
edition = "2021"

[dependencies]
plastic_core = { path = "../plastic_core" }
egui = "0.28"
egui-winit = "0.28"
plastic_core = { path = "../plastic_core", version = "0.3.0" }
egui = "0.29"
egui-winit = "0.29"
directories = "5.0"
eframe = "0.28"
rfd = "0.14"
eframe = "0.29"
rfd = "0.15"
dynwave = "0.1"
2 changes: 1 addition & 1 deletion plastic_ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl App {
ui.add(
egui::Slider::new(&mut speed, 0.1..=10.0)
.text("Emulation Speed")
.clamp_to_range(true),
.clamping(egui::SliderClamping::Always),
);
self.fps.target_fps = TARGET_FPS * speed;
});
Expand Down

0 comments on commit e88ab27

Please sign in to comment.