faucet-sink-stdout 1.0.1

Stdout/stderr sink connector for the faucet-stream ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![cfg_attr(docsrs, feature(doc_cfg))]

//! # faucet-sink-stdout
//!
//! Stdout/stderr sink connector for the faucet-stream ecosystem.
//!
//! Writes each `serde_json::Value` record to the chosen standard stream in
//! one of three formats: JSON Lines (default), pretty-printed JSON, or
//! tab-separated values. Useful for debugging, examples, the upcoming
//! `faucet preview` CLI workflow, and ad-hoc inspection.

pub mod config;
pub mod sink;

pub use faucet_core::{FaucetError, Sink};

pub use config::{StdStream, StdoutFormat, StdoutSinkConfig};
pub use sink::StdoutSink;