Cargo.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. [package]
  2. name = "dioxus-cli"
  3. version = { workspace = true }
  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 = { workspace = true }
  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 = { workspace = true }
  34. hyper-util = "0.1.3"
  35. hyper-rustls = { workspace = true }
  36. indicatif = "0.17.5"
  37. subprocess = "0.2.9"
  38. rayon = "1.8.0"
  39. axum = { workspace = true, features = ["ws"] }
  40. axum-server = { workspace = true, features = ["tls-rustls"] }
  41. axum-extra = { workspace = true, features = ["typed-header"] }
  42. tower-http = { workspace = true, features = ["full"] }
  43. headers = "0.3.7"
  44. walkdir = "2"
  45. # tools download
  46. dirs = "5.0.1"
  47. reqwest = { workspace = true, features = [
  48. "rustls-tls",
  49. "stream",
  50. "trust-dns",
  51. "blocking",
  52. ] }
  53. flate2 = "1.0.22"
  54. tar = "0.4.38"
  55. zip = "0.6.2"
  56. tower = { workspace = true }
  57. lazy_static = "1.4.0"
  58. # plugin packages
  59. mlua = { version = "0.8.1", features = [
  60. "lua54",
  61. "vendored",
  62. "async",
  63. "send",
  64. "macros",
  65. ], optional = true }
  66. ctrlc = "3.2.3"
  67. open = "5.0.1"
  68. cargo-generate = "0.19.0"
  69. toml_edit = "0.21.0"
  70. # bundling
  71. tauri-bundler = { version = "=1.4.*", features = ["native-tls-vendored"] }
  72. # formatting
  73. syn = { workspace = true }
  74. prettyplease = { workspace = true }
  75. manganis-cli-support = { workspace = true, features = ["webp", "html"] }
  76. dioxus-autofmt = { workspace = true }
  77. dioxus-check = { workspace = true }
  78. rsx-rosetta = { workspace = true }
  79. dioxus-rsx = { workspace = true }
  80. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  81. dioxus-core = { workspace = true, features = ["serialize"] }
  82. dioxus-hot-reload = { workspace = true }
  83. interprocess = { workspace = true }
  84. # interprocess-docfix = { version = "1.2.2" }
  85. ignore = "0.4.22"
  86. [features]
  87. default = []
  88. plugin = ["mlua"]
  89. [[bin]]
  90. path = "src/main.rs"
  91. name = "dx"
  92. [dev-dependencies]
  93. tempfile = "3.3"
  94. [package.metadata.binstall]
  95. pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  96. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  97. pkg-fmt = "zip"