feat: use nostrdb for unix and rocksdb for windows
This commit is contained in:
@@ -5,13 +5,14 @@ description = "nostr client"
|
||||
authors = ["npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445"]
|
||||
repository = "https://github.com/lumehq/lume"
|
||||
edition = "2021"
|
||||
rust-version = "1.68"
|
||||
rust-version = "1.70"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2.0.0-beta", features = [] }
|
||||
|
||||
[dependencies]
|
||||
nostr-sdk = { version = "0.31", features = ["sqlite"] }
|
||||
nostr-rocksdb = "^0.31"
|
||||
nostr-sdk = { version = "0.31", features = ["ndb", "rocksdb"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
@@ -42,6 +43,9 @@ tauri-specta = { git = "https://github.com/cloudcad/tauri-specta", branch = "mai
|
||||
] }
|
||||
tauri-plugin-theme = "0.4.1"
|
||||
|
||||
[target.'cfg(target_family = "unix")'.dependencies]
|
||||
nostr-ndb = "^0.31"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
cocoa = "0.25.0"
|
||||
objc = "0.2.7"
|
||||
|
||||
Reference in New Issue
Block a user