aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/renderer')
-rw-r--r--mingling_core/src/renderer/general.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mingling_core/src/renderer/general.rs b/mingling_core/src/renderer/general.rs
index 4ca2683..3808e5a 100644
--- a/mingling_core/src/renderer/general.rs
+++ b/mingling_core/src/renderer/general.rs
@@ -4,6 +4,13 @@ use crate::{
use serde::Serialize;
pub mod error;
+
+/// A general renderer that supports multiple serialization formats.
+///
+/// The `GeneralRenderer` provides methods to serialize data into various formats
+/// including JSON, YAML, TOML, and RON, with support for both regular and
+/// pretty-printed variants. It is designed to work with types that implement
+/// the `Serialize` trait.
pub struct GeneralRenderer;
impl GeneralRenderer {