Flatten nested Rust projects into monorepo

This commit is contained in:
2025-07-01 10:51:25 +03:00
commit 1170ebe04d
29 changed files with 557 additions and 0 deletions

7
variables/Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "variables"
version = "0.1.0"

6
variables/Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "variables"
version = "0.1.0"
edition = "2024"
[dependencies]

16
variables/src/main.rs Normal file
View File

@@ -0,0 +1,16 @@
fn main() {
let x = 10;
let x = x * 5;
{
let x = x / 2;
println!("x in the inner scope: {x}");
}
println!("x in the outer scope: {x}");
// let mut space = " ";
// space = space.len();
// println!("spaces: {space}");
}