mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-30 16:09:12 +00:00
c866ae602b
* Add `#[component]` attribute + system for creating component attributes + other stuff * Delete inlineprops.rs * Update inline_props.rs * Cargo fmt * Fix clippy warnings and paths in props/mods.rs * Include where clause in `#[inline_props]` output * Allow Clippy type complexity in `LinkProps` * Allow the type complexity lint for the entire link.rs file * Remove snake_case -> PascalCase converter, but rather enforce PascalCase Also: - Put the second function inside the main one instead of besides it. - Simplify * Simplify type check lints so they don't return false positives They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system. * Fix #583 * Cargo fmt * Add docs for `deserialize()` and remove useless comment * Add `#[component]` to prelude * Merge branch 'master' of https://github.com/tigerros/dioxus * #[inline_props] is no more. Except in the docs folder, but that's going to be removed * Remove docs folder * Remove docs from workspace * Resolve `DeserializerOutput` conversation
134 lines
4.8 KiB
TOML
134 lines
4.8 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"packages/dioxus",
|
|
"packages/core",
|
|
"packages/cli",
|
|
"packages/core-macro",
|
|
"packages/router-macro",
|
|
"packages/extension",
|
|
"packages/router",
|
|
"packages/html",
|
|
"packages/hooks",
|
|
"packages/web",
|
|
"packages/ssr",
|
|
"packages/desktop",
|
|
"packages/mobile",
|
|
"packages/interpreter",
|
|
"packages/fermi",
|
|
"packages/liveview",
|
|
"packages/autofmt",
|
|
"packages/check",
|
|
"packages/rsx",
|
|
"packages/dioxus-tui",
|
|
"packages/rink",
|
|
"packages/native-core",
|
|
"packages/native-core-macro",
|
|
"packages/rsx-rosetta",
|
|
"packages/generational-box",
|
|
"packages/signals",
|
|
"packages/hot-reload",
|
|
"packages/fullstack",
|
|
"packages/server-macro",
|
|
"packages/fullstack/examples/axum-hello-world",
|
|
"packages/fullstack/examples/axum-router",
|
|
"packages/fullstack/examples/axum-desktop",
|
|
"packages/fullstack/examples/axum-auth",
|
|
"packages/fullstack/examples/salvo-hello-world",
|
|
"packages/fullstack/examples/warp-hello-world",
|
|
"packages/fullstack/examples/static-hydrated",
|
|
# Full project examples
|
|
"examples/tailwind",
|
|
"examples/PWA-example",
|
|
"examples/query_segments_demo",
|
|
# Playwright tests
|
|
"playwright-tests/liveview",
|
|
"playwright-tests/web",
|
|
"playwright-tests/fullstack",
|
|
]
|
|
exclude = ["examples/mobile_demo"]
|
|
|
|
[workspace.package]
|
|
version = "0.4.2"
|
|
|
|
# dependencies that are shared across packages
|
|
[workspace.dependencies]
|
|
dioxus = { path = "packages/dioxus", version = "0.4.0" }
|
|
dioxus-core = { path = "packages/core", version = "0.4.2" }
|
|
dioxus-core-macro = { path = "packages/core-macro", version = "0.4.0" }
|
|
dioxus-router = { path = "packages/router", version = "0.4.1" }
|
|
dioxus-router-macro = { path = "packages/router-macro", version = "0.4.1" }
|
|
dioxus-html = { path = "packages/html", version = "0.4.0" }
|
|
dioxus-hooks = { path = "packages/hooks", version = "0.4.0" }
|
|
dioxus-web = { path = "packages/web", version = "0.4.0" }
|
|
dioxus-ssr = { path = "packages/ssr", version = "0.4.0" }
|
|
dioxus-desktop = { path = "packages/desktop", version = "0.4.0" }
|
|
dioxus-mobile = { path = "packages/mobile", version = "0.4.0" }
|
|
dioxus-interpreter-js = { path = "packages/interpreter", version = "0.4.0" }
|
|
fermi = { path = "packages/fermi", version = "0.4.0" }
|
|
dioxus-liveview = { path = "packages/liveview", version = "0.4.0" }
|
|
dioxus-autofmt = { path = "packages/autofmt", version = "0.4.0" }
|
|
dioxus-check = { path = "packages/check", version = "0.4.0" }
|
|
dioxus-rsx = { path = "packages/rsx", version = "0.4.0" }
|
|
dioxus-tui = { path = "packages/dioxus-tui", version = "0.4.0" }
|
|
plasmo = { path = "packages/rink", version = "0.4.0" }
|
|
dioxus-native-core = { path = "packages/native-core", version = "0.4.0" }
|
|
dioxus-native-core-macro = { path = "packages/native-core-macro", version = "0.4.0" }
|
|
rsx-rosetta = { path = "packages/rsx-rosetta", version = "0.4.0" }
|
|
dioxus-signals = { path = "packages/signals" }
|
|
generational-box = { path = "packages/generational-box" }
|
|
dioxus-hot-reload = { path = "packages/hot-reload", version = "0.4.0" }
|
|
dioxus-fullstack = { path = "packages/fullstack", version = "0.4.1" }
|
|
dioxus_server_macro = { path = "packages/server-macro", version = "0.4.1" }
|
|
tracing = "0.1.37"
|
|
tracing-futures = "0.2.5"
|
|
tokio = "1.28"
|
|
slab = "0.4.2"
|
|
futures-channel = "0.3.21"
|
|
futures-util = { version = "0.3", default-features = false }
|
|
rustc-hash = "1.1.0"
|
|
wasm-bindgen = "0.2.87"
|
|
html_parser = "0.7.0"
|
|
thiserror = "1.0.40"
|
|
prettyplease = { package = "prettier-please", version = "0.2", features = [
|
|
"verbatim",
|
|
] }
|
|
|
|
# This is a "virtual package"
|
|
# It is not meant to be published, but is used so "cargo run --example XYZ" works properly
|
|
[package]
|
|
name = "dioxus-examples"
|
|
version = "0.0.0"
|
|
authors = ["Jonathan Kelley"]
|
|
edition = "2021"
|
|
description = "Top level crate for the Dioxus repository"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com"
|
|
documentation = "https://dioxuslabs.com"
|
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|
rust-version = "1.60.0"
|
|
publish = false
|
|
|
|
[dev-dependencies]
|
|
dioxus = { workspace = true }
|
|
dioxus-desktop = { workspace = true, features = ["transparent"] }
|
|
dioxus-ssr = { workspace = true }
|
|
dioxus-router = { workspace = true }
|
|
dioxus-signals = { workspace = true }
|
|
fermi = { workspace = true }
|
|
futures-util = "0.3.21"
|
|
log = "0.4.14"
|
|
num-format = "0.4.0"
|
|
separator = "0.4.1"
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
im-rc = "15.0.0"
|
|
anyhow = "1.0.53"
|
|
serde_json = "1.0.79"
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
tokio = { version = "1.16.1", features = ["full"] }
|
|
reqwest = { version = "0.11.9", features = ["json"] }
|
|
fern = { version = "0.6.0", features = ["colored"] }
|
|
env_logger = "0.10.0"
|
|
simple_logger = "4.0.0"
|
|
thiserror = { workspace = true }
|