Skip to content

Commit

Permalink
docs: add some more
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Nov 3, 2023
1 parent 44c6e4a commit 421da99
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion csaf/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
//! Walking through CSAF advisories
//! Walking through CSAF documents
//!
//! ## Idea
//!
//! The basic idea is to provide a mechanism to walk over documents from differences sources
//! ([`csaf_walker::source::HttpSource`] or [`csaf_walker::source::FileSource`]). Then
//! chaining visitors in a layered fashion depending on your use case, extending the information
//! known about a CSAF document. That doesn't mean to actually parse the document, but the ensure
//! things like integrity, by digests and signatures.
//!
//! The stack allows one to customize the walking process, like skipping existing documents, or
//! processing only changed documents.
//!
//! The last step, most likely, is to do something with a discovered document (like storing,
//! uploading, evaluating). This is up to user to implement this. However, for some common use
//! cases, the [`csaf_cli`](https://crates.io/crates/csaf-cli) crate might have some
//! out-of-the-box tooling for the command line.
//!
//! ## Example
//!
Expand Down
1 change: 1 addition & 0 deletions csaf/src/model/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
//! Data models
pub mod metadata;

0 comments on commit 421da99

Please sign in to comment.