faucet_sink_stdout/lib.rs
1#![cfg_attr(docsrs, feature(doc_cfg))]
2
3//! # faucet-sink-stdout
4//!
5//! Stdout/stderr sink connector for the faucet-stream ecosystem.
6//!
7//! Writes each `serde_json::Value` record to the chosen standard stream in
8//! one of three formats: JSON Lines (default), pretty-printed JSON, or
9//! tab-separated values. Useful for debugging, examples, the upcoming
10//! `faucet preview` CLI workflow, and ad-hoc inspection.
11
12pub mod config;
13pub mod sink;
14
15pub use faucet_core::{FaucetError, Sink};
16
17pub use config::{StdStream, StdoutFormat, StdoutSinkConfig};
18pub use sink::StdoutSink;