dioxus/Cargo.toml

94 lines
2.4 KiB
TOML
Raw Normal View History

2021-06-16 15:19:37 +00:00
[package]
name = "dioxus"
version = "0.1.0"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
edition = "2018"
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
"license" = "MIT/Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-10-16 21:04:28 +00:00
dioxus-core = { path = "./packages/core", version = "0.1.3" }
2021-07-11 22:39:45 +00:00
dioxus-core-macro = { path = "./packages/core-macro", optional = true }
dioxus-html = { path = "./packages/html", optional = true }
dioxus-web = { path = "./packages/web", optional = true }
2021-07-15 22:40:12 +00:00
dioxus-desktop = { path = "./packages/desktop", optional = true }
2021-07-11 22:39:45 +00:00
dioxus-hooks = { path = "./packages/hooks", optional = true }
2021-07-11 23:31:07 +00:00
dioxus-ssr = { path = "./packages/ssr", optional = true }
2021-07-15 22:40:12 +00:00
dioxus-mobile = { path = "./packages/mobile", optional = true }
2021-06-16 15:19:37 +00:00
[features]
2021-07-15 22:40:12 +00:00
# core
2021-10-12 06:26:06 +00:00
default = ["core"]
2021-07-15 22:40:12 +00:00
core = ["macro", "hooks", "html"]
macro = ["dioxus-core-macro"]
hooks = ["dioxus-hooks"]
html = ["dioxus-html"]
2021-06-16 15:19:37 +00:00
2021-07-15 22:40:12 +00:00
# utilities
atoms = []
router = []
# targets
ssr = ["dioxus-ssr"]
web = ["dioxus-web"]
desktop = ["dioxus-desktop"]
mobile = ["dioxus-mobile"]
2021-06-17 03:37:55 +00:00
[dev-dependencies]
futures-util = "0.3.16"
log = "0.4.14"
num-format = "0.4.0"
separator = "0.4.1"
2021-10-01 06:07:12 +00:00
serde = { version = "1.0.130", features = ["derive"] }
im-rc = "15.0.0"
fxhash = "0.2.1"
anyhow = "1.0.42"
2021-10-19 16:09:23 +00:00
# reqwest = "0.11.4"
2021-10-01 06:07:12 +00:00
serde_json = "1.0.68"
simple_logger = "1.13.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
argh = "0.1.5"
2021-09-25 01:35:32 +00:00
env_logger = "0.9.0"
2021-10-01 06:07:12 +00:00
tokio = { version = "1.12.0", features = ["full"] }
rand = { version = "0.8.4", features = ["small_rng"] }
2021-08-09 21:09:33 +00:00
gloo-timers = "0.2.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2021-07-16 20:11:25 +00:00
gloo-timers = "0.2.1"
wasm-logger = "0.2.0"
console_error_panic_hook = "0.1.6"
rand = { version = "0.8.4", features = ["small_rng"] }
wasm-bindgen = { version = "0.2.71", features = ["enable-interning"] }
[dev-dependencies.getrandom]
version = "0.2"
features = ["js"]
2021-07-12 17:03:24 +00:00
2021-01-14 07:56:41 +00:00
[workspace]
members = [
2021-03-02 05:14:28 +00:00
"packages/core",
2021-07-11 22:39:45 +00:00
"packages/core-macro",
"packages/html",
2021-07-11 22:39:45 +00:00
"packages/hooks",
"packages/web",
"packages/ssr",
2021-07-15 22:40:12 +00:00
"packages/desktop",
2021-07-16 04:27:06 +00:00
"packages/mobile",
2021-10-14 16:46:50 +00:00
"packages/webview-client",
2021-05-31 22:55:56 +00:00
]
2021-07-16 04:27:06 +00:00
[[example]]
required-features = ["desktop"]
name = "webview"
path = "./examples/webview.rs"
[[example]]
required-features = ["desktop"]
name = "tailwind"
path = "./examples/tailwind.rs"