refactor(rust): align workspace with style rules
This commit is contained in:
@@ -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"],
|
||||
)
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user