Cargo.toml
raw
[package]
name = "drteeth"
version = "0.2.1"
edition = "2021"
rust-version = "1.59"
license = "Unlicense"
description = "Low-complexity web technology user interface library for desktop apps"
homepage = "https://git.highenergymagic.org/drteeth"
repository = "https://git.highenergymagic.org/drteeth"
documentation = "https://docs.rs/drteeth/latest/drteeth/"
readme = "README.md"
keywords = ["simple", "flexible", "web", "ui"]
categories = ["gui", "web-programming"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Enable exactly one of these features to select the desired async
# runtime
default = ["tokio"]
tokio = ["dep:tokio"]
asyncstd = ["dep:async-std"]
smol = ["dep:smol"]
# Enable this feature, along with the appropriate one of the runtime
# features, to compile the examples.
examples = [
"dep:axum",
"dep:tower",
"dep:tide",
"dep:trillium",
"dep:trillium-smol",
"dep:trillium-router",
"dep:sailfish",
"dep:tower-http",
"dep:serde",
"dep:toml",
"dep:ulid",
]
[dependencies]
wry = "^0.24.12"
tokio = { version = "^1.29.1", features = ["full"], optional = true }
async-std = { version = "^1.13.0", optional = true }
smol = { version = "^1.3.0", optional = true }
axum = { version = "<2", features = ["http2", "multipart", "headers"], optional = true }
tower = { version = "<2", optional = true }
tide = { version = "<2", optional = true }
trillium = { version = "<2", optional = true }
trillium-smol = { version = "<2", optional = true }
trillium-router = { version = "<2", optional = true }
sailfish = { version = ">= 0.6, <2", optional = true }
tower-http = { version = "<2", features = ["fs"], optional = true }
serde = { version = "<2", features = ["derive"], optional = true }
toml = { version = "<2", optional = true }
ulid = { version = "<2", features = ["serde"], optional = true }