mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 22:20:56 +00:00
BREAKING: Rust flexbuffers serde human readable set to false (#6257)
Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -151,6 +151,10 @@ impl<'de> VariantAccess<'de> for Reader<'de> {
|
||||
|
||||
impl<'de> Deserializer<'de> for crate::Reader<'de> {
|
||||
type Error = DeserializationError;
|
||||
fn is_human_readable(&self) -> bool {
|
||||
cfg!(deserialize_human_readable)
|
||||
}
|
||||
|
||||
fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error>
|
||||
where
|
||||
V: Visitor<'de>,
|
||||
|
||||
Reference in New Issue
Block a user