Cargo.toml 2.0 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. miniquad = { git = "https://github.com/narodnik/miniquad" }
  10. # Currently latest version links to freetype-sys 0.19 but we use 0.21
  11. #harfbuzz-sys = "0.6.1"
  12. #harfbuzz-sys = { git = "https://github.com/servo/rust-harfbuzz", features = ["bundled"] }
  13. harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz", features = ["bundled"] }
  14. # Old and crap
  15. #harfbuzz_rs = { git = "https://github.com/narodnik/hbrs2.git", features = ["freetype"] }
  16. freetype-rs = { version = "0.37.0", features = ["bundled"] }
  17. image = "0.25.1"
  18. log = "0.4.22"
  19. glam = "0.28.0"
  20. #zmq = "0.10.0"
  21. #async_zmq = "0.4.0"
  22. zeromq = { version = "0.4.0", default-features = false, features = ["async-std-runtime", "all-transport"] }
  23. darkfi-serial = { git = "https://codeberg.org/darkrenaissance/darkfi" }
  24. thiserror = "1.0.61"
  25. smol = "2.0.0"
  26. atomic_float = "1.0.0"
  27. async-channel = "2.3.1"
  28. easy-parallel = "3.3.1"
  29. rand = "0.8.5"
  30. async-lock = "3.4.0"
  31. futures = "0.3.30"
  32. async-recursion = "1.1.1"
  33. colored = "2.1.0"
  34. #rustpython-vm = "0.3.1"
  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. [[package.metadata.android.permission]]
  54. name = "android.permission.INTERNET"
  55. [[package.metadata.android.permission]]
  56. name = "android.permission.ACCESS_NETWORK_STATE"