Cargo Features

Konarr has no features set by default.

[dependencies]
konarr = { version = "0.5.0", features = ["all", "tasks", "models", "tools", "tools-grypedb", "sbom", "client", "agent", "websocket", "docker"] }
all = client, docker, models, sbom, tasks, tools-grypedb, websocket
tasks all?

Enables tokio and tokio_schedule

tokio:

Runtime

Affects konarr::tasks

models all? sbom? tools-grypedb?

Database / Models

Enables geekorm and libsql

Affects konarr::db, konarr::models, grypedb::GrypeDatabaseEntry, grypedb::GrypeId, grypedb::GrypeVulnerability, grypedb::GrypeVulnerabilityMetadata, utils::catalogue

tools tools-grypedb? = client

Tools

Enables tokio

Affects konarr::tools

tools-grypedb all? = models, tools

Enables flate2, hex, and tar

Affects tasks::advisories_sync, utils::grypedb

sbom all? client? = models

SBOM Generation/Parsing

Enables purl, semver, and serde_json

purl:

SBOM

Affects konarr::bom

client all? tools? = sbom

Client

Enables openssl, reqwest, and tokio

reqwest:

Web Client

Affects konarr::client

agent

Affects projects::agent

websocket all?

Enables tokio-tungstenite

docker all?

Enables bollard

Docker

Affects utils::containers