bird-chat is implementation of minecraft chat components on rust with serde support.
https://crates.io/crates/bird-chat
rs
let mut component = TextComponent::new("hi".into());
component.base.bold = Some(true);
component.base.color = Some(DefaultColor::Red.into());
component.base.extra = vec![
{
let mut component = TextComponent::new("bye".into());
component.base.color = Some(DefaultColor::White.into());
component.base.bold = Some(false);
component.into()
}
];