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"
|
2023-08-01 01:49:54 +00:00
|
|
|
keywords = ["ui", "gui", "react", "ssr", "fullstack"]
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-02 20:07:51 +00:00
|
|
|
# server functions
|
2023-11-08 14:33:41 +00:00
|
|
|
server_fn = { version = "0.5.2", default-features = false }
|
2023-08-01 00:59:36 +00:00
|
|
|
dioxus_server_macro = { workspace = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# warp
|
2023-07-01 02:22:43 +00:00
|
|
|
warp = { version = "0.3.5", features = ["compression-gzip"], optional = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# axum
|
2023-11-21 20:46:47 +00:00
|
|
|
axum = { version = "0.6.1", features = ["ws", "macros"], default-features = false, optional = true }
|
2023-07-01 02:22:43 +00:00
|
|
|
tower-http = { version = "0.4.0", optional = true, features = ["fs", "compression-gzip"] }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# salvo
|
2023-12-20 21:18:20 +00:00
|
|
|
salvo = { version = "0.63.0", optional = true, features = ["serve-static", "websocket", "compression"] }
|
2023-11-21 20:46:47 +00:00
|
|
|
http-body-util = { version = "0.1.0-rc.2", optional = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
2023-04-02 20:07:51 +00:00
|
|
|
# Dioxus + SSR
|
2023-06-28 15:56:07 +00:00
|
|
|
dioxus = { workspace = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-ssr = { workspace = true, optional = true }
|
2023-04-29 22:04:54 +00:00
|
|
|
hyper = { version = "0.14.25", optional = true }
|
|
|
|
http = { version = "0.2.9", 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 }
|
|
|
|
|
|
|
|
# Router Integration
|
2023-06-28 15:56:07 +00:00
|
|
|
dioxus-router = { workspace = true, optional = true }
|
2023-06-22 19:51:10 +00:00
|
|
|
|
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-11-21 20:46:47 +00:00
|
|
|
tokio = { workspace = true, features = ["rt", "sync", "rt-multi-thread"], optional = true }
|
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 }
|
2023-11-21 20:46:47 +00:00
|
|
|
futures-util = { workspace = true, default-features = false, optional = true }
|
|
|
|
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"
|
2023-11-21 20:46:47 +00:00
|
|
|
tower = { version = "0.4.13", features = ["util"], optional = true }
|
|
|
|
tower-layer = { version = "0.3.2", optional = true }
|
2023-07-07 00:54:05 +00:00
|
|
|
|
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 }
|
2023-04-02 20:07:51 +00:00
|
|
|
|
2023-04-28 22:59:01 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
web-sys = { version = "0.3.61", features = ["Window", "Document", "Element", "HtmlDocument", "Storage", "console"] }
|
|
|
|
|
2023-10-10 15:26:16 +00:00
|
|
|
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
|
|
|
|
# This is only for debug mode, and it appears mobile does not support some packages this uses
|
2024-01-08 22:54:02 +00:00
|
|
|
manganis-cli-support = { workspace = true, features = ["webp", "html"], optional = true }
|
2023-10-10 15:26:16 +00:00
|
|
|
|
2023-03-30 01:20:26 +00:00
|
|
|
[features]
|
2023-11-21 20:46:47 +00:00
|
|
|
default = ["hot-reload"]
|
2023-06-22 19:51:10 +00:00
|
|
|
router = ["dioxus-router"]
|
2023-06-28 18:27:11 +00:00
|
|
|
hot-reload = ["serde_json", "futures-util"]
|
2023-07-28 19:58:34 +00:00
|
|
|
web = ["dioxus-web"]
|
|
|
|
desktop = ["dioxus-desktop"]
|
2023-07-08 01:25:45 +00:00
|
|
|
warp = ["dep:warp", "ssr"]
|
2023-04-29 22:04:54 +00:00
|
|
|
axum = ["dep:axum", "tower-http", "ssr"]
|
2023-11-21 20:46:47 +00:00
|
|
|
salvo = ["dep:salvo", "ssr", "http-body-util"]
|
|
|
|
ssr = ["server_fn/ssr", "dioxus_server_macro/ssr", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "tower", "hyper", "http", "dioxus-router?/ssr", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror"]
|
2023-05-24 16:11:17 +00:00
|
|
|
default-tls = ["server_fn/default-tls"]
|
|
|
|
rustls = ["server_fn/rustls"]
|
2024-01-08 22:54:02 +00:00
|
|
|
collect-assets = ["manganis-cli-support"]
|