chore: remove unused Rust projects
This commit was merged in pull request #64.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
|
||||
|
||||
rust_library(
|
||||
name = "xatu_lib",
|
||||
crate_name = "xatu",
|
||||
srcs = ["lib.rs"],
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "xatu",
|
||||
crate_name = "xatu_cli",
|
||||
srcs = ["main.rs"],
|
||||
deps = [":xatu_lib"],
|
||||
)
|
||||
|
||||
rust_test(
|
||||
name = "lib_test",
|
||||
srcs = ["lib_test.rs"],
|
||||
deps = [":xatu_lib"],
|
||||
)
|
||||
@@ -1,13 +0,0 @@
|
||||
[package]
|
||||
name = "xatu"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "xatu"
|
||||
path = "main.rs"
|
||||
|
||||
[dependencies]
|
||||
@@ -1,5 +0,0 @@
|
||||
pub const GREETING: &str = "Hello from Xatu";
|
||||
|
||||
pub fn greeting() -> &'static str {
|
||||
GREETING
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
#[test]
|
||||
fn greeting_returns_hello_message() {
|
||||
assert_eq!(xatu::greeting(), "Hello from Xatu");
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fn main() {
|
||||
println!("{}", xatu::greeting());
|
||||
}
|
||||
Reference in New Issue
Block a user