Expand description
Β§π»ββοΈπͺ azalia-serde
The azalia-serde crate provides blanket serde implementations for crates that donβt expose any. This
uses Cargoβs crate features to explicitly enable which implementations you need, rather than adding them all
at once.
We only provide implementations to Rust types that are most used by us, so we will probably reject most requests to add more types other than the ones listed.
Β§Usage
Β§tracing::Level (requires tracing feature)
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize)]
struct MyStruct {
#[serde(with = "azalia_serde::tracing")]
level: tracing::Level,
}Β§aws_types::types::Region (requires aws feature)
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize)]
struct MyStruct {
#[serde(with = "azalia_serde::aws::region")]
region: aws_types::region::Region
}ModulesΒ§
- aws
aws - Defines extra
SerializerandDeserializerfunctions for AWS-specific types that are most useful to useserdewith. - s3
s3 - Defines extra
SerializerandDeserializerfunctions for AWS S3 types that are most useful to useserdewith. - tracing
tracing - Defines extra
SerializerandDeserializerfunctions fortracingβs types that are most useful to useserdewith.