2021-07-07 20:54:14 +00:00
|
|
|
[package]
|
2022-01-09 03:59:46 +00:00
|
|
|
name = "dioxus-cli"
|
2024-08-01 03:37:39 +00:00
|
|
|
version = { workspace = true }
|
2021-12-29 16:04:18 +00:00
|
|
|
authors = ["Jonathan Kelley"]
|
2022-06-12 07:31:35 +00:00
|
|
|
edition = "2021"
|
2021-07-07 20:54:14 +00:00
|
|
|
description = "CLI tool for developing, testing, and publishing Dioxus apps"
|
2023-07-08 16:04:27 +00:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-08-01 00:59:36 +00:00
|
|
|
keywords = ["react", "gui", "cli", "dioxus", "wasm"]
|
2024-07-27 00:24:40 +00:00
|
|
|
rust-version = "1.79.0"
|
2021-07-07 20:54:14 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-07 16:51:21 +00:00
|
|
|
# cli core
|
2024-03-14 00:15:49 +00:00
|
|
|
clap = { version = "4.2", features = ["derive", "cargo"] }
|
2023-07-11 20:54:24 +00:00
|
|
|
thiserror = { workspace = true }
|
2023-05-14 17:52:46 +00:00
|
|
|
wasm-bindgen-cli-support = "0.2"
|
2024-03-27 02:08:12 +00:00
|
|
|
wasm-bindgen-shared = "0.2"
|
2022-07-06 08:16:16 +00:00
|
|
|
colored = "2.0.0"
|
2024-03-27 02:10:26 +00:00
|
|
|
dioxus-cli-config = { workspace = true, features = ["cli"], default-features = false }
|
|
|
|
|
|
|
|
# features
|
|
|
|
log = "0.4.14"
|
2021-09-23 17:33:22 +00:00
|
|
|
fern = { version = "0.6.0", features = ["colored"] }
|
2022-02-06 21:28:18 +00:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
serde_json = "1.0.79"
|
2024-03-12 20:39:42 +00:00
|
|
|
toml = { workspace = true }
|
2021-12-29 16:04:18 +00:00
|
|
|
fs_extra = "1.2.0"
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
cargo_toml = { workspace = true }
|
2024-03-13 09:13:37 +00:00
|
|
|
futures-util = { workspace = true, features = ["async-await-macro"] }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
notify = { workspace = true, features = ["serde"] }
|
2024-02-06 12:53:28 +00:00
|
|
|
html_parser = { workspace = true }
|
2024-01-28 19:51:02 +00:00
|
|
|
cargo_metadata = "0.18.1"
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros", "process", "rt-multi-thread"] }
|
|
|
|
tokio-stream = "0.1.15"
|
2022-01-09 05:23:58 +00:00
|
|
|
atty = "0.2.14"
|
2022-01-27 04:09:54 +00:00
|
|
|
chrono = "0.4.19"
|
2023-08-16 19:03:28 +00:00
|
|
|
anyhow = "1"
|
2024-02-16 02:59:57 +00:00
|
|
|
hyper = { workspace = true }
|
2024-02-16 20:55:44 +00:00
|
|
|
hyper-util = "0.1.3"
|
2024-02-16 02:59:57 +00:00
|
|
|
hyper-rustls = { workspace = true }
|
2024-08-01 03:37:39 +00:00
|
|
|
rustls = { workspace = true }
|
2023-02-11 13:40:48 +00:00
|
|
|
subprocess = "0.2.9"
|
2024-02-06 12:53:28 +00:00
|
|
|
rayon = "1.8.0"
|
2024-07-23 18:00:57 +00:00
|
|
|
console = "0.15.8"
|
|
|
|
ctrlc = "3.2.3"
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
futures-channel = { workspace = true }
|
|
|
|
krates = { version = "0.17.0" }
|
2024-07-23 18:00:57 +00:00
|
|
|
|
2024-02-16 02:05:30 +00:00
|
|
|
axum = { workspace = true, features = ["ws"] }
|
2024-02-16 02:59:57 +00:00
|
|
|
axum-server = { workspace = true, features = ["tls-rustls"] }
|
|
|
|
axum-extra = { workspace = true, features = ["typed-header"] }
|
2024-02-16 02:05:30 +00:00
|
|
|
tower-http = { workspace = true, features = ["full"] }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
proc-macro2 = { workspace = true, features = ["span-locations"] }
|
|
|
|
syn = { workspace = true, features = ["full", "extra-traits", "visit", "visit-mut"] }
|
2022-05-07 08:25:23 +00:00
|
|
|
|
2024-02-16 02:05:30 +00:00
|
|
|
headers = "0.3.7"
|
2022-05-10 02:31:02 +00:00
|
|
|
walkdir = "2"
|
|
|
|
|
2022-03-12 05:00:07 +00:00
|
|
|
# tools download
|
2024-07-03 04:43:58 +00:00
|
|
|
dirs = { workspace = true }
|
2024-02-18 17:45:27 +00:00
|
|
|
reqwest = { workspace = true, features = [
|
2022-12-07 20:55:28 +00:00
|
|
|
"rustls-tls",
|
|
|
|
"stream",
|
|
|
|
"trust-dns",
|
|
|
|
"blocking",
|
|
|
|
] }
|
2022-03-13 05:19:54 +00:00
|
|
|
flate2 = "1.0.22"
|
|
|
|
tar = "0.4.38"
|
2022-05-07 08:25:23 +00:00
|
|
|
zip = "0.6.2"
|
2024-02-16 02:05:30 +00:00
|
|
|
tower = { workspace = true }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
once_cell = "1.19.0"
|
2022-06-09 16:58:09 +00:00
|
|
|
|
2022-07-24 11:00:43 +00:00
|
|
|
# plugin packages
|
2024-01-28 19:51:02 +00:00
|
|
|
open = "5.0.1"
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
cargo-generate = "=0.21.1"
|
|
|
|
toml_edit = "0.22.15"
|
2023-07-08 01:17:42 +00:00
|
|
|
|
2023-07-26 19:40:50 +00:00
|
|
|
# bundling
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
tauri-bundler = { workspace = true }
|
2023-07-26 19:40:50 +00:00
|
|
|
|
2024-02-08 16:00:25 +00:00
|
|
|
# formatting
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
# syn = { workspace = true }
|
2024-02-08 16:00:25 +00:00
|
|
|
prettyplease = { workspace = true }
|
|
|
|
|
2024-04-26 04:47:04 +00:00
|
|
|
# Assets
|
2024-03-25 20:21:51 +00:00
|
|
|
manganis-cli-support = { workspace = true, features = ["html"] }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
brotli = "6.0.0"
|
2023-07-26 19:40:50 +00:00
|
|
|
|
2023-07-08 01:17:42 +00:00
|
|
|
dioxus-autofmt = { workspace = true }
|
2023-07-18 21:12:47 +00:00
|
|
|
dioxus-check = { workspace = true }
|
2023-07-08 01:17:42 +00:00
|
|
|
rsx-rosetta = { workspace = true }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
dioxus-rsx = { workspace = true, features = ["serde"]}
|
2023-07-08 01:17:42 +00:00
|
|
|
dioxus-html = { workspace = true, features = ["hot-reload-context"] }
|
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
2024-05-22 12:24:15 +00:00
|
|
|
dioxus-hot-reload = { workspace = true, features = ["serve"] }
|
2024-02-06 12:53:28 +00:00
|
|
|
ignore = "0.4.22"
|
2024-03-13 20:07:15 +00:00
|
|
|
env_logger = "0.11.3"
|
2024-03-27 19:07:44 +00:00
|
|
|
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter"] }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
console-subscriber = { version = "0.3.0", optional = true }
|
2024-03-27 03:26:45 +00:00
|
|
|
tracing = { workspace = true }
|
2024-07-29 20:20:46 +00:00
|
|
|
wasm-opt = { version = "0.116.1", optional = true }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
ratatui = { version = "0.27.0", features = ["crossterm", "unstable"] }
|
|
|
|
crossterm = { version = "0.27.0", features = ["event-stream"] }
|
|
|
|
ansi-to-tui = "=5.0.0-rc.1"
|
|
|
|
ansi-to-html = "0.2.1"
|
2022-04-24 07:24:41 +00:00
|
|
|
|
2024-07-24 00:49:33 +00:00
|
|
|
# on macos, we need to specify the vendored feature on ssl when cross compiling
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
# [target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
# openssl = { version = "0.10", features = ["vendored"] }
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
built = { version = "=0.7.3", features = ["git2"] }
|
2024-03-27 05:26:54 +00:00
|
|
|
|
2023-07-08 01:17:42 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
plugin = []
|
|
|
|
tokio-console = ["dep:console-subscriber"]
|
2023-07-08 01:17:42 +00:00
|
|
|
|
2024-07-29 20:20:46 +00:00
|
|
|
# when releasing dioxus, we want to enable wasm-opt
|
|
|
|
wasm-opt = ["dep:wasm-opt"]
|
|
|
|
|
2023-07-08 01:17:42 +00:00
|
|
|
[[bin]]
|
|
|
|
path = "src/main.rs"
|
|
|
|
name = "dx"
|
2023-08-05 04:28:09 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.3"
|
2023-08-15 18:41:32 +00:00
|
|
|
|
|
|
|
[package.metadata.binstall]
|
2024-03-28 02:35:38 +00:00
|
|
|
# temporarily, we're going to use the 0.5.0 download page for all binaries
|
2024-08-01 03:37:39 +00:00
|
|
|
pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }-v{ version }{ archive-suffix }"
|
|
|
|
|
|
|
|
# the old one...
|
|
|
|
# pkg-url = "{ repo }/releases/download/v0.5.0/dx-{ target }-v{ version }{ archive-suffix }"
|
2024-03-28 02:35:38 +00:00
|
|
|
|
|
|
|
# pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
|
|
|
|
pkg-fmt = "tgz"
|
2023-08-15 18:41:32 +00:00
|
|
|
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
|
|
|
pkg-fmt = "zip"
|