arithmetics
cargo devel CI / cargo CI (push) Successful in 3m16s
Details
cargo devel CI / cargo CI (push) Successful in 3m16s
Details
This commit is contained in:
parent
ae6a99bbcb
commit
107362b682
|
@ -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"
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[package]
|
||||||
|
name = "arithmetics"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
|
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue