rust: move Cargo.toml to the root

This commit is contained in:
Jake Hillion
2025-12-05 12:01:44 +00:00
committed by GitHub
parent 40a0d47de8
commit 5ef1df1e10
5 changed files with 5618 additions and 25 deletions

11
.gitignore vendored
View File

@@ -18,3 +18,14 @@ dist/
# for the gitingest enthusiasts
digest.txt
# Rust
target/
## These are backup files generated by rustfmt
**/*.rs.bk
## MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
## Generated by cargo mutants
## Contains mutation testing data
**/mutants.out*/

5597
Cargo.lock generated Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,10 @@
[workspace]
resolver = "3"
members = [
"networking",
"exo_pyo3_bindings",
"system_custodian",
"util",
"rust/networking",
"rust/exo_pyo3_bindings",
"rust/system_custodian",
"rust/util",
]
[workspace.package]
@@ -24,9 +24,9 @@ opt-level = 3
# Common configurations include versions, paths, features, etc.
[workspace.dependencies]
## Crate members as common dependencies
networking = { path = "networking" }
system_custodian = { path = "system_custodian" }
util = { path = "util" }
networking = { path = "rust/networking" }
system_custodian = { path = "rust/system_custodian" }
util = { path = "rust/util" }
# Proc-macro authoring tools
syn = "2.0"
@@ -162,4 +162,4 @@ unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
verbose_file_reads = "warn"

View File

@@ -17,10 +17,10 @@ sync-clean:
uv sync --all-packages --force-reinstall --no-cache
rust-rebuild:
cd rust && cargo run --bin stub_gen
cargo run --bin stub_gen
just sync-clean
clean:
rm -rf **/__pycache__
sudo rm -rf rust/target
rm -rf target/
rm -rf .venv

15
rust/.gitignore vendored
View File

@@ -1,15 +0,0 @@
# Generated by Cargo
# will have compiled files and executables
debug
target
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/