Cargo.toml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. [package]
  2. name = "darkwallet"
  3. description = "Wallet UI"
  4. version = "0.1.0"
  5. edition = "2021"
  6. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  7. license = "AGPL-3.0-only"
  8. homepage = "https://dark.fi"
  9. repository = "https://codeberg.org/darkrenaissance/darkfi"
  10. [dependencies]
  11. miniquad = { git = "https://github.com/not-fl3/miniquad" }
  12. # Currently latest version links to freetype-sys 0.19 but we use 0.21
  13. #harfbuzz-sys = "0.6.1"
  14. #harfbuzz-sys = { git = "https://github.com/servo/rust-harfbuzz", features = ["bundled"] }
  15. harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz", features = ["bundled"] }
  16. # Old and crap
  17. #harfbuzz_rs = { git = "https://github.com/narodnik/hbrs2.git", features = ["freetype"] }
  18. freetype-rs = { version = "0.37.0", features = ["bundled"] }
  19. image = "0.25.2"
  20. log = "0.4.22"
  21. glam = "0.28.0"
  22. #zmq = "0.10.0"
  23. #async_zmq = "0.4.0"
  24. zeromq = { version = "0.4.0", default-features = false, features = ["async-std-runtime", "all-transport"] }
  25. darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
  26. #darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
  27. darkfi-serial = {path = "../../src/serial", features = ["async"]}
  28. thiserror = "1.0.61"
  29. smol = "2.0.0"
  30. atomic_float = "1.0.0"
  31. async-channel = "2.3.1"
  32. easy-parallel = "3.3.1"
  33. rand = "0.8.5"
  34. async-lock = "3.4.0"
  35. futures = "0.3.30"
  36. async-recursion = "1.1.1"
  37. colored = "2.1.0"
  38. #rustpython-vm = "0.3.1"
  39. sled = "0.34.7"
  40. [patch.crates-io]
  41. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  42. freetype-sys = { git = "https://github.com/narodnik/freetype-sys" }
  43. # I'm so confused why this is needed
  44. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  45. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  46. [target.'cfg(target_os = "android")'.dependencies]
  47. android_logger = "0.13.3"
  48. [target.'cfg(target_os = "linux")'.dependencies]
  49. simplelog = "0.12.1"
  50. [package.metadata.android.activity_attributes]
  51. "android:exported" = "true"
  52. "android:windowSoftInputMode" = "adjustResize"
  53. [lints]
  54. workspace = true
  55. [workspace.lints.clippy]
  56. [package.metadata.android]
  57. package_name = "darkfi.darkwallet"
  58. label = "DarkWallet"
  59. res = "res"
  60. icon = "@mipmap/ic_launcher"
  61. assets = "assets"
  62. [[package.metadata.android.permission]]
  63. name = "android.permission.INTERNET"
  64. [[package.metadata.android.permission]]
  65. name = "android.permission.ACCESS_NETWORK_STATE"