libverify_output/vanta.rs
1//! Vanta-compatible JSON output format.
2//!
3//! Delegates to [`libverify_vanta::adapter`] for the actual conversion.
4
5use anyhow::Result;
6use libverify_core::assessment::{BatchReport, VerificationResult};
7
8pub fn render(result: &VerificationResult, only_failures: bool) -> Result<String> {
9 libverify_vanta::render(result, only_failures)
10}
11
12pub fn render_batch(batch: &BatchReport, only_failures: bool) -> Result<String> {
13 libverify_vanta::render_batch(batch, only_failures)
14}