Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [package]
  2. name = "dioxus-cli"
  3. version = "0.3.1"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "CLI tool for developing, testing, and publishing Dioxus apps"
  7. license = "MIT/Apache-2.0"
  8. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  9. [dependencies]
  10. # cli core
  11. clap = { version = "4.2", features = ["derive"] }
  12. thiserror = "1.0.30"
  13. wasm-bindgen-cli-support = "0.2"
  14. colored = "2.0.0"
  15. # features
  16. log = "0.4.14"
  17. fern = { version = "0.6.0", features = ["colored"] }
  18. serde = { version = "1.0.136", features = ["derive"] }
  19. serde_json = "1.0.79"
  20. toml = "0.5.8"
  21. fs_extra = "1.2.0"
  22. cargo_toml = "0.11.4"
  23. futures = "0.3.21"
  24. notify = { version = "5.0.0-pre.16", features = ["serde"] }
  25. html_parser.workspace = true
  26. binary-install = "0.0.2"
  27. convert_case = "0.5.0"
  28. cargo_metadata = "0.15.0"
  29. tokio = { version = "1.16.1", features = ["full"] }
  30. atty = "0.2.14"
  31. regex = "1.5.4"
  32. chrono = "0.4.19"
  33. anyhow = "1.0.53"
  34. hyper = "0.14.17"
  35. hyper-rustls = "0.23.2"
  36. indicatif = "0.17.0-rc.11"
  37. subprocess = "0.2.9"
  38. axum = { version = "0.5.1", features = ["ws", "headers"] }
  39. tower-http = { version = "0.2.2", features = ["full"] }
  40. headers = "0.3.7"
  41. walkdir = "2"
  42. # tools download
  43. dirs = "4.0.0"
  44. reqwest = { version = "0.11", features = [
  45. "rustls-tls",
  46. "stream",
  47. "trust-dns",
  48. "blocking",
  49. ] }
  50. flate2 = "1.0.22"
  51. tar = "0.4.38"
  52. zip = "0.6.2"
  53. tower = "0.4.12"
  54. syn = { version = "1.0", features = ["full", "extra-traits"] }
  55. proc-macro2 = { version = "1.0", features = ["span-locations"] }
  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. gitignore = "1.0.7"
  67. open = "4.1.0"
  68. cargo-generate = "0.18.3"
  69. toml_edit = "0.19.11"
  70. # dioxus-rsx = "0.0.1"
  71. dioxus-autofmt = { workspace = true }
  72. rsx-rosetta = { workspace = true }
  73. dioxus-rsx = { workspace = true }
  74. dioxus-html = { workspace = true, features = ["hot-reload-context"] }
  75. dioxus-core = { workspace = true, features = ["serialize"] }
  76. [features]
  77. default = []
  78. plugin = ["mlua"]
  79. # install path dx and dioxus as the same command
  80. # so, they're not really aliases
  81. # eventually dx will defer to the right version of dioxus
  82. [[bin]]
  83. path = "src/main.rs"
  84. name = "dioxus"
  85. [[bin]]
  86. path = "src/main.rs"
  87. name = "dx"