commit 4fdc711606faa1e16d3d66081559c20296559503
parent e3dce6e0818d221865b169e4bf08745193755677
Author: kernelkind <kernelkind@gmail.com>
Date: Thu, 6 Nov 2025 18:59:31 -0500
cargo: add `android-keyring`
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
3 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -144,6 +144,20 @@ dependencies = [
]
[[package]]
+name = "android-keyring"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b051e1fab4f4c15e384424252c57321173b8fb274d50f30bd46145c35cd0a6a2"
+dependencies = [
+ "base64 0.22.1",
+ "jni 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "keyring",
+ "ndk-context",
+ "thiserror 2.0.12",
+ "tracing",
+]
+
+[[package]]
name = "android-properties"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3668,6 +3682,7 @@ dependencies = [
name = "notedeck_chrome"
version = "0.7.1"
dependencies = [
+ "android-keyring",
"bitflags 2.9.1",
"eframe",
"egui",
diff --git a/Cargo.toml b/Cargo.toml
@@ -91,6 +91,7 @@ oot_bitset = "0.1.1"
blurhash = "0.2.3"
android-activity = { git = "https://github.com/damus-io/android-activity", rev = "4ee16f1585e4a75031dc10785163d4b920f95805", features = [ "game-activity" ] }
keyring = { version = "3.6.3", features = ["apple-native", "windows-native", "linux-native-sync-persistent", "vendored"] }
+android-keyring = "0.2.0"
[profile.small]
inherits = 'release'
diff --git a/crates/notedeck_chrome/Cargo.toml b/crates/notedeck_chrome/Cargo.toml
@@ -61,6 +61,7 @@ tracing-logcat = "0.1.0"
#log = { workspace = true }
#android-activity = { version = "0.6", features = [ "game-activity" ] }
egui-winit.workspace = true
+android-keyring = { workspace = true }
[package.metadata.bundle]
name = "Notedeck"