# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.80.0"
name = "tidos"
version = "0.7.0"
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-file = "LICENSE"
repository = "https://github.com/kaasbroodju/tidos"

[package.metadata.docs.rs]
all-features = true

[features]
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"]

[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 = "match_statements"
path = "tests/match_statements.rs"

[[test]]
name = "view_macro"
path = "tests/view_macro.rs"

[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.0"
optional = true

[dependencies.tidos_macro]
version = "0.7.0"

[dependencies.unic-langid]
version = "0.9.6"
optional = true

[dev-dependencies.trybuild]
version = "1.0.116"
