arithmetics
cargo devel CI / cargo CI (push) Successful in 3m16s Details

This commit is contained in:
Christoph J. Scherr 2024-07-10 12:32:32 +02:00
parent ae6a99bbcb
commit 107362b682
4 changed files with 25 additions and 1 deletions

4
Cargo.lock generated
View File

@ -126,6 +126,10 @@ dependencies = [
"password-hash", "password-hash",
] ]
[[package]]
name = "arithmetics"
version = "0.1.0"
[[package]] [[package]]
name = "async-trait" name = "async-trait"
version = "0.1.80" version = "0.1.80"

View File

@ -25,10 +25,13 @@ members = [
"members/diesel-demo", "members/diesel-demo",
"members/ptlog", "members/ptlog",
"members/hello-world", "members/hello-world",
"members/statusline", "members/clap-repl-demo", "members/statusline",
"members/clap-repl-demo",
"members/arithmetics",
] ]
default-members = [ default-members = [
".", ".",
"members/arithmetics",
"members/statusline", "members/statusline",
"members/ptlog", "members/ptlog",
"members/diesel-demo", "members/diesel-demo",

View File

@ -0,0 +1,6 @@
[package]
name = "arithmetics"
version = "0.1.0"
edition = "2021"
[dependencies]

View File

@ -0,0 +1,11 @@
// If you're confused what this is: it's an annotation that tells a common linting thing to shut up
// about this program calculating things that should normally be precalculated
//
// If you're still confused, feel free to ignore this, it's not important
#![allow(clippy::eq_op)] // thats the point
#![allow(clippy::identity_op)] // thats the point
fn main() {
println!("1^1={}", 1 ^ 1);
println!("0^1={}", 0 ^ 1);
}