Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. [package]
  2. name = "dioxus-cli"
  3. version = "0.4.3"
  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, features = ["cli"] }
  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.8.8"
  23. fs_extra = "1.2.0"
  24. cargo_toml = "0.18.0"
  25. futures-util = { workspace = true }
  26. notify = { version = "5.0.0-pre.16", features = ["serde"] }
  27. html_parser = { workspace = true }
  28. cargo_metadata = "0.18.1"
  29. tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros"] }
  30. atty = "0.2.14"
  31. chrono = "0.4.19"
  32. anyhow = "1"
  33. hyper = "0.14.17"
  34. hyper-rustls = "0.23.2"
  35. indicatif = "0.17.5"
  36. subprocess = "0.2.9"
  37. rayon = "1.8.0"
  38. axum = { version = "0.5.1", features = ["ws", "headers"] }
  39. axum-server = { version = "0.5.1", features = ["tls-rustls"] }
  40. tower-http = { version = "0.2.2", features = ["full"] }
  41. headers = "0.3.7"
  42. walkdir = "2"
  43. # tools download
  44. dirs = "5.0.1"
  45. reqwest = { version = "0.11", features = [
  46. "rustls-tls",
  47. "stream",
  48. "trust-dns",
  49. "blocking",
  50. ] }
  51. flate2 = "1.0.22"
  52. tar = "0.4.38"
  53. zip = "0.6.2"
  54. tower = "0.4.12"
  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 = "5.0.1"
  66. cargo-generate = "0.19.0"
  67. toml_edit = "0.21.0"
  68. # bundling
  69. tauri-bundler = { version = "=1.4.*", features = ["native-tls-vendored"] }
  70. # formatting
  71. syn = { version = "2.0" }
  72. prettyplease = { workspace = true }
  73. manganis-cli-support = { workspace = true, features = ["webp", "html"] }
  74. dioxus-autofmt = { workspace = true }
  75. dioxus-check = { workspace = true }
  76. rsx-rosetta = { workspace = true }
  77. dioxus-rsx = { workspace = true }
  78. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  79. dioxus-core = { workspace = true, features = ["serialize"] }
  80. dioxus-hot-reload = { workspace = true }
  81. interprocess-docfix = { version = "1.2.2" }
  82. ignore = "0.4.22"
  83. [features]
  84. default = []
  85. plugin = ["mlua"]
  86. [[bin]]
  87. path = "src/main.rs"
  88. name = "dx"
  89. [dev-dependencies]
  90. tempfile = "3.3"
  91. [package.metadata.binstall]
  92. pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  93. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  94. pkg-fmt = "zip"