diff --git a/Cargo.toml b/Cargo.toml index cbcb8e8..91ac864 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,14 @@ members = [ [workspace.lints] -rust = { nonstandard_style = "allow", unsafe_op_in_unsafe_fn = "allow" } \ No newline at end of file +rust = { nonstandard_style = "allow", unsafe_op_in_unsafe_fn = "allow" } + +[workspace.dependencies] +rand = "0.9.2" +eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } +egui_extras = { version = "0.33.3" } +bgtu-ai-utility = { path = "utility" } + +[profile.dev.package.eframe] +opt-level = 2 +debug = true \ No newline at end of file diff --git a/lab1/Cargo.toml b/lab1/Cargo.toml index 377dc39..1ba8923 100644 --- a/lab1/Cargo.toml +++ b/lab1/Cargo.toml @@ -6,9 +6,6 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +rand = {workspace = true} +eframe = { workspace = true} +bgtu-ai-utility = {workspace = true} \ No newline at end of file diff --git a/lab2/Cargo.toml b/lab2/Cargo.toml index 11c21fd..55a8631 100644 --- a/lab2/Cargo.toml +++ b/lab2/Cargo.toml @@ -6,10 +6,5 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } -egui_extras = { version = "0.33.3" } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +eframe = { workspace = true } +egui_extras = { workspace = true } diff --git a/lab3/Cargo.toml b/lab3/Cargo.toml index 2db72d3..2a5e2ee 100644 --- a/lab3/Cargo.toml +++ b/lab3/Cargo.toml @@ -6,11 +6,6 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } -egui_extras = { version = "0.33.3" } -bgtu-ai-utility = { path = "../utility" } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +rand = { workspace = true } +eframe = { workspace = true } +bgtu-ai-utility = { workspace = true } diff --git a/lab4/Cargo.toml b/lab4/Cargo.toml index 083f8a0..05cdf78 100644 --- a/lab4/Cargo.toml +++ b/lab4/Cargo.toml @@ -6,10 +6,6 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } -egui_extras = { version = "0.33.3" } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +rand = { workspace = true } +eframe = { workspace = true } +egui_extras = { workspace = true } diff --git a/lab5/Cargo.toml b/lab5/Cargo.toml index a7a1382..4f6c653 100644 --- a/lab5/Cargo.toml +++ b/lab5/Cargo.toml @@ -6,11 +6,7 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } -egui_extras = { version = "0.33.3" } -bgtu-ai-utility = { path = "../utility" } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +rand = { workspace = true } +eframe = { workspace = true } +egui_extras = { workspace = true } +bgtu-ai-utility = { workspace = true } diff --git a/utility/Cargo.toml b/utility/Cargo.toml index 882eba4..2de4ba7 100644 --- a/utility/Cargo.toml +++ b/utility/Cargo.toml @@ -6,10 +6,6 @@ edition = "2024" workspace = true [dependencies] -rand = "0.9.2" -eframe = { version = "0.33.3", default-features = false, features = ["default_fonts", "glow"] } -egui_extras = { version = "0.33.3" } - -[profile.dev.package.eframe] -opt-level = 2 -debug = true \ No newline at end of file +rand = { workspace = true } +eframe = { workspace = true } +egui_extras = { workspace = true }