Cargo.toml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. blake3 = "1.5.4"
  45. simplelog = "0.12.1"
  46. # For log files
  47. file-rotate = "0.7.6"
  48. [patch.crates-io]
  49. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  50. freetype-sys = { git = "https://github.com/narodnik/freetype-sys2" }
  51. # I'm so confused why this is needed
  52. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  53. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  54. # This patch didn't work for me
  55. #dirs-sys = {git="https://github.com/sbechet/dirs-sys-rs.git"}
  56. [target.'cfg(target_os = "android")'.dependencies]
  57. android_logger = "0.13.3"
  58. # Required by Arti: tor-dirmgr
  59. #rusqlite = {version = "0.31.0", features = ["bundled"]}
  60. tor-dirmgr = {version="0.21.0", features=["static"]}
  61. [package.metadata.android.activity_attributes]
  62. "android:exported" = "true"
  63. "android:windowSoftInputMode" = "adjustResize"
  64. [lints]
  65. workspace = true
  66. [workspace.lints.clippy]
  67. [package.metadata.android]
  68. package_name = "darkfi.darkwallet"
  69. label = "DarkWallet"
  70. res = "res"
  71. icon = "@mipmap/ic_launcher"
  72. assets = "assets"
  73. [[package.metadata.android.permission]]
  74. name = "android.permission.INTERNET"
  75. [[package.metadata.android.permission]]
  76. name = "android.permission.ACCESS_NETWORK_STATE"