1
0

Cargo.toml 3.2 KB

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