* feat(cli): add feature to disable downloads --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
162 lines
4.8 KiB
TOML
162 lines
4.8 KiB
TOML
[package]
|
|
name = "dioxus-cli"
|
|
version = { workspace = true }
|
|
authors = ["Jonathan Kelley"]
|
|
edition = "2021"
|
|
description = "CLI for building fullstack web, desktop, and mobile apps with a single codebase."
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["mobile", "gui", "cli", "dioxus", "wasm"]
|
|
rust-version = "1.79.0"
|
|
|
|
[dependencies]
|
|
dioxus-autofmt = { workspace = true }
|
|
dioxus-check = { workspace = true }
|
|
dioxus-rsx-rosetta = { workspace = true }
|
|
dioxus-rsx = { workspace = true }
|
|
dioxus-rsx-hotreload = { workspace = true }
|
|
dioxus-html = { workspace = true, features = ["hot-reload-context"] }
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
|
dioxus-core-types = { workspace = true }
|
|
dioxus-devtools-types = { workspace = true }
|
|
dioxus-cli-config = { workspace = true }
|
|
dioxus-cli-opt = { workspace = true }
|
|
dioxus-fullstack = { workspace = true }
|
|
dioxus-dx-wire-format = { workspace = true }
|
|
|
|
clap = { workspace = true, features = ["derive", "cargo"] }
|
|
convert_case = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
uuid = { version = "1.3.0", features = ["v4"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
toml = { workspace = true }
|
|
cargo_toml = { workspace = true }
|
|
futures-util = { workspace = true, features = ["async-await-macro"] }
|
|
notify = { workspace = true, features = ["serde"] }
|
|
html_parser = { workspace = true }
|
|
cargo_metadata = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tokio-stream = "0.1.15"
|
|
chrono = "0.4.19"
|
|
anyhow = { workspace = true }
|
|
hyper = { workspace = true }
|
|
hyper-util = "0.1.3"
|
|
hyper-rustls = { workspace = true }
|
|
rustls = { workspace = true }
|
|
rayon = "1.8.0"
|
|
console = "0.15.8"
|
|
ctrlc = "3.2.3"
|
|
futures-channel = { workspace = true }
|
|
krates = { version = "0.17.0" }
|
|
cargo-config2 = { workspace = true, optional = true }
|
|
regex = "1.10.6"
|
|
|
|
axum = { workspace = true, features = ["ws"] }
|
|
axum-server = { workspace = true, features = ["tls-rustls"] }
|
|
axum-extra = { workspace = true, features = ["typed-header"] }
|
|
tower-http = { workspace = true, features = ["full"] }
|
|
proc-macro2 = { workspace = true, features = ["span-locations"] }
|
|
syn = { workspace = true, features = ["full", "extra-traits", "visit", "visit-mut"] }
|
|
|
|
headers = "0.4.0"
|
|
walkdir = "2"
|
|
dunce = { workspace = true }
|
|
|
|
# tools download
|
|
dirs = { workspace = true }
|
|
reqwest = { workspace = true, features = [
|
|
"rustls-tls",
|
|
"trust-dns",
|
|
"json"
|
|
] }
|
|
tower = { workspace = true }
|
|
once_cell = "1.19.0"
|
|
|
|
# path lookup
|
|
which = { version = "7.0.1" }
|
|
|
|
# plugin packages
|
|
open = "5.0.1"
|
|
cargo-generate = "=0.21.3"
|
|
toml_edit = "0.22.20"
|
|
|
|
# formatting
|
|
# syn = { workspace = true }
|
|
prettyplease = { workspace = true }
|
|
|
|
# Assets
|
|
brotli = "6.0.0"
|
|
ignore = "0.4.22"
|
|
env_logger = { workspace = true }
|
|
const-serialize = { workspace = true, features = ["serde"] }
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter", "json", "registry", "fmt"] }
|
|
console-subscriber = { version = "0.3.0", optional = true }
|
|
tracing = { workspace = true }
|
|
wasm-opt = { version = "0.116.1", optional = true }
|
|
crossterm = { version = "0.28.0", features = ["event-stream"] }
|
|
ansi-to-tui = "6.0"
|
|
ansi-to-html = "0.2.1"
|
|
path-absolutize = "3.1"
|
|
ratatui = { version = "0.28.0", features = ["crossterm", "unstable"] }
|
|
|
|
# disable `log` entirely since `walrus` uses it and is *much* slower with it enableda
|
|
log = { version = "0.4", features = ["max_level_off", "release_max_level_off"] }
|
|
|
|
# link intercept
|
|
tempfile = "3.3"
|
|
manganis-core = { workspace = true }
|
|
|
|
# Extracting data from an executable
|
|
object = {version="0.36.0", features=["wasm"]}
|
|
tokio-util = { version = "0.7.11", features = ["full"] }
|
|
itertools = "0.13.0"
|
|
throbber-widgets-tui = "=0.7.0"
|
|
unicode-segmentation = "1.12.0"
|
|
handlebars = "6.1.0"
|
|
strum = { version = "0.26.3", features = ["derive"] }
|
|
|
|
tauri-utils = { workspace = true }
|
|
tauri-bundler = { workspace = true }
|
|
include_dir = "0.7.4"
|
|
flate2 = "1.0.35"
|
|
tar = "0.4.43"
|
|
dircpy = "0.3.19"
|
|
|
|
[build-dependencies]
|
|
built = { version = "=0.7.4", features = ["git2"] }
|
|
|
|
[features]
|
|
default = []
|
|
plugin = []
|
|
tokio-console = ["dep:console-subscriber"]
|
|
bundle = []
|
|
no-downloads = []
|
|
|
|
# when releasing dioxus, we want to enable wasm-opt
|
|
# and then also maybe developing it too.
|
|
# making this optional cuts workspace deps down from 1000 to 500, so it's very nice for workspace adev
|
|
optimizations = ["wasm-opt", "asset-opt"]
|
|
asset-opt = []
|
|
wasm-opt = ["dep:wasm-opt"]
|
|
|
|
[[bin]]
|
|
path = "src/main.rs"
|
|
name = "dx"
|
|
|
|
[dev-dependencies]
|
|
escargot = "0.5"
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }-v{ version }{ archive-suffix }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
|
pkg-fmt = "zip"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = false
|
|
rustc-args = [ "--cfg", "docsrs" ]
|
|
rustdoc-args = [ "--cfg", "docsrs" ]
|