[package] name = "darkwallet" description = "Wallet UI" version = "0.1.0" edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://codeberg.org/darkrenaissance/darkfi" #[[bin]] #name = "drawsim" #path = "bin/drawsim.rs" [dependencies] miniquad = { git = "https://github.com/not-fl3/miniquad" } # Currently latest version links to freetype-sys 0.19 but we use 0.21 #harfbuzz-sys = "0.6.1" #harfbuzz-sys = { git = "https://github.com/servo/rust-harfbuzz", features = ["bundled"] } harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz2", features = ["bundled"] } freetype-rs = { version = "0.37.0", features = ["bundled"] } image = "0.25.2" log = "0.4.22" glam = "0.29.0" #zmq = "0.10.0" #async_zmq = "0.4.0" zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] } darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]} evgrd = {path = "../../script/evgrd/"} #darkfi-sdk = {path = "../../src/sdk", features = ["async"]} darkfi-serial = {version = "0.4.2", features = ["async"]} thiserror = "1.0.64" smol = "2.0.2" atomic_float = "1.1.0" async-channel = "2.3.1" easy-parallel = "3.3.1" rand = "0.8.5" async-lock = "3.4.0" futures = "0.3.31" async-recursion = "1.1.1" colored = "2.1.0" #rustpython-vm = "0.3.1" sled-overlay = "0.1.6" url = "2.5.2" semver = "1.0.23" chrono = "0.4.38" async-gen = "0.2.3" async-trait = "0.1.83" blake3 = "1.5.4" simplelog = "0.12.2" # For log files file-rotate = "0.7.6" parking_lot = { version = "0.12", features = ["nightly"] } [features] emulate-android = [] [patch.crates-io] # We can remove these patches. But unfortunately harfbuzz-sys is still linking # the old freetype libs so we need to fix that first. # Fucking servo rust-harfbuzz freetype-rs = { git = "https://github.com/narodnik/freetype-rs" } freetype-sys = { git = "https://github.com/narodnik/freetype-sys2" } halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"} halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"} # This patch didn't work for me #dirs-sys = {git="https://github.com/sbechet/dirs-sys-rs.git"} [target.'cfg(not(target_os = "android"))'.dependencies] arboard = {version = "3.4.1", features=["wayland-data-control"]} dirs = "5.0.1" [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.13.3" # Required by Arti: tor-dirmgr rusqlite = {version = "0.32.1", features = ["bundled"]} tor-dirmgr = {version="0.23.0", features=["static"]} #android-fileopen = {path = "./android-fileopen/"} [target.'cfg(target_os = "windows")'.dependencies] # Used by tor-dirmgr rusqlite = {version = "0.32", features = ["bundled"]} [package.metadata.android.activity_attributes] "android:exported" = "true" "android:windowSoftInputMode" = "adjustResize" [lints] workspace = true [workspace.lints.clippy] [package.metadata.android] package_name = "darkfi.darkwallet" label = "DarkWallet" res = "res" icon = "@mipmap/ic_launcher" assets = "assets" [[package.metadata.android.permission]] name = "android.permission.INTERNET" [[package.metadata.android.permission]] name = "android.permission.ACCESS_NETWORK_STATE"