bezel-markdown 0.2.21

A Notion-style block document model for gpui — markdown in, markdown out
Documentation
# 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"
rust-version = "1.90"
name = "bezel-markdown"
version = "0.2.21"
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]
default = ["gpui"]
gpui = [
    "dep:gpui",
    "dep:theme",
    "dep:ui",
    "dep:usvg",
    "dep:resvg",
    "dep:image",
    "dep:rustybuzz",
]
mermaid = [
    "gpui",
    "dep: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 = "comment_paint"
path = "tests/comment_paint.rs"

[[test]]
name = "commonmark"
path = "tests/commonmark.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 = "html"
path = "tests/html.rs"

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

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

[[test]]
name = "mermaid_fence"
path = "tests/mermaid_fence.rs"
required-features = ["mermaid"]

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

[[test]]
name = "picture"
path = "tests/picture.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 = "synced"
path = "tests/synced.rs"

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

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

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

[dependencies.gpui]
version = "0.3.20"
optional = true
package = "bezel-gpui"

[dependencies.gpui_shared_string]
version = "0.3.20"
package = "bezel-gpui-shared-string"

[dependencies.image]
version = "0.25"
optional = true
default-features = false

[dependencies.mermaid]
version = "0.2.21"
optional = true
package = "bezel-mermaid"

[dependencies.pulldown-cmark]
version = "0.13"
default-features = false

[dependencies.resvg]
version = "0.46"
features = [
    "text",
    "raster-images",
]
optional = true
default-features = false

[dependencies.rustybuzz]
version = "0.20"
optional = true

[dependencies.theme]
version = "0.2.21"
optional = true
package = "bezel-theme"

[dependencies.ui]
version = "0.2.21"
optional = true
package = "bezel-ui"

[dependencies.usvg]
version = "0.46"
optional = true

[dev-dependencies.gpui]
version = "0.3.20"
features = ["test-support"]
package = "bezel-gpui"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy"))']