# 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.81"
name = "limner"
version = "0.3.0"
authors = ["Sylviromi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A ratatui markdown renderer with image placeholders, code blocks, and styled headings"
documentation = "https://docs.rs/limner"
readme = "README.md"
keywords = [
    "ratatui",
    "markdown",
    "tui",
    "terminal",
    "renderer",
]
categories = [
    "rendering",
    "command-line-interface",
]
license = "MIT"
repository = "https://github.com/Sylviromi/limner"

[features]
default = []
image-protocol = [
    "dep:ratatui-image",
    "dep:image",
]

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

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

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
]
optional = true
default-features = false

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.ratatui]
version = "0.30"

[dependencies.ratatui-image]
version = "11"
features = [
    "crossterm",
    "image-defaults",
]
optional = true
default-features = false

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

[dev-dependencies.crossterm]
version = "0.29"

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.ratatui]
version = "0.30"
features = ["unstable-rendered-line-info"]

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