[package]
edition = "2024"
rust-version = "1.98"
name = "cratefield-module-cms"
version = "0.3.2"
build = false
include = [
"src/**/*",
"migrations/**/*",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cratefield module: a small content store with an editor — typed collections, versioned, in the venture's own database"
readme = "README.md"
keywords = [
"cratefield",
"cms",
"content",
"module",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/Cratefield/harness"
[lib]
name = "cratefield_module_cms"
path = "src/lib.rs"
[dependencies.axum]
version = "0.8.9"
features = [
"json",
"query",
"form",
"matched-path",
"original-uri",
]
default-features = false
[dependencies.cratefield-core]
version = "0.10"
[dependencies.http]
version = "1.5.0"
[dependencies.schemars]
version = "1.2.2"
features = ["preserve_order"]
[dependencies.sea-query]
version = "0.32.7"
features = [
"backend-sqlite",
"thread-safe",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.time]
version = "0.3.45"
features = [
"std",
"formatting",
"parsing",
"wasm-bindgen",
]
default-features = false
[dependencies.tracing]
version = "0.1.44"
[dependencies.ulid]
version = "3.0.0"
[dev-dependencies.http]
version = "1.5.0"
[dev-dependencies.pollster]
version = "0.4"
features = ["macro"]
[dev-dependencies.serde_json]
version = "1.0.151"
[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.rust]
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"