Ver Fonte

feat: uuid version (#891)

* feat: uuid version

* feat: rustls version
thesimplekid há 1 mês atrás
pai
commit
2e424e629f

+ 2 - 2
Cargo.toml

@@ -75,7 +75,7 @@ tokio-stream = "0.1.15"
 tracing = { version = "0.1", default-features = false, features = ["attributes", "log"] }
 tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
 url = "2.3"
-uuid = { version = "=1.12.1", features = ["v4", "serde"] }
+uuid = { version = "1.17", features = ["v4", "serde"] }
 utoipa = { version = "5.3.1", features = [
     "preserve_order",
     "preserve_path_order",
@@ -101,7 +101,7 @@ prost = "0.13.1"
 tonic-build = "0.13.1"
 strum = "0.27.1"
 strum_macros = "0.27.1"
-rustls = { version = "0.23.28", default-features = false, features = ["ring"] }
+rustls = { version = "0.23.27", default-features = false, features = ["ring"] }
 
 
 

+ 1 - 0
crates/cashu/Cargo.toml

@@ -39,6 +39,7 @@ strum_macros = { workspace = true, optional = true }
 
 [target.'cfg(target_arch = "wasm32")'.dependencies]
 instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
+uuid = { workspace = true, features = ["js"], optional = true }
 
 [dev-dependencies]
 bip39.workspace = true

+ 3 - 0
crates/cdk-axum/Cargo.toml

@@ -36,3 +36,6 @@ sha2 = "0.10.8"
 redis = { version = "0.31.0", features = [
     "tokio-rustls-comp",
 ], optional = true }
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+uuid = { workspace = true, features = ["js"] }

+ 3 - 0
crates/cdk-cln/Cargo.toml

@@ -22,3 +22,6 @@ tracing.workspace = true
 thiserror.workspace = true
 uuid.workspace = true
 serde_json.workspace = true
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+uuid = { workspace = true, features = ["js"] }

+ 1 - 0
crates/cdk-common/Cargo.toml

@@ -40,6 +40,7 @@ serde_with.workspace = true
 
 [target.'cfg(target_arch = "wasm32")'.dependencies]
 instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
+uuid = { workspace = true, features = ["js"], optional = true }
 
 [dev-dependencies]
 rand.workspace = true

+ 1 - 0
crates/cdk-integration-tests/Cargo.toml

@@ -55,6 +55,7 @@ tokio.workspace = true
 tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
 getrandom = { version = "0.2", features = ["js"] }
 instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
+uuid = { workspace = true, features = ["js"] }
 
 [dev-dependencies]
 bip39 = { workspace = true, features = ["rand"] }

+ 1 - 0
crates/cdk-payment-processor/Cargo.toml

@@ -61,6 +61,7 @@ tokio = { workspace = true, features = [
 
 [target.'cfg(target_arch = "wasm32")'.dependencies]
 tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
+uuid = { workspace = true, features = ["js"], optional = true }
 
 [dev-dependencies]
 rand.workspace = true

+ 3 - 0
crates/cdk-redb/Cargo.toml

@@ -30,3 +30,6 @@ uuid.workspace = true
 [dev-dependencies]
 tempfile = "3.17.1"
 tokio.workspace = true
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+uuid = { workspace = true, features = ["js"] }

+ 3 - 0
crates/cdk-sqlite/Cargo.toml

@@ -31,3 +31,6 @@ serde.workspace = true
 serde_json.workspace = true
 lightning-invoice.workspace = true
 uuid.workspace = true
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+uuid = { workspace = true, features = ["js"] }

+ 1 - 0
crates/cdk/Cargo.toml

@@ -69,6 +69,7 @@ tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
 cdk-signatory = { workspace = true, default-features = false }
 getrandom = { version = "0.2", features = ["js"] }
 ring = { version = "0.17.14", features = ["wasm32_unknown_unknown_js"] }
+uuid = { workspace = true, features = ["js"] }
 
 [[example]]
 name = "mint-token"