Cargo.toml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. [package]
  2. name = "dioxus-cli"
  3. version = "0.5.2"
  4. # version = { workspace = true }
  5. authors = ["Jonathan Kelley"]
  6. edition = "2021"
  7. description = "CLI tool for developing, testing, and publishing Dioxus apps"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. license = "MIT OR Apache-2.0"
  10. keywords = ["react", "gui", "cli", "dioxus", "wasm"]
  11. [dependencies]
  12. # cli core
  13. clap = { version = "4.2", features = ["derive", "cargo"] }
  14. thiserror = { workspace = true }
  15. wasm-bindgen-cli-support = "0.2"
  16. wasm-bindgen-shared = "0.2"
  17. colored = "2.0.0"
  18. dioxus-cli-config = { workspace = true, features = ["cli"], default-features = false }
  19. # features
  20. log = "0.4.14"
  21. fern = { version = "0.6.0", features = ["colored"] }
  22. serde = { version = "1.0.136", features = ["derive"] }
  23. serde_json = "1.0.79"
  24. toml = { workspace = true }
  25. fs_extra = "1.2.0"
  26. cargo_toml = { workspace = true }
  27. futures-util = { workspace = true, features = ["async-await-macro"] }
  28. notify = { workspace = true, features = ["serde"] }
  29. html_parser = { workspace = true }
  30. cargo_metadata = "0.18.1"
  31. tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros", "process", "rt-multi-thread"] }
  32. tokio-stream = "0.1.15"
  33. atty = "0.2.14"
  34. chrono = "0.4.19"
  35. anyhow = "1"
  36. hyper = { workspace = true }
  37. hyper-util = "0.1.3"
  38. hyper-rustls = { workspace = true }
  39. rustls = {version="0.23.11", default-features=false, features =["logging","std","tls12","ring"]}
  40. subprocess = "0.2.9"
  41. rayon = "1.8.0"
  42. console = "0.15.8"
  43. ctrlc = "3.2.3"
  44. futures-channel = { workspace = true }
  45. krates = { version = "0.17.0" }
  46. axum = { workspace = true, features = ["ws"] }
  47. axum-server = { workspace = true, features = ["tls-rustls"] }
  48. axum-extra = { workspace = true, features = ["typed-header"] }
  49. tower-http = { workspace = true, features = ["full"] }
  50. proc-macro2 = { workspace = true, features = ["span-locations"] }
  51. syn = { workspace = true, features = ["full", "extra-traits", "visit", "visit-mut"] }
  52. headers = "0.3.7"
  53. walkdir = "2"
  54. # tools download
  55. dirs = { workspace = true }
  56. reqwest = { workspace = true, features = [
  57. "rustls-tls",
  58. "stream",
  59. "trust-dns",
  60. "blocking",
  61. ] }
  62. flate2 = "1.0.22"
  63. tar = "0.4.38"
  64. zip = "0.6.2"
  65. tower = { workspace = true }
  66. once_cell = "1.19.0"
  67. # plugin packages
  68. open = "5.0.1"
  69. cargo-generate = "=0.21.1"
  70. toml_edit = "0.22.15"
  71. # bundling
  72. tauri-bundler = { workspace = true }
  73. # formatting
  74. # syn = { workspace = true }
  75. prettyplease = { workspace = true }
  76. # Assets
  77. manganis-cli-support = { workspace = true, features = ["html"] }
  78. brotli = "6.0.0"
  79. dioxus-autofmt = { workspace = true }
  80. dioxus-check = { workspace = true }
  81. rsx-rosetta = { workspace = true }
  82. dioxus-rsx = { workspace = true, features = ["serde"]}
  83. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  84. dioxus-core = { workspace = true, features = ["serialize"] }
  85. dioxus-hot-reload = { workspace = true, features = ["serve"] }
  86. ignore = "0.4.22"
  87. env_logger = "0.11.3"
  88. tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter"] }
  89. console-subscriber = { version = "0.3.0", optional = true }
  90. tracing = { workspace = true }
  91. wasm-opt = "0.116.1"
  92. ratatui = { version = "0.27.0", features = ["crossterm", "unstable"] }
  93. crossterm = { version = "0.27.0", features = ["event-stream"] }
  94. ansi-to-tui = "=5.0.0-rc.1"
  95. ansi-to-html = "0.2.1"
  96. # on macos, we need to specify the vendored feature on ssl when cross compiling
  97. # [target.'cfg(target_os = "macos")'.dependencies]
  98. # openssl = { version = "0.10", features = ["vendored"] }
  99. [build-dependencies]
  100. built = { version = "=0.7.3", features = ["git2"] }
  101. [features]
  102. default = []
  103. plugin = []
  104. tokio-console = ["dep:console-subscriber"]
  105. [[bin]]
  106. path = "src/main.rs"
  107. name = "dx"
  108. [dev-dependencies]
  109. tempfile = "3.3"
  110. [package.metadata.binstall]
  111. # temporarily, we're going to use the 0.5.0 download page for all binaries
  112. pkg-url = "{ repo }/releases/download/v0.5.0/dx-{ target }-v{ version }{ archive-suffix }"
  113. # pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  114. pkg-fmt = "tgz"
  115. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  116. pkg-fmt = "zip"