Cargo.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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", "cargo"] }
  13. thiserror = { workspace = true }
  14. wasm-bindgen-cli-support = "0.2"
  15. wasm-bindgen-shared = "0.2"
  16. colored = "2.0.0"
  17. dioxus-cli-config = { workspace = true, features = ["cli"] }
  18. fern = { version = "0.6.0", features = ["colored"] }
  19. serde = { version = "1.0.136", features = ["derive"] }
  20. serde_json = "1.0.79"
  21. toml = { workspace = true }
  22. fs_extra = "1.2.0"
  23. cargo_toml = "0.18.0"
  24. futures-util = { workspace = true, features = ["async-await-macro"] }
  25. notify = { version = "5.0.0-pre.16", features = ["serde"] }
  26. html_parser = { workspace = true }
  27. cargo_metadata = "0.18.1"
  28. tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros"] }
  29. atty = "0.2.14"
  30. chrono = "0.4.19"
  31. anyhow = "1"
  32. hyper = { workspace = true }
  33. hyper-util = "0.1.3"
  34. hyper-rustls = { workspace = true }
  35. indicatif = "0.17.5"
  36. subprocess = "0.2.9"
  37. rayon = "1.8.0"
  38. axum = { workspace = true, features = ["ws"] }
  39. axum-server = { workspace = true, features = ["tls-rustls"] }
  40. axum-extra = { workspace = true, features = ["typed-header"] }
  41. tower-http = { workspace = true, features = ["full"] }
  42. headers = "0.3.7"
  43. walkdir = "2"
  44. # tools download
  45. dirs = "5.0.1"
  46. reqwest = { workspace = true, features = [
  47. "rustls-tls",
  48. "stream",
  49. "trust-dns",
  50. "blocking",
  51. ] }
  52. flate2 = "1.0.22"
  53. tar = "0.4.38"
  54. zip = "0.6.2"
  55. tower = { workspace = true }
  56. lazy_static = "1.4.0"
  57. # plugin packages
  58. mlua = { version = "0.8.1", features = [
  59. "lua54",
  60. "vendored",
  61. "async",
  62. "send",
  63. "macros",
  64. ], optional = true }
  65. ctrlc = "3.2.3"
  66. open = "5.0.1"
  67. cargo-generate = "0.19.0"
  68. toml_edit = "0.21.0"
  69. # bundling
  70. tauri-bundler = { version = "=1.4.*", features = ["native-tls-vendored"] }
  71. # formatting
  72. syn = { workspace = true }
  73. prettyplease = { workspace = true }
  74. manganis-cli-support = { workspace = true, features = ["html"] }
  75. dioxus-autofmt = { workspace = true }
  76. dioxus-check = { workspace = true }
  77. rsx-rosetta = { workspace = true }
  78. dioxus-rsx = { workspace = true }
  79. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  80. dioxus-core = { workspace = true, features = ["serialize"] }
  81. dioxus-hot-reload = { workspace = true }
  82. interprocess = { workspace = true }
  83. # interprocess-docfix = { version = "1.2.2" }
  84. ignore = "0.4.22"
  85. env_logger = "0.11.3"
  86. tracing-subscriber = "0.3.18"
  87. tracing.workspace = true
  88. [features]
  89. default = []
  90. plugin = ["mlua"]
  91. [[bin]]
  92. path = "src/main.rs"
  93. name = "dx"
  94. [dev-dependencies]
  95. tempfile = "3.3"
  96. [package.metadata.binstall]
  97. pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  98. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  99. pkg-fmt = "zip"