get-mitre 0.1.3

Tools for CVE managing, exploring and collect some data about their weaknesses and classifications
# 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"
name = "get-mitre"
version = "0.1.3"
authors = ["Tioben Neenot <tioben.neenot@laposte.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tools for CVE managing, exploring and collect some data about their weaknesses and classifications"
homepage = "https://gitlab.com/cyberactivity/tyr"
readme = "README.md"
keywords = [
    "cyber",
    "tyr",
    "cli",
    "nvd",
    "mitre",
]
categories = ["command-line-utilities"]
license-file = "LICENSE"
repository = "https://gitlab.com/cyberactivity/tyr"

[package.metadata.deb]
assets = [
    [
    "target/release/get-mitre",
    "usr/bin/",
    "555",
],
    [
    "target/release/assets/get-mitre.1.gz",
    "usr/share/man/man1/",
    "444",
],
]
changelog = "resources/changelog.md"
copyright = "2026, Tioben Neenot <tioben.neenot@laposte.net>"
depends = "$auto"
separate-debug-symbols = true
extended-description = "Explore the mitre data from local database"
license-file = ["resources/LICENSE.md"]
maintainer = "Tioben Neenot <tioben.neenot@laposte.net>"
priority = "optional"
revision = "1"
section = "utility"

[package.metadata.generate-rpm]
release = "1"
vendor = "Tioben Neenot <tioben.neenot@laposte.net>"

[[package.metadata.generate-rpm.assets]]
source = "target/release/get-mitre"
dest = "/usr/bin/"
mode = "555"

[[package.metadata.generate-rpm.assets]]
source = "resources/LICENSE.md"
dest = "/usr/share/doc/get-mitre/LICENSE.md"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "resources/changelog.md"
dest = "/usr/share/doc/get-mitre/ChangeLog"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "target/release/assets/get-mitre.1.gz"
dest = "/usr/share/man/man1/"
mode = "444"

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

[[bin]]
name = "get-mitre"
path = "src/main.rs"

[[example]]
name = "show_mitre"
path = "examples/show_mitre.rs"

[[bench]]
name = "bench_mitre"
path = "benches/bench_mitre.rs"
harness = false

[dependencies.fenir]
version = "3.0.4"

[dependencies.regex]
version = "1.12.2"

[dependencies.rusqlite]
version = "0.38.0"
features = [
    "bundled",
    "chrono",
]

[dependencies.termint]
version = "0.6.1"
features = ["all"]

[dependencies.umya-spreadsheet]
version = "2.3.3"

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "html_reports",
    "plotters",
]

[lints.rust]
unsafe_code = "forbid"