[package]
edition = "2024"
rust-version = "1.90"
name = "bezel-markdown"
version = "0.2.13"
authors = ["clearloop <tianyi.gc@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Notion-style block document model for gpui — markdown in, markdown out"
homepage = "https://github.com/crabtalk/bezel"
readme = "README.md"
keywords = [
"gpui",
"gui",
"ui",
"components",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/crabtalk/bezel"
resolver = "2"
[features]
mermaid = [
"dep:canvas-core",
"canvas-core/mermaid",
"dep:icons",
"dep:chart",
"chart/mermaid",
]
[lib]
name = "markdown"
path = "src/lib.rs"
[[test]]
name = "blocks"
path = "tests/blocks.rs"
[[test]]
name = "caret"
path = "tests/caret.rs"
[[test]]
name = "checkbox"
path = "tests/checkbox.rs"
[[test]]
name = "clipboard"
path = "tests/clipboard.rs"
[[test]]
name = "convert"
path = "tests/convert.rs"
[[test]]
name = "doc"
path = "tests/doc.rs"
[[test]]
name = "edit"
path = "tests/edit.rs"
[[test]]
name = "fence"
path = "tests/fence.rs"
[[test]]
name = "find"
path = "tests/find.rs"
[[test]]
name = "find_paint"
path = "tests/find_paint.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "highlight_color"
path = "tests/highlight_color.rs"
[[test]]
name = "link"
path = "tests/link.rs"
[[test]]
name = "marks"
path = "tests/marks.rs"
[[test]]
name = "mermaid"
path = "tests/mermaid.rs"
required-features = ["mermaid"]
[[test]]
name = "parse"
path = "tests/parse.rs"
[[test]]
name = "quote"
path = "tests/quote.rs"
[[test]]
name = "ranges"
path = "tests/ranges.rs"
[[test]]
name = "rects"
path = "tests/rects.rs"
[[test]]
name = "render"
path = "tests/render.rs"
[[test]]
name = "scrollbars"
path = "tests/scrollbars.rs"
[[test]]
name = "select"
path = "tests/select.rs"
[[test]]
name = "selectable"
path = "tests/selectable.rs"
[[test]]
name = "serialize"
path = "tests/serialize.rs"
[[test]]
name = "source"
path = "tests/source.rs"
[[test]]
name = "source_lines"
path = "tests/source_lines.rs"
[[test]]
name = "source_text"
path = "tests/source_text.rs"
[[test]]
name = "table_moves"
path = "tests/table_moves.rs"
[[test]]
name = "wrap"
path = "tests/wrap.rs"
[dependencies.canvas-core]
version = "0.2.13"
optional = true
package = "bezel-canvas-core"
[dependencies.chart]
version = "0.2.13"
optional = true
package = "bezel-chart"
[dependencies.gpui]
version = "0.3.19"
package = "bezel-gpui"
[dependencies.icons]
version = "0.2.13"
features = ["layout"]
optional = true
package = "bezel-icons"
[dependencies.pulldown-cmark]
version = "0.13"
default-features = false
[dependencies.theme]
version = "0.2.13"
package = "bezel-theme"
[dependencies.ui]
version = "0.2.13"
package = "bezel-ui"
[dev-dependencies.gpui]
version = "0.3.19"
features = ["test-support"]
package = "bezel-gpui"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy"))']