rusty-figlet 0.3.3

Render ASCII-art banners from text — a Rust port of cmatsuoka's `figlet(6)` v2.2.5 with an in-house FIGfont 2.0 parser, all six horizontal smush rules + universal, 12 bundled `.flf` fonts via `include_bytes!`, terminal-width-aware layout, color/rainbow output, byte-equal Strict-mode upstream compatibility, and a typed library API. v0.2: feature layout reorganized — see CHANGELOG. v0.3: toilet feature parity — TLF parser, 10 filters, HTML/IRC/SVG export, truecolor — see CHANGELOG.
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"
rust-version = "1.85"
name = "rusty-figlet"
version = "0.3.3"
authors = ["James Han <jsh562@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "rusty-figlet"
description = "Render ASCII-art banners from text — a Rust port of cmatsuoka's `figlet(6)` v2.2.5 with an in-house FIGfont 2.0 parser, all six horizontal smush rules + universal, 12 bundled `.flf` fonts via `include_bytes!`, terminal-width-aware layout, color/rainbow output, byte-equal Strict-mode upstream compatibility, and a typed library API. v0.2: feature layout reorganized — see CHANGELOG. v0.3: toilet feature parity — TLF parser, 10 filters, HTML/IRC/SVG export, truecolor — see CHANGELOG."
homepage = "https://github.com/jsh562/rusty-figlet"
documentation = "https://docs.rs/rusty-figlet"
readme = "README.md"
keywords = [
    "figlet",
    "ascii-art",
    "banner",
    "cli",
    "toilet",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jsh562/rusty-figlet"

[package.metadata.binstall]
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
cli = ["dep:clap"]
color = [
    "dep:anstyle",
    "dep:termcolor",
]
color-256 = ["color"]
color-truecolor = ["color"]
completions = ["dep:clap_complete"]
default = ["full"]
figlet-classic = [
    "cli",
    "strict-compat",
]
figlet-color = [
    "cli",
    "color",
    "rainbow",
]
figlet-minimal = ["cli"]
figlet-toilet-compat = [
    "cli",
    "color",
    "rainbow",
    "tlf-parser",
    "filter-crop",
    "filter-gay",
    "filter-metal",
    "filter-flip",
    "filter-flop",
    "filter-rotate",
    "filter-border",
]
figlet-v01-compat = [
    "cli",
    "color",
    "rainbow",
    "terminal-width",
    "completions",
]
filter-border = []
filter-crop = []
filter-flip = []
filter-flop = []
filter-gay = ["color"]
filter-metal = ["color"]
filter-rotate = []
full = [
    "cli",
    "color",
    "rainbow",
    "terminal-width",
    "completions",
    "strict-compat",
    "tlf-parser",
    "filter-crop",
    "filter-gay",
    "filter-metal",
    "filter-flip",
    "filter-flop",
    "filter-rotate",
    "filter-border",
    "color-truecolor",
    "color-256",
    "output-html",
    "output-irc",
    "output-svg",
    "toilet-strict-compat",
]
output-html = []
output-irc = []
output-svg = []
rainbow = ["color"]
strict-compat = []
terminal-width = ["dep:terminal_size"]
tlf-parser = []
toilet-strict-compat = []

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

[[bin]]
name = "rusty-figlet"
path = "src/main.rs"
required-features = ["cli"]

[[example]]
name = "gen_synthetic_corpus"
path = "examples/gen_synthetic_corpus.rs"
required-features = [
    "filter-crop",
    "filter-gay",
    "toilet-strict-compat",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "html_escape"
path = "benches/html_escape.rs"
harness = false
required-features = ["output-html"]

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

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

[dependencies.clap_complete]
version = "4"
optional = true

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

[dependencies.terminal_size]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

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

[dev-dependencies.htmlescape]
version = "0.3"

[dev-dependencies.predicates]
version = "3"

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

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.toml]
version = "0.8"
features = ["parse"]
default-features = false

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

[dev-dependencies.v_htmlescape]
version = "0.15"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"