csaf_models/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 Pierre Gronau, ndaal in Cologne
3
4//! CSAF data models, `SQLite` management, and user models.
5//!
6//! This crate provides:
7//! - Full CSAF 2.0 and 2.1 document serde types
8//! - Provider metadata model
9//! - `SQLite` connection pool with WAL mode
10//! - User and audit log models
11
12// Test-only relaxations. Production code remains strict.
13#![cfg_attr(
14 test,
15 allow(
16 clippy::expect_used,
17 clippy::unwrap_used,
18 clippy::panic,
19 clippy::indexing_slicing,
20 clippy::too_many_lines
21 )
22)]
23
24pub mod audit_log;
25pub mod csaf_document;
26pub mod db;
27pub mod provider_meta;
28pub mod settings;
29pub mod user;
30
31pub use db::DbPool;