refactor(rust): align workspace with style rules

This commit is contained in:
2026-09-17 09:57:11 -04:00
parent cf9a671fb8
commit b4b77faaa9
15 changed files with 124 additions and 28 deletions

View File

@@ -3,11 +3,11 @@ load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
rust_library(
name = "machoke_lib",
crate_name = "machoke",
srcs = ["lib.rs"],
srcs = ["machoke.rs"],
)
rust_test(
name = "machoke_test",
srcs = ["lib_test.rs"],
srcs = ["machoke_test.rs"],
deps = [":machoke_lib"],
)

View File

@@ -4,10 +4,6 @@ version = "0.1.0"
edition = "2024"
[lib]
path = "lib.rs"
[[test]]
name = "lib_test"
path = "lib_test.rs"
path = "machoke.rs"
[dependencies]