diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f48257f..f376335 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -20,13 +20,8 @@ tauri-build = { version = "2.2", features = [] } serde = { version = "1.0.228", features = ["derive"] } [dependencies] -rusqlite = { version = "0.37.0", features = [ - "load_extension", - "bundled-sqlcipher-vendored-openssl", - "functions", -] } - -#tauri-plugin-sql = { version = "2", features = ["sqlite"] }tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }#libsqlite3-sys = { version = "0.31", features = ["bundled-sqlcipher"] } +tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] } +#libsqlite3-sys = { version = "0.31", features = ["bundled-sqlcipher"] } #sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite"] } base64 = "0.22" ed25519-dalek = "2.1" @@ -57,3 +52,7 @@ zip = "6.0.0" [target.'cfg(not(target_os = "android"))'.dependencies] trash = "5.2.0" +rusqlite = { version = "0.37.0", features = ["load_extension", "bundled-sqlcipher-vendored-openssl", "functions"] } + +[target.'cfg(target_os = "android")'.dependencies] +rusqlite = { version = "0.37.0", features = ["load_extension", "bundled", "functions"] }