csaf-models 0.3.1

CSAF 2.0/2.1 data models, SQLite management, and user models
Documentation
# 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 = "2024"
rust-version = "1.93.0"
name = "csaf-models"
version = "0.3.1"
authors = ["Pierre Gronau <Pierre.Gronau@ndaal.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSAF 2.0/2.1 data models, SQLite management, and user models"
homepage = "https://gitlab.com/vPierre/ndaal_public_csaf_crud"
documentation = "https://gitlab.com/vPierre/ndaal_public_csaf_crud"
readme = "README.md"
keywords = [
    "csaf",
    "security",
    "advisory",
    "vex",
    "oasis",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://gitlab.com/vPierre/ndaal_public_csaf_crud"
resolver = "2"

[lib]
name = "csaf_models"
path = "src/lib.rs"

[dependencies.argon2]
version = "0.5"
features = ["std"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rusqlite]
version = "0.39"
features = [
    "bundled",
    "backup",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
expect_used = "warn"
indexing_slicing = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"