Cargo.toml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. [package]
  2. name = "darkfi-app"
  3. description = "DarkFi UI App"
  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.5"
  18. qoi = "0.4.1"
  19. tracing = "0.1.41"
  20. glam = "0.29.2"
  21. #zmq = "0.10.0"
  22. #async_zmq = "0.4.0"
  23. zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
  24. darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
  25. #darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
  26. darkfi-serial = {version = "0.5.0", features = ["async"]}
  27. fud = { path = "../fud/fud/" }
  28. bs58 = "0.5.1"
  29. thiserror = "2.0.12"
  30. smol = "2.0.2"
  31. atomic_float = "1.1.0"
  32. async-channel = "2.5.0"
  33. easy-parallel = "3.3.1"
  34. rand = "0.8.5"
  35. async-lock = "3.4.1"
  36. async-broadcast = "0.7.2"
  37. futures = "0.3.31"
  38. async-recursion = "1.1.1"
  39. colored = "3.0.0"
  40. #rustpython-vm = "0.3.1"
  41. sled-overlay = "0.1.11"
  42. url = "2.5.4"
  43. semver = "1.0.26"
  44. chrono = "0.4.41"
  45. async-gen = "0.2.3"
  46. async-trait = "0.1.88"
  47. blake3 = "1.8.2"
  48. clap = { version = "4.5", features = ["derive"] }
  49. tracing-subscriber = { version = "0.3.19", default-features = false, features = ["fmt"] }
  50. tracing-appender = "0.2.3"
  51. # For log files
  52. file-rotate = "0.7.6"
  53. parking_lot = { version = "0.12.4", features = ["nightly"] }
  54. regex = "1.11"
  55. parley = { git = "https://github.com/linebender/parley.git" }
  56. swash = "0.2.5"
  57. zeno = "0.3.3"
  58. peniko = "*"
  59. fluent = "0.17"
  60. unic-langid = { version = "0.9", features = ["unic-langid-macros"] }
  61. indoc = "2"
  62. [features]
  63. emulate-android = []
  64. enable-plugins = []
  65. enable-filelog = []
  66. # Network debugging. Should be disabled in release.
  67. enable-netdebug = []
  68. [patch.crates-io]
  69. # We can remove these patches. But unfortunately harfbuzz-sys is still linking
  70. # the old freetype libs so we need to fix that first.
  71. # Fucking servo rust-harfbuzz
  72. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  73. freetype-sys = { git = "https://github.com/narodnik/freetype-sys2" }
  74. halo2_proofs = { git="https://github.com/parazyd/halo2", branch="v031" }
  75. halo2_gadgets = { git="https://github.com/parazyd/halo2", branch="v031" }
  76. # This patch didn't work for me
  77. #dirs-sys = {git="https://github.com/sbechet/dirs-sys-rs.git"}
  78. [target.'cfg(not(target_os = "android"))'.dependencies]
  79. dirs = "5.0.1"
  80. [target.'cfg(target_os = "android")'.dependencies]
  81. tracing-android = "0.2.0"
  82. # Required by Arti: tor-dirmgr
  83. tor-dirmgr = { version="0.36.0", features=["static"] }
  84. [target.'cfg(target_os = "windows")'.dependencies]
  85. # Used by tor-dirmgr
  86. #rusqlite = {version = "0.37.0", features = ["bundled"]}
  87. tor-dirmgr = { version="0.36.0", features=["static"] }
  88. [package.metadata.android.activity_attributes]
  89. "android:exported" = "true"
  90. "android:windowSoftInputMode" = "adjustResize"
  91. [lints]
  92. workspace = true
  93. [workspace.lints.clippy]
  94. [package.metadata.android]
  95. package_name = "darkfi.darkfi-app"
  96. label = "DarkFi"
  97. res = "data/res"
  98. icon = "@mipmap/ic_launcher"
  99. assets = "assets"
  100. [[package.metadata.android.permission]]
  101. name = "android.permission.INTERNET"
  102. [[package.metadata.android.permission]]
  103. name = "android.permission.ACCESS_NETWORK_STATE"
  104. [[package.metadata.android.permission]]
  105. name = "android.permission.FOREGROUND_SERVICE"
  106. [[package.metadata.android.permission]]
  107. name = "android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING"
  108. [[package.metadata.android.service]]
  109. name = ".ForegroundService"
  110. foreground_service_type = "remoteMessaging"
  111. exported = false