Expand description
§dts-core
This crate provides the Serializer
and Deserializer
implementations used
by dts
internally to convert between
different input and output encodings. In additional to that it exposes the
data transformation functionality that dts
uses to modify the input data
before serializing it.
Note: The API of dts-core
is subject to change and there are no
stability guarantees.
§License
The source code of dts-core is released under the MIT License. See the bundled LICENSE file for details.
Modules§
- de
- This module provides a
Deserializer
which supports deserializing input data with various encodings into aValue
. - jq
- A wrapper for
jq
. - key
- Object key transformation utilities.
- ser
- This module provides a
Serializer
which supports serializing values into various output encodings.
Structs§
- Source
Reader - A type that can read from a
Source
. It is able to detect theSource
’s encoding by looking at the first line of the input.
Enums§
- Encoding
- Encodings supported by this crate.
- Error
- The error returned by all fallible operations within this crate.
- Sink
- A target to write serialized output to.
- Source
- A source for data that needs to be deserialized.
Type Aliases§
- Result
- A type alias for
Result<T, Error>
.