[package]
edition = "2024"
rust-version = "1.94"
name = "luxid"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A convention-over-configuration web framework for Rust, built on salvo"
readme = "README.md"
keywords = [
"web",
"framework",
"salvo",
"inertia",
"orm",
]
categories = ["web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/luxid-dev/luxid"
[features]
cli = [
"orm",
"dep:luxid-cli",
]
default = [
"orm",
"cli",
]
orm = ["dep:luxid-orm"]
[lib]
name = "luxid"
path = "src/lib.rs"
[[example]]
name = "hello"
path = "examples/hello.rs"
[[test]]
name = "auth"
path = "tests/auth.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "container"
path = "tests/container.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "factories"
path = "tests/factories.rs"
[[test]]
name = "harness"
path = "tests/harness.rs"
[[test]]
name = "hooks"
path = "tests/hooks.rs"
[[test]]
name = "inertia"
path = "tests/inertia.rs"
[[test]]
name = "middleware"
path = "tests/middleware.rs"
[[test]]
name = "migrations"
path = "tests/migrations.rs"
[[test]]
name = "openapi"
path = "tests/openapi.rs"
[[test]]
name = "relations"
path = "tests/relations.rs"
[[test]]
name = "resource_and_policy"
path = "tests/resource_and_policy.rs"
[[test]]
name = "scopes"
path = "tests/scopes.rs"
[[test]]
name = "sessions"
path = "tests/sessions.rs"
[[test]]
name = "stack"
path = "tests/stack.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[[bench]]
name = "overhead"
path = "benches/overhead.rs"
harness = false
[dependencies.luxid-cli]
version = "0.3.0"
optional = true
[dependencies.luxid-core]
version = "0.3.0"
[dependencies.luxid-macros]
version = "0.3.0"
[dependencies.luxid-orm]
version = "0.3.0"
optional = true
[dependencies.schemars]
version = "1.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.luxid-testing]
version = "0.3.0"
[dev-dependencies.salvo]
version = "0.95"
features = [
"server",
"http1",
"http2",
"test",
"serve-static",
]
default-features = false
[dev-dependencies.sea-orm]
version = "2.0"
features = [
"macros",
"runtime-tokio-rustls",
"sqlx-sqlite",
"sqlx-postgres",
"with-chrono",
"with-json",
"with-uuid",
]
default-features = false
[dev-dependencies.sea-orm-migration]
version = "2.0"
features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
"sqlx-postgres",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]