refactor: cdk MSRV

This commit is contained in:
thesimplekid
2024-08-31 23:15:19 +01:00
parent 5f87df2cef
commit 1eb14703a5
35 changed files with 690 additions and 868 deletions

View File

@@ -1,13 +1,13 @@
[package]
name = "cdk-sqlite"
version = { workspace = true }
version = "0.3.0"
edition = "2021"
authors = ["CDK Developers"]
description = "SQLite storage backend for CDK"
license.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
license = "MIT"
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
rust-version = "1.66.0" # MSRV
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
@@ -16,16 +16,16 @@ mint = ["cdk/mint"]
wallet = ["cdk/wallet"]
[dependencies]
async-trait.workspace = true
cdk = { workspace = true, default-features = false }
bitcoin.workspace = true
async-trait = "0.1"
cdk = { path = "../cdk", default-features = false }
bitcoin = { version = "0.30", default-features = false } # lightning-invoice uses v0.30
sqlx = { version = "0.6.3", default-features = false, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] }
thiserror.workspace = true
tokio = { workspace = true, features = [
thiserror = "1"
tokio = { version = "1", features = [
"time",
"macros",
"sync",
] }
tracing.workspace = true
serde_json.workspace = true
lightning-invoice.workspace = true
tracing = { version = "0.1", default-features = false, features = ["attributes", "log"] }
serde_json = "1"
lightning-invoice = { version = "0.31", features = ["serde"] }