Cargo.toml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.29.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. evgrd = {path = "../../script/evgrd/"}
  27. #darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
  28. darkfi-serial = {path = "../../src/serial", features = ["async"]}
  29. thiserror = "1.0.63"
  30. smol = "2.0.1"
  31. atomic_float = "1.0.0"
  32. async-channel = "2.3.1"
  33. easy-parallel = "3.3.1"
  34. rand = "0.8.5"
  35. async-lock = "3.4.0"
  36. futures = "0.3.30"
  37. async-recursion = "1.1.1"
  38. colored = "2.1.0"
  39. #rustpython-vm = "0.3.1"
  40. sled-overlay = "0.1.3"
  41. url = "2.5.2"
  42. semver = "1.0.23"
  43. chrono = "0.4.38"
  44. async-gen = "0.2"
  45. async-trait = "0.1.82"
  46. [patch.crates-io]
  47. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  48. freetype-sys = { git = "https://github.com/narodnik/freetype-sys" }
  49. # I'm so confused why this is needed
  50. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  51. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  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"