fix: Use conditional compilation for 'sonic' module

This commit is contained in:
gengteng
2024-03-01 10:47:01 +08:00
parent ec2005a7a4
commit 2b6641c558

View File

@@ -23,7 +23,8 @@ pub mod validify;
#[cfg(feature = "yaml")]
pub mod yaml;
mod sonic;
#[cfg(feature = "sonic")]
pub mod sonic;
#[cfg(feature = "toml")]
pub mod toml;
#[cfg(feature = "typed_multipart")]