Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. [package]
  2. name = "dioxus-cli"
  3. version = "0.4.1"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "CLI tool for developing, testing, and publishing Dioxus apps"
  7. repository = "https://github.com/DioxusLabs/dioxus/"
  8. license = "MIT OR Apache-2.0"
  9. keywords = ["react", "gui", "cli", "dioxus", "wasm"]
  10. [dependencies]
  11. # cli core
  12. clap = { version = "4.2", features = ["derive"] }
  13. thiserror = { workspace = true }
  14. wasm-bindgen-cli-support = "0.2"
  15. colored = "2.0.0"
  16. dioxus-cli-config = { workspace = true }
  17. # features
  18. log = "0.4.14"
  19. fern = { version = "0.6.0", features = ["colored"] }
  20. serde = { version = "1.0.136", features = ["derive"] }
  21. serde_json = "1.0.79"
  22. toml = "0.5.8"
  23. fs_extra = "1.2.0"
  24. cargo_toml = "0.16.0"
  25. futures = "0.3.21"
  26. notify = { version = "5.0.0-pre.16", features = ["serde"] }
  27. html_parser = { workspace = true }
  28. cargo_metadata = "0.15.0"
  29. tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros"] }
  30. atty = "0.2.14"
  31. chrono = "0.4.19"
  32. anyhow = "1.0.53"
  33. hyper = "0.14.17"
  34. hyper-rustls = "0.23.2"
  35. indicatif = "0.17.5"
  36. subprocess = "0.2.9"
  37. axum = { version = "0.5.1", features = ["ws", "headers"] }
  38. axum-server = { version = "0.5.1", features = ["tls-rustls"] }
  39. tower-http = { version = "0.2.2", features = ["full"] }
  40. headers = "0.3.7"
  41. walkdir = "2"
  42. # tools download
  43. dirs = "4.0.0"
  44. reqwest = { version = "0.11", features = [
  45. "rustls-tls",
  46. "stream",
  47. "trust-dns",
  48. "blocking",
  49. ] }
  50. flate2 = "1.0.22"
  51. tar = "0.4.38"
  52. zip = "0.6.2"
  53. tower = "0.4.12"
  54. syn = { version = "2.0", features = ["full", "extra-traits"] }
  55. lazy_static = "1.4.0"
  56. # plugin packages
  57. mlua = { version = "0.8.1", features = [
  58. "lua54",
  59. "vendored",
  60. "async",
  61. "send",
  62. "macros",
  63. ], optional = true }
  64. ctrlc = "3.2.3"
  65. open = "4.1.0"
  66. cargo-generate = "0.18"
  67. toml_edit = "0.19.11"
  68. # bundling
  69. tauri-bundler = { version = "=1.3.0", features = ["native-tls-vendored"] }
  70. tauri-utils = "=1.4.*"
  71. dioxus-autofmt = { workspace = true }
  72. dioxus-check = { workspace = true }
  73. rsx-rosetta = { workspace = true }
  74. dioxus-rsx = { workspace = true }
  75. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  76. dioxus-core = { workspace = true, features = ["serialize"] }
  77. dioxus-hot-reload = { workspace = true }
  78. interprocess-docfix = { version = "1.2.2" }
  79. [features]
  80. default = []
  81. plugin = ["mlua"]
  82. [[bin]]
  83. path = "src/main.rs"
  84. name = "dx"
  85. [dev-dependencies]
  86. tempfile = "3.3"
  87. [package.metadata.binstall]
  88. pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  89. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  90. pkg-fmt = "zip"