[package]
edition = "2021"
rust-version = "1.80.0"
name = "tidos"
version = "0.7.6"
authors = ["kaasbroodju"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tidos is a component framework that can be served by any web framework."
readme = "README.md"
keywords = [
"tidos",
"web",
"framework",
"component",
]
categories = ["web-programming"]
license = "LGPL-3.0"
repository = "https://github.com/kaasbroodju/tidos"
[package.metadata.docs.rs]
all-features = true
[features]
actix-web = ["dep:actix-web"]
axum = ["dep:axum"]
i18n = [
"dep:tidos_i18n",
"tidos_macro/i18n",
"dep:fluent",
"dep:fluent-langneg",
"dep:fluent-resmgr",
"dep:unic-langid",
"dep:lazy_static",
"dep:figment",
"dep:serde",
]
rocket = ["dep:rocket"]
warp = ["dep:warp"]
[lib]
name = "tidos"
path = "src/lib.rs"
[[test]]
name = "attributes"
path = "tests/attributes.rs"
[[test]]
name = "conditional_statements"
path = "tests/conditional_statements.rs"
[[test]]
name = "for_loops"
path = "tests/for_loops.rs"
[[test]]
name = "i18n"
path = "tests/i18n/mod.rs"
required-features = ["i18n"]
[[test]]
name = "match_statements"
path = "tests/match_statements.rs"
[[test]]
name = "native_element"
path = "tests/native_element.rs"
[[test]]
name = "page_macro"
path = "tests/page_macro.rs"
required-features = []
[[test]]
name = "sanitization"
path = "tests/sanitization.rs"
[[test]]
name = "scoped_css"
path = "tests/scoped_css.rs"
[[test]]
name = "slots"
path = "tests/slots.rs"
[[test]]
name = "view_macro"
path = "tests/view_macro.rs"
[dependencies.actix-web]
version = "4"
optional = true
[dependencies.axum]
version = "0.8.8"
optional = true
[dependencies.figment]
version = "0.10.19"
features = [
"env",
"toml",
]
optional = true
[dependencies.fluent]
version = "0.17.0"
optional = true
[dependencies.fluent-langneg]
version = "0.13.1"
optional = true
[dependencies.fluent-resmgr]
version = "0.0.8"
optional = true
[dependencies.lazy_static]
version = "1.5.0"
optional = true
[dependencies.rocket]
version = "0.5.1"
optional = true
[dependencies.serde]
version = "1.0.228"
optional = true
[dependencies.tidos_i18n]
version = "0.7.5"
optional = true
[dependencies.tidos_macro]
version = "0.7.6"
[dependencies.unic-langid]
version = "0.9.6"
optional = true
[dependencies.warp]
version = "0.4.2"
optional = true
default-features = false
[dev-dependencies.http-body-util]
version = "0.1.3"
[dev-dependencies.hyper]
version = "1.9.0"
[dev-dependencies.tokio]
version = "1.51.0"
features = [
"rt",
"macros",
]
[dev-dependencies.trybuild]
version = "1.0.116"