# 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.82.0"
name = "gilt"
version = "0.12.0"
build = false
exclude = [
    ".claude/",
    ".review/",
    "vlc.zip",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, beautiful terminal formatting for Rust — styles, tables, trees, syntax highlighting, progress bars, markdown."
homepage = "https://github.com/khalidelborai/gilt"
documentation = "https://docs.rs/gilt"
readme = "README.md"
keywords = [
    "terminal",
    "rich",
    "formatting",
    "ansi",
    "cli",
]
categories = [
    "command-line-interface",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/khalidelborai/gilt"

[features]
anstyle = ["dep:anstyle"]
async = [
    "dep:tokio",
    "dep:futures-core",
    "dep:futures-util",
]
csv = ["dep:csv"]
default = [
    "json",
    "markdown",
    "syntax",
    "interactive",
    "logging",
]
derive = ["dep:gilt-derive"]
eyre = ["dep:eyre"]
http = [
    "dep:reqwest",
    "dep:bytes",
    "async",
    "json",
]
interactive = ["dep:rpassword"]
json = [
    "dep:serde",
    "dep:serde_json",
]
logging = ["dep:log"]
markdown = ["dep:pulldown-cmark"]
miette = ["dep:miette"]
readline = ["dep:rustyline"]
syntax = ["dep:syntect"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1"

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

[dependencies.compact_str]
version = "0.8"

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

[dependencies.eyre]
version = "0.6"
optional = true

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.gilt-derive]
version = "0.12.0"
optional = true

[dependencies.log]
version = "0.4"
features = ["std"]
optional = true

[dependencies.lru]
version = "0.12"

[dependencies.miette]
version = "7"
optional = true

[dependencies.pulldown-cmark]
version = "0.12"
optional = true

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]
optional = true

[dependencies.rpassword]
version = "7"
optional = true

[dependencies.rustyline]
version = "15"
optional = true

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

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

[dependencies.syntect]
version = "5"
features = [
    "default-syntaxes",
    "default-themes",
    "regex-fancy",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
]
optional = true

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

[dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
optional = true

[dependencies.unicode-width]
version = "0.2"

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

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

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