dioxus/Cargo.toml

84 lines
2.4 KiB
TOML
Raw Normal View History

2021-06-16 15:19:37 +00:00
[package]
name = "dioxus"
version = "0.1.2"
2021-12-15 21:04:27 +00:00
authors = ["Jonathan Kelley"]
2021-06-16 15:19:37 +00:00
edition = "2018"
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
2021-12-15 21:04:27 +00:00
license = "MIT/Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "wasm"]
2021-06-16 15:19:37 +00:00
[dependencies]
2021-12-30 02:28:28 +00:00
dioxus-core = { path = "./packages/core", version = "^0.1.4" }
dioxus-html = { path = "./packages/html", version = "^0.1.1", optional = true }
dioxus-core-macro = { path = "./packages/core-macro", version = "^0.1.3", optional = true }
2021-07-11 22:39:45 +00:00
dioxus-hooks = { path = "./packages/hooks", optional = true }
2021-12-30 02:28:28 +00:00
dioxus-web = { path = "./packages/web", version = "^0.0.1", optional = true }
dioxus-desktop = { path = "./packages/desktop", optional = true }
2021-12-30 02:28:28 +00:00
dioxus-ssr = { path = "./packages/ssr", optional = true }
dioxus-router = { path = "./packages/router", optional = true }
2021-12-30 02:28:28 +00:00
# dioxus-mobile = { path = "./packages/mobile", optional = true }
# dioxus-liveview = { path = "./packages/liveview", optional = true }
2021-06-16 15:19:37 +00:00
[features]
default = ["macro", "hooks", "html"]
macro = ["dioxus-core-macro"]
hooks = ["dioxus-hooks"]
html = ["dioxus-html"]
2021-11-03 04:35:56 +00:00
router = ["dioxus-router"]
2021-07-15 22:40:12 +00:00
ssr = ["dioxus-ssr"]
2021-12-19 04:03:59 +00:00
web = ["dioxus-web", "dioxus-router/web"]
desktop = ["dioxus-desktop", "dioxus-router/desktop"]
2021-12-30 02:28:28 +00:00
# mobile = ["dioxus-mobile"]
# liveview = ["dioxus-liveview"]
2021-06-17 03:37:55 +00:00
[workspace]
members = [
"packages/core",
"packages/core-macro",
"packages/html",
"packages/hooks",
"packages/web",
"packages/ssr",
"packages/desktop",
"packages/mobile",
]
2021-06-17 03:37:55 +00:00
[dev-dependencies]
2021-12-15 03:59:34 +00:00
futures-util = "0.3.17"
log = "0.4.14"
num-format = "0.4.0"
separator = "0.4.1"
2021-12-15 03:59:34 +00:00
serde = { version = "1.0.131", features = ["derive"] }
im-rc = "15.0.0"
fxhash = "0.2.1"
2021-12-15 03:59:34 +00:00
anyhow = "1.0.51"
serde_json = "1.0.73"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
2021-12-15 03:59:34 +00:00
argh = "0.1.7"
2021-09-25 01:35:32 +00:00
env_logger = "0.9.0"
2021-12-15 03:59:34 +00:00
tokio = { version = "1.14.0", features = ["full"] }
rand = { version = "0.8.4", features = ["small_rng"] }
2021-12-15 03:59:34 +00:00
gloo-timers = "0.2.2"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2021-12-15 03:59:34 +00:00
gloo-timers = "0.2.2"
wasm-logger = "0.2.0"
2021-12-15 03:59:34 +00:00
console_error_panic_hook = "0.1.7"
rand = { version = "0.8.4", features = ["small_rng"] }
2021-12-15 03:59:34 +00:00
wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
[dev-dependencies.getrandom]
2021-12-15 03:59:34 +00:00
version = "0.2.3"
features = ["js"]