remove template crates
This commit is contained in:
parent
d56ebb7e16
commit
e8c6549858
5 changed files with 0 additions and 61 deletions
|
|
@ -1,12 +0,0 @@
|
|||
[package]
|
||||
name = "the-app"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
license = "EUPL-1.2"
|
||||
|
||||
[dependencies]
|
||||
the-lib.workspace = true
|
||||
regex = "*"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
#[must_use]
|
||||
pub fn as_u64(number: u8) -> u64 {
|
||||
u64::from(number)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let mut nums = vec![1, 2, 3];
|
||||
nums.clear();
|
||||
|
||||
println!("Hello, world! {nums:?}");
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
#[test]
|
||||
fn trivial() {
|
||||
assert_eq!(1, 1);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[package]
|
||||
name = "the-lib"
|
||||
version = "0.0.0"
|
||||
edition = "2024"
|
||||
license = "EUPL-1.2"
|
||||
|
||||
[dependencies]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#[must_use]
|
||||
pub const fn add(
|
||||
left: u64,
|
||||
right: u64,
|
||||
) -> u64 {
|
||||
left + right
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = add(2, 2);
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue