9
cuddle-rust-lib/crates/%%name%%/Cargo.toml
Normal file
9
cuddle-rust-lib/crates/%%name%%/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "%%name%%"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
5
cuddle-rust-lib/crates/%%name%%/src/lib.rs
Normal file
5
cuddle-rust-lib/crates/%%name%%/src/lib.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
pub mod something {
|
||||
pub fn something() -> String {
|
||||
"hello, world!".to_string()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user