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