[package]
edition = "2021"
name = "laterite-admin"
version = "0.9.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Laterite CMF admin surface: the Axum router, session middleware, and login shell"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/lateritecmf/laterite"
[features]
default = []
mysql = [
"laterite-core/mysql",
"laterite-auth/mysql",
"laterite-media/mysql",
]
postgres = [
"laterite-core/postgres",
"laterite-auth/postgres",
"laterite-media/postgres",
]
sqlite = [
"laterite-core/sqlite",
"laterite-auth/sqlite",
"laterite-media/sqlite",
]
[lib]
name = "laterite_admin"
path = "src/lib.rs"
[[test]]
name = "access_log_screen"
path = "tests/access_log_screen.rs"
[[test]]
name = "account_creation"
path = "tests/account_creation.rs"
[[test]]
name = "assets"
path = "tests/assets.rs"
[[test]]
name = "brand"
path = "tests/brand.rs"
[[test]]
name = "checklist"
path = "tests/checklist.rs"
[[test]]
name = "csrf"
path = "tests/csrf.rs"
[[test]]
name = "dependencies"
path = "tests/dependencies.rs"
[[test]]
name = "descriptor_file"
path = "tests/descriptor_file.rs"
[[test]]
name = "editable"
path = "tests/editable.rs"
[[test]]
name = "enter_policy"
path = "tests/enter_policy.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "export_optin"
path = "tests/export_optin.rs"
[[test]]
name = "field_layout"
path = "tests/field_layout.rs"
[[test]]
name = "field_types"
path = "tests/field_types.rs"
[[test]]
name = "form_behaviours"
path = "tests/form_behaviours.rs"
[[test]]
name = "form_handle"
path = "tests/form_handle.rs"
[[test]]
name = "import_pages"
path = "tests/import_pages.rs"
[[test]]
name = "import_run"
path = "tests/import_run.rs"
[[test]]
name = "list_behaviours"
path = "tests/list_behaviours.rs"
[[test]]
name = "list_columns"
path = "tests/list_columns.rs"
[[test]]
name = "list_knobs"
path = "tests/list_knobs.rs"
[[test]]
name = "nav"
path = "tests/nav.rs"
[[test]]
name = "operator_preferences"
path = "tests/operator_preferences.rs"
[[test]]
name = "operators"
path = "tests/operators.rs"
[[test]]
name = "password_record"
path = "tests/password_record.rs"
[[test]]
name = "permission_renames"
path = "tests/permission_renames.rs"
[[test]]
name = "permissions"
path = "tests/permissions.rs"
[[test]]
name = "relations"
path = "tests/relations.rs"
[[test]]
name = "reorder"
path = "tests/reorder.rs"
[[test]]
name = "repeater_behaviours"
path = "tests/repeater_behaviours.rs"
[[test]]
name = "request_log"
path = "tests/request_log.rs"
[[test]]
name = "resource_hooks"
path = "tests/resource_hooks.rs"
[[test]]
name = "role_assignment"
path = "tests/role_assignment.rs"
[[test]]
name = "roles"
path = "tests/roles.rs"
[[test]]
name = "screens"
path = "tests/screens.rs"
[[test]]
name = "select_search"
path = "tests/select_search.rs"
[[test]]
name = "signed_out_notice"
path = "tests/signed_out_notice.rs"
[[test]]
name = "system_roles"
path = "tests/system_roles.rs"
[[test]]
name = "temporary_password"
path = "tests/temporary_password.rs"
[[test]]
name = "tree"
path = "tests/tree.rs"
[[test]]
name = "type_keys"
path = "tests/type_keys.rs"
[[test]]
name = "upload"
path = "tests/upload.rs"
[[test]]
name = "user_overrides"
path = "tests/user_overrides.rs"
[dependencies.anyhow]
version = "1"
[dependencies.askama]
version = "0.13"
[dependencies.axum]
version = "0.8"
features = ["multipart"]
[dependencies.axum-extra]
version = "0.10"
features = ["cookie"]
[dependencies.blake3]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"unstable-locales",
]
[dependencies.chrono-tz]
version = "0.10"
[dependencies.cookie]
version = "0.18"
[dependencies.csv]
version = "1"
[dependencies.form_urlencoded]
version = "1.2"
[dependencies.futures]
version = "0.3"
[dependencies.ipnet]
version = "2"
[dependencies.laterite-auth]
version = "0.9.12"
[dependencies.laterite-core]
version = "0.9.12"
[dependencies.laterite-media]
version = "0.9.12"
[dependencies.listenfd]
version = "1"
[dependencies.rand]
version = "0.8"
[dependencies.sea-query]
version = "0.32"
features = [
"backend-postgres",
"backend-mysql",
"backend-sqlite",
"derive",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde-saphyr]
version = "1.3"
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"tls-rustls",
"any",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"time",
"net",
]
[dependencies.tower-http]
version = "0.7.1"
features = [
"catch-panic",
"set-header",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[dev-dependencies.laterite-core]
version = "0.9.12"
features = ["testing"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"time",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]