thesimplekid vor 1 Jahr
Ursprung
Commit
0013e040d6

+ 1 - 1
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"]

+ 1 - 0
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]

+ 1 - 0
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"

+ 1 - 0
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"] }

+ 1 - 0
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
 
 

+ 1 - 0
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"
 
 

+ 17 - 4
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
+	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