2023-03-28 18:35:17 +00:00
|
|
|
[package]
|
2023-05-02 15:15:34 +00:00
|
|
|
name = "dioxus-fullstack"
|
2023-08-01 00:30:18 +00:00
|
|
|
authors = ["Jonathan Kelley, Evan Almloff"]
|
2023-08-01 01:49:54 +00:00
|
|
|
version = { workspace = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
edition = "2021"
|
2023-04-03 18:58:54 +00:00
|
|
|
description = "Fullstack Dioxus Utilities"
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-04-03 18:58:54 +00:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
|
|
homepage = "https://dioxuslabs.com"
|
2024-02-05 20:20:15 +00:00
|
|
|
keywords = ["ui", "gui", "react", "server", "fullstack"]
|
2024-01-19 03:27:55 +00:00
|
|
|
resolver = "2"
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-02 20:07:51 +00:00
|
|
|
# server functions
|
2024-02-16 18:17:01 +00:00
|
|
|
server_fn = { version = "0.6.5", features = ["json", "url", "browser"], default-features = false }
|
2024-02-21 22:16:01 +00:00
|
|
|
dioxus_server_macro = { workspace = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# axum
|
2024-02-21 22:16:01 +00:00
|
|
|
axum = { workspace = true, features = ["ws", "macros"], optional = true }
|
2024-03-21 06:05:50 +00:00
|
|
|
tower-http = { workspace = true, optional = true, features = ["fs"] }
|
|
|
|
async-compression = { version = "0.4.6", features = ["gzip", "tokio"], optional = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
2024-01-17 20:02:49 +00:00
|
|
|
dioxus-lib = { workspace = true }
|
2024-01-16 01:14:11 +00:00
|
|
|
|
2023-04-02 20:07:51 +00:00
|
|
|
# Dioxus + SSR
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-ssr = { workspace = true, optional = true }
|
2024-02-16 02:05:30 +00:00
|
|
|
hyper = { workspace = true, optional = true }
|
|
|
|
http = { workspace = true, optional = true }
|
2023-03-30 01:20:26 +00:00
|
|
|
|
2023-07-28 19:58:34 +00:00
|
|
|
# Web Integration
|
|
|
|
dioxus-web = { workspace = true, features = ["hydrate"], optional = true }
|
|
|
|
|
|
|
|
# Desktop Integration
|
|
|
|
dioxus-desktop = { workspace = true, optional = true }
|
|
|
|
|
2024-01-22 14:58:35 +00:00
|
|
|
# Mobile Integration
|
|
|
|
dioxus-mobile = { workspace = true, optional = true }
|
|
|
|
|
2023-09-06 22:47:33 +00:00
|
|
|
tracing = { workspace = true }
|
2023-11-21 20:46:47 +00:00
|
|
|
tracing-futures = { workspace = true, optional = true }
|
2023-03-30 01:20:26 +00:00
|
|
|
once_cell = "1.17.1"
|
2023-07-28 20:14:26 +00:00
|
|
|
tokio-util = { version = "0.7.8", features = ["rt"], optional = true }
|
2023-11-21 20:46:47 +00:00
|
|
|
anymap = { version = "0.12.1", optional = true }
|
2023-03-30 01:20:26 +00:00
|
|
|
|
2023-11-21 20:46:47 +00:00
|
|
|
serde = "1.0.159"
|
2023-04-02 22:45:28 +00:00
|
|
|
serde_json = { version = "1.0.95", optional = true }
|
|
|
|
tokio-stream = { version = "0.1.12", features = ["sync"], optional = true }
|
2024-02-21 22:16:01 +00:00
|
|
|
futures-util = { workspace = true }
|
2023-11-21 20:46:47 +00:00
|
|
|
ciborium = "0.2.1"
|
2023-04-30 21:35:11 +00:00
|
|
|
base64 = "0.21.0"
|
2023-04-02 22:45:28 +00:00
|
|
|
|
2023-11-21 20:46:47 +00:00
|
|
|
pin-project = { version = "1.1.2", optional = true }
|
|
|
|
thiserror = { workspace = true, optional = true }
|
2023-07-07 00:54:05 +00:00
|
|
|
async-trait = "0.1.71"
|
2023-07-08 01:25:45 +00:00
|
|
|
bytes = "1.4.0"
|
2024-02-16 02:05:30 +00:00
|
|
|
tower = { workspace = true, features = ["util"], optional = true }
|
2023-11-21 20:46:47 +00:00
|
|
|
tower-layer = { version = "0.3.2", optional = true }
|
2024-01-19 00:27:43 +00:00
|
|
|
web-sys = { version = "0.3.61", optional = true, features = ["Window", "Document", "Element", "HtmlDocument", "Storage", "console"] }
|
2023-07-07 00:54:05 +00:00
|
|
|
|
2024-03-27 02:10:26 +00:00
|
|
|
dioxus-cli-config = { workspace = true, features = ["read-config"], optional = true }
|
2024-01-31 22:50:54 +00:00
|
|
|
|
2024-02-16 20:12:33 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
tokio = { workspace = true, features = ["rt", "sync"], optional = true }
|
|
|
|
|
2023-04-02 20:07:51 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-hot-reload = { workspace = true }
|
2024-02-16 20:12:33 +00:00
|
|
|
tokio = { workspace = true, features = ["rt", "sync", "rt-multi-thread"], optional = true }
|
2023-04-02 20:07:51 +00:00
|
|
|
|
2023-03-30 01:20:26 +00:00
|
|
|
[features]
|
2023-11-21 20:46:47 +00:00
|
|
|
default = ["hot-reload"]
|
2024-02-16 20:12:33 +00:00
|
|
|
hot-reload = ["serde_json"]
|
2024-01-19 00:27:43 +00:00
|
|
|
web = ["dioxus-web", "web-sys"]
|
2023-07-28 19:58:34 +00:00
|
|
|
desktop = ["dioxus-desktop"]
|
2024-01-22 14:58:35 +00:00
|
|
|
mobile = ["dioxus-mobile"]
|
2023-05-24 16:11:17 +00:00
|
|
|
default-tls = ["server_fn/default-tls"]
|
|
|
|
rustls = ["server_fn/rustls"]
|
2024-03-21 06:05:50 +00:00
|
|
|
axum = ["dep:axum", "tower-http", "server", "server_fn/axum", "dioxus_server_macro/axum", "async-compression"]
|
2024-02-16 02:59:57 +00:00
|
|
|
server = [
|
|
|
|
"server_fn/ssr",
|
|
|
|
"dioxus_server_macro/server",
|
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
|
|
|
"tokio-stream",
|
|
|
|
"dioxus-ssr",
|
|
|
|
"dioxus-ssr/incremental",
|
|
|
|
"tower",
|
|
|
|
"hyper",
|
|
|
|
"http",
|
|
|
|
"tower-layer",
|
|
|
|
"anymap",
|
|
|
|
"tracing-futures",
|
|
|
|
"pin-project",
|
|
|
|
"thiserror",
|
|
|
|
"dioxus-cli-config"
|
|
|
|
]
|