text_components 0.1.6

A Rust implementation of Minecraft's Text Components
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "text_components"
version = "0.1.6"
build = false
exclude = ["examples/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of Minecraft's Text Components"
readme = "README.md"
keywords = [
    "minecraft",
    "mc",
    "text_components",
    "pretty",
    "terminal",
]
categories = [
    "internationalization",
    "localization",
    "text-processing",
    "value-formatting",
    "game-engines",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/DarkMrMelther/text-components-rs"

[features]
build = [
    "dep:heck",
    "dep:proc-macro2",
    "dep:quote",
    "dep:rustc-hash",
    "dep:serde_json",
]
custom = []
nbt = ["dep:simdnbt"]
serde = ["dep:serde"]

[lib]
name = "text_components"
path = "src/lib.rs"

[[bin]]
name = "text_components"
path = "src/main.rs"

[dependencies.colored]
version = "3.0.0"

[dependencies.heck]
version = "0.5.0"
optional = true

[dependencies.proc-macro2]
version = "1.0.105"
optional = true

[dependencies.quote]
version = "1.0.43"
optional = true

[dependencies.rand]
version = "0.9.2"
features = [
    "os_rng",
    "std",
    "thread_rng",
]
default-features = false

[dependencies.rustc-hash]
version = "2.1.1"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.simdnbt]
version = "0.9.0"
optional = true

[dependencies.supports-hyperlinks]
version = "3.2.0"

[dependencies.uuid]
version = "1.19.0"
features = [
    "v4",
    "serde",
]

[dev-dependencies.chrono]
version = "0.4.42"

[dev-dependencies.serde_json]
version = "1.0.149"