matrix-rain 0.3.0

Classic Matrix digital rain effect as a ratatui widget (no_std-capable) and standalone TUI binary.
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 = "2021"
rust-version = "1.86"
name = "matrix-rain"
version = "0.3.0"
build = false
exclude = [
    ".beads/",
    ".claude/",
    ".rof/",
    "docs/",
    "AGENTS.md",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Classic Matrix digital rain effect as a ratatui widget (no_std-capable) and standalone TUI binary."
homepage = "https://github.com/AdamIsrael/matrix-rain.git"
documentation = "https://docs.rs/matrix-rain"
readme = "README.md"
keywords = [
    "matrix",
    "rain",
    "tui",
    "ratatui",
    "terminal",
]
categories = [
    "command-line-utilities",
    "visualization",
    "no-std::no-alloc",
    "embedded",
]
license = "MIT"
repository = "https://github.com/AdamIsrael/matrix-rain.git"

[features]
binary = [
    "std",
    "dep:clap",
    "dep:anyhow",
    "dep:signal-hook",
    "dep:crossterm",
    "ratatui/crossterm",
]
crossterm = [
    "std",
    "ratatui/crossterm",
]
debug = [
    "std",
    "dep:tracing",
]
default = ["binary"]
std = [
    "rand/std",
    "rand/std_rng",
    "rand/getrandom",
    "ratatui/std",
]
termion = [
    "std",
    "ratatui/termion",
]
termwiz = [
    "std",
    "ratatui/termwiz",
]

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

[[bin]]
name = "matrix"
path = "src/bin/matrix.rs"
required-features = ["binary"]

[[example]]
name = "custom_charset"
path = "examples/custom_charset.rs"
required-features = ["crossterm"]

[[example]]
name = "embedded"
path = "examples/embedded.rs"
required-features = ["crossterm"]

[[example]]
name = "standalone"
path = "examples/standalone.rs"
required-features = ["crossterm"]

[[test]]
name = "property"
path = "tests/property.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[[test]]
name = "widget_smoke"
path = "tests/widget_smoke.rs"

[[bench]]
name = "render"
path = "benches/render.rs"
harness = false

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.rand]
version = "0.8"
features = ["small_rng"]
default-features = false

[dependencies.rand_xoshiro]
version = "0.6"
default-features = false

[dependencies.ratatui]
version = "0.30"
features = ["underline-color"]
default-features = false

[dependencies.signal-hook]
version = "0.3"
optional = true

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"
default-features = false

[dev-dependencies.insta]
version = "1"

[dev-dependencies.proptest]
version = "1"

[profile.dist]
lto = "thin"
inherits = "release"