Cargo.toml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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"
  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", features = ["bundled"] }
  16. image = "0.25.1"
  17. log = "0.4.21"
  18. glam = "0.27.0"
  19. #zmq = "0.10.0"
  20. #async_zmq = "0.4.0"
  21. zeromq = { version = "*", 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. [patch.crates-io]
  35. freetype-rs = { git = "https://github.com/narodnik/freetype-rs" }
  36. freetype-sys = { git = "https://github.com/narodnik/freetype-sys" }
  37. [target.'cfg(target_os = "android")'.dependencies]
  38. android_logger = "0.13.3"
  39. [target.'cfg(target_os = "linux")'.dependencies]
  40. simplelog = "0.12.1"
  41. [package.metadata.android.activity_attributes]
  42. "android:exported" = "true"
  43. "android:windowSoftInputMode" = "adjustResize"
  44. [lints]
  45. workspace = true
  46. [workspace.lints.clippy]
  47. [package.metadata.android]
  48. package_name = "darkfi.darkwallet"
  49. label = "DarkWallet"
  50. res = "res"
  51. icon = "@mipmap/ic_launcher"
  52. [[package.metadata.android.permission]]
  53. name = "android.permission.INTERNET"
  54. [[package.metadata.android.permission]]
  55. name = "android.permission.ACCESS_NETWORK_STATE"