Cargo.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. [package]
  2. name = "darkwallet"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [workspace]
  7. [dependencies]
  8. miniquad = { git = "https://github.com/not-fl3/miniquad" }
  9. # Currently latest version links to freetype-sys 0.19 but we use 0.21
  10. #harfbuzz-sys = "0.6.1"
  11. #harfbuzz-sys = { git = "https://github.com/servo/rust-harfbuzz", features = ["bundled"] }
  12. harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz", features = ["bundled"] }
  13. # Old and crap
  14. #harfbuzz_rs = { git = "https://github.com/narodnik/hbrs2.git", features = ["freetype"] }
  15. freetype-rs = { version = "0.37.0", features = ["bundled"] }
  16. image = "0.25.2"
  17. log = "0.4.22"
  18. glam = "0.28.0"
  19. #zmq = "0.10.0"
  20. #async_zmq = "0.4.0"
  21. zeromq = { version = "0.4.0", default-features = false, features = ["async-std-runtime", "all-transport"] }
  22. darkfi-serial = { git = "https://codeberg.org/darkrenaissance/darkfi" }
  23. thiserror = "1.0.61"
  24. smol = "2.0.0"
  25. atomic_float = "1.0.0"
  26. async-channel = "2.3.1"
  27. easy-parallel = "3.3.1"
  28. rand = "0.8.5"
  29. async-lock = "3.4.0"
  30. futures = "0.3.30"
  31. async-recursion = "1.1.1"
  32. colored = "2.1.0"
  33. #rustpython-vm = "0.3.1"
  34. sled = "0.34.7"
  35. [patch.crates-io]
  36. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  37. freetype-sys = { git = "https://github.com/narodnik/freetype-sys" }
  38. [target.'cfg(target_os = "android")'.dependencies]
  39. android_logger = "0.13.3"
  40. [target.'cfg(target_os = "linux")'.dependencies]
  41. simplelog = "0.12.1"
  42. [package.metadata.android.activity_attributes]
  43. "android:exported" = "true"
  44. "android:windowSoftInputMode" = "adjustResize"
  45. [lints]
  46. workspace = true
  47. [workspace.lints.clippy]
  48. [package.metadata.android]
  49. package_name = "darkfi.darkwallet"
  50. label = "DarkWallet"
  51. res = "res"
  52. icon = "@mipmap/ic_launcher"
  53. assets = "assets"
  54. [[package.metadata.android.permission]]
  55. name = "android.permission.INTERNET"
  56. [[package.metadata.android.permission]]
  57. name = "android.permission.ACCESS_NETWORK_STATE"