diff --git a/Cargo.toml b/Cargo.toml index 574ea190..bd6aa1e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,11 +9,11 @@ members = [ ] resolver = "2" - [workspace.package] license = "BSD-3-Clause" homepage = "https://github.com/thesimplekid/cashu-crab" repository = "https://github.com/thesimplekid/cashu-crab.git" +rust-version = "1.70.0" # MSRV [workspace.metadata] authors = ["thesimplekid"] diff --git a/bindings/cashu-ffi/Cargo.toml b/bindings/cashu-ffi/Cargo.toml index 94d5ca34..41ed30f5 100644 --- a/bindings/cashu-ffi/Cargo.toml +++ b/bindings/cashu-ffi/Cargo.toml @@ -3,6 +3,7 @@ name = "cashu-ffi" version = "0.1.0" edition = "2021" publish = false +rust-version.workspace = true [lib] diff --git a/bindings/cashu-sdk-ffi/Cargo.toml b/bindings/cashu-sdk-ffi/Cargo.toml index 55520276..b4c38733 100644 --- a/bindings/cashu-sdk-ffi/Cargo.toml +++ b/bindings/cashu-sdk-ffi/Cargo.toml @@ -3,6 +3,7 @@ name = "cashu-sdk-ffi" version = "0.1.0" edition = "2021" publish = false +rust-version.workspace = true [lib] name = "cashu_sdk_ffi" diff --git a/bindings/uniffi-bindgen/Cargo.toml b/bindings/uniffi-bindgen/Cargo.toml index 4348fb00..99f00d4c 100644 --- a/bindings/uniffi-bindgen/Cargo.toml +++ b/bindings/uniffi-bindgen/Cargo.toml @@ -3,6 +3,7 @@ name = "uniffi-bindgen" version = "0.1.0" edition = "2021" publish = false +rust-version.workspace = true [dependencies] uniffi = { workspace = true, features = ["cli"] } diff --git a/crates/cashu-sdk/Cargo.toml b/crates/cashu-sdk/Cargo.toml index 1f5639c6..bf19817d 100644 --- a/crates/cashu-sdk/Cargo.toml +++ b/crates/cashu-sdk/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" authors = ["thesimplekid"] homepage.workspace = true repository.workspace = true +rust-version = "1.67.0" # MSRV license.workspace = true diff --git a/crates/cashu/Cargo.toml b/crates/cashu/Cargo.toml index 4dd1c2c9..2c0e1d36 100644 --- a/crates/cashu/Cargo.toml +++ b/crates/cashu/Cargo.toml @@ -7,6 +7,7 @@ readme = "README.md" homepage.workspace = true repository.workspace = true license.workspace = true +rust-version = "1.67.0" # MSRV description = "Cashu rust wallet and mint library" diff --git a/justfile b/justfile index 64b43c85..abd15517 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,19 @@ precommit: - cargo check --no-default-features --features mint - cargo check --no-default-features --features wallet - cargo check --no-default-features --features blocking + rustup default stable + cargo fmt + cargo check -p cashu + cargo check -p cashu-sdk --no-default-features --features mint + cargo check -p cashu-sdk --no-default-features --features wallet + cargo check -p cashu-sdk --no-default-features --features blocking typos - cargo test \ No newline at end of file + cargo test -p cashu + cargo test -p cashu-sdk + cargo clippy + rustup default 1.67.0 + cargo check -p cashu + cargo check -p cashu-sdk --no-default-features --features mint + cargo check -p cashu-sdk --no-default-features --features wallet + cargo check -p cashu-sdk --no-default-features --features blocking + cargo test -p cashu + cargo test -p cashu-sdk + rustup default stable \ No newline at end of file