19 releases (breaking)

Uses new Rust 2024

0.14.0+mc1.21.8 Sep 28, 2025
0.13.0+mc1.21.5 Jun 16, 2025
0.12.0+mc1.21.5 Apr 13, 2025
0.11.0+mc1.21.4 Dec 21, 2024
0.4.0 Nov 19, 2022

#285 in Games

Download history 38/week @ 2025-07-09 9/week @ 2025-07-16 18/week @ 2025-07-23 27/week @ 2025-07-30 4/week @ 2025-08-06 54/week @ 2025-08-13 78/week @ 2025-08-20 44/week @ 2025-08-27 85/week @ 2025-09-03 74/week @ 2025-09-10 88/week @ 2025-09-17 297/week @ 2025-09-24 127/week @ 2025-10-01 69/week @ 2025-10-08 80/week @ 2025-10-15 60/week @ 2025-10-22

352 downloads per month
Used in 9 crates (7 directly)

MIT license

330KB
5.5K SLoC

Azalea Chat

Things for working with Minecraft formatted text components.

Examples

// convert a Minecraft formatted text JSON into colored text that can be printed to the terminal.

use azalea_chat::FormattedText;
use serde_json::Value;
use serde::Deserialize;

let j: Value = serde_json::from_str(
    r#"{"text": "hello","color": "red","bold": true}"#
)
.unwrap();
let text = FormattedText::deserialize(&j).unwrap();
assert_eq!(
    text.to_ansi(),
    "\u{1b}[1m\u{1b}[38;2;255;85;85mhello\u{1b}[m"
);

Dependencies

~1.3–2.8MB
~53K SLoC