Cargo.toml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. [package]
  2. name = "dioxus-cli"
  3. version = "0.5.7"
  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 = "0.18.0"
  27. futures-util = { workspace = true, features = ["async-await-macro"] }
  28. notify = { version = "5.0.0-pre.16", features = ["serde"] }
  29. html_parser = { workspace = true }
  30. cargo_metadata = "0.18.1"
  31. tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros"] }
  32. atty = "0.2.14"
  33. chrono = "0.4.19"
  34. anyhow = "1"
  35. hyper = { workspace = true }
  36. hyper-util = "0.1.3"
  37. hyper-rustls = { workspace = true }
  38. indicatif = "0.17.5"
  39. subprocess = "0.2.9"
  40. rayon = "1.8.0"
  41. axum = { workspace = true, features = ["ws"] }
  42. axum-server = { workspace = true, features = ["tls-rustls"] }
  43. axum-extra = { workspace = true, features = ["typed-header"] }
  44. tower-http = { workspace = true, features = ["full"] }
  45. headers = "0.3.7"
  46. walkdir = "2"
  47. # tools download
  48. dirs = "5.0.1"
  49. reqwest = { workspace = true, features = [
  50. "rustls-tls",
  51. "stream",
  52. "trust-dns",
  53. "blocking",
  54. ] }
  55. flate2 = "1.0.22"
  56. tar = "0.4.38"
  57. zip = "0.6.2"
  58. tower = { workspace = true }
  59. lazy_static = "1.4.0"
  60. # plugin packages
  61. mlua = { version = "0.8.1", features = [
  62. "lua54",
  63. "vendored",
  64. "async",
  65. "send",
  66. "macros",
  67. ], optional = true }
  68. ctrlc = "3.2.3"
  69. open = "5.0.1"
  70. cargo-generate = "0.20.0"
  71. toml_edit = "0.21.0"
  72. # bundling
  73. tauri-bundler = { version = "=1.4.*", features = ["native-tls-vendored"] }
  74. # formatting
  75. syn = { workspace = true }
  76. prettyplease = { workspace = true }
  77. # Assets
  78. manganis-cli-support = { workspace = true, features = ["html"] }
  79. brotli = "5.0.0"
  80. dioxus-autofmt = { workspace = true }
  81. dioxus-check = { workspace = true }
  82. rsx-rosetta = { workspace = true }
  83. dioxus-rsx = { workspace = true }
  84. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  85. dioxus-core = { workspace = true, features = ["serialize"] }
  86. dioxus-hot-reload = { workspace = true }
  87. interprocess = { workspace = true }
  88. # interprocess-docfix = { version = "1.2.2" }
  89. ignore = "0.4.22"
  90. env_logger = "0.11.3"
  91. tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter"] }
  92. tracing = { workspace = true }
  93. # on maco, we need to specify the vendored feature on ssl when cross compiling
  94. [target.'cfg(target_os = "macos")'.dependencies]
  95. openssl = { version = "0.10", features = ["vendored"] }
  96. [features]
  97. default = []
  98. plugin = ["mlua"]
  99. [[bin]]
  100. path = "src/main.rs"
  101. name = "dx"
  102. [dev-dependencies]
  103. tempfile = "3.3"
  104. [package.metadata.binstall]
  105. # temporarily, we're going to use the 0.5.0 download page for all binaries
  106. pkg-url = "{ repo }/releases/download/v0.5.0/dx-{ target }-v{ version }{ archive-suffix }"
  107. # pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
  108. pkg-fmt = "tgz"
  109. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  110. pkg-fmt = "zip"