Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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-overlay = "0.1.3"
  40. url = "2.5"
  41. semver = "1.0"
  42. chrono = "0.4"
  43. [patch.crates-io]
  44. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  45. freetype-sys = { git = "https://github.com/narodnik/freetype-sys" }
  46. # I'm so confused why this is needed
  47. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  48. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  49. [target.'cfg(target_os = "android")'.dependencies]
  50. android_logger = "0.13.3"
  51. #openssl = { version = "*", features = ["vendored"] }
  52. [target.'cfg(target_os = "linux")'.dependencies]
  53. simplelog = "0.12.1"
  54. [package.metadata.android.activity_attributes]
  55. "android:exported" = "true"
  56. "android:windowSoftInputMode" = "adjustResize"
  57. [lints]
  58. workspace = true
  59. [workspace.lints.clippy]
  60. [package.metadata.android]
  61. package_name = "darkfi.darkwallet"
  62. label = "DarkWallet"
  63. res = "res"
  64. icon = "@mipmap/ic_launcher"
  65. assets = "assets"
  66. [[package.metadata.android.permission]]
  67. name = "android.permission.INTERNET"
  68. [[package.metadata.android.permission]]
  69. name = "android.permission.ACCESS_NETWORK_STATE"