# 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 = "farben"
version = "0.16.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Markup for the Terminal, but safer and faster."
homepage = "https://razkar-studio.github.io/farben"
documentation = "https://docs.rs/farben"
readme = "README.md"
keywords = [
    "terminal",
    "color",
    "ansi",
    "markup",
    "cli",
]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/razkar-studio/farben"

[features]
anstyle = [
    "farben-core/anstyle",
    "dep:anstyle",
]
compile = ["farben-macros"]
default = [
    "format",
    "lossy",
]
format = []
lossy = ["farben-core/lossy"]
markdown = ["farben-md"]
markdown-compile = [
    "markdown",
    "compile",
    "farben-macros/markdown",
]

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

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

[[example]]
name = "basic"
path = "examples/basic.rs"

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

[dependencies.farben-core]
version = "0.12.0"

[dependencies.farben-macros]
version = "0.5.0"
optional = true

[dependencies.farben-md]
version = "0.2.0"
optional = true
