Cargo.toml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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-harfbuzz2", features = ["bundled"] }
  16. freetype-rs = { version = "0.37.0", features = ["bundled"] }
  17. image = "0.25.2"
  18. log = "0.4.22"
  19. glam = "0.29.0"
  20. #zmq = "0.10.0"
  21. #async_zmq = "0.4.0"
  22. zeromq = { version = "0.4.0", default-features = false, features = ["async-std-runtime", "all-transport"] }
  23. darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
  24. evgrd = {path = "../../script/evgrd/"}
  25. #darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
  26. darkfi-serial = {path = "../../src/serial", features = ["async"]}
  27. thiserror = "1.0.63"
  28. smol = "2.0.1"
  29. atomic_float = "1.0.0"
  30. async-channel = "2.3.1"
  31. easy-parallel = "3.3.1"
  32. rand = "0.8.5"
  33. async-lock = "3.4.0"
  34. futures = "0.3.30"
  35. async-recursion = "1.1.1"
  36. colored = "2.1.0"
  37. #rustpython-vm = "0.3.1"
  38. sled-overlay = "0.1.3"
  39. url = "2.5.2"
  40. semver = "1.0.23"
  41. chrono = "0.4.38"
  42. async-gen = "0.2"
  43. async-trait = "0.1.82"
  44. [patch.crates-io]
  45. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  46. freetype-sys = { git = "https://github.com/narodnik/freetype-sys2" }
  47. # I'm so confused why this is needed
  48. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  49. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  50. # This patch didn't work for me
  51. #dirs-sys = {git="https://github.com/sbechet/dirs-sys-rs.git"}
  52. [target.'cfg(target_os = "android")'.dependencies]
  53. android_logger = "0.13.3"
  54. # Required by Arti: tor-dirmgr
  55. #rusqlite = {version = "0.31.0", features = ["bundled"]}
  56. tor-dirmgr = {version="0.21.0", features=["static"]}
  57. [target.'cfg(target_os = "linux")'.dependencies]
  58. simplelog = "0.12.1"
  59. [package.metadata.android.activity_attributes]
  60. "android:exported" = "true"
  61. "android:windowSoftInputMode" = "adjustResize"
  62. [lints]
  63. workspace = true
  64. [workspace.lints.clippy]
  65. [package.metadata.android]
  66. package_name = "darkfi.darkwallet"
  67. label = "DarkWallet"
  68. res = "res"
  69. icon = "@mipmap/ic_launcher"
  70. assets = "assets"
  71. [[package.metadata.android.permission]]
  72. name = "android.permission.INTERNET"
  73. [[package.metadata.android.permission]]
  74. name = "android.permission.ACCESS_NETWORK_STATE"