# 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 = "surf_n_term"
version = "0.18.3"
authors = ["Pavel Aslanov <asl.pavel@gmail.com>"]
build = false
include = [
    "**/*.rs",
    "**/Cargo.toml",
    "**/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Posix terminal rendering library"
homepage = "https://github.com/aslpavel/surf-n-term"
readme = "README.md"
license = "MIT"
repository = "https://github.com/aslpavel/surf-n-term.git"

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

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

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

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

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

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

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

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

[dependencies.either]
version = "^1.13"

[dependencies.fnv]
version = "^1.0"

[dependencies.lru]
version = "^0.18"
default-features = false

[dependencies.png]
version = "^0.18"

[dependencies.rasterize]
version = "^0.6"

[dependencies.rustix]
version = "^1.0"
features = [
    "event",
    "fs",
    "termios",
]

[dependencies.serde]
version = "^1.0"
features = ["derive"]

[dependencies.serde_json]
version = "^1.0"

[dependencies.signal-hook]
version = "^0.4"

[dependencies.smallvec]
version = "^1.11"

[dependencies.tracing]
version = "^0.1"

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

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

[dev-dependencies.tracing-appender]
version = "^0.2"

[dev-dependencies.tracing-subscriber]
version = "^0.3"
features = ["env-filter"]
