[package]
name = "egui_commonmark"
authors = ["Erlend Walstad"]
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
description = "Commonmark viewer for egui"
keywords = ["commonmark", "egui"]
categories = ["gui"]
readme = "README.md"
documentation = "https://docs.rs/egui_commonmark"
include = ["src/**/*.rs", "LICENSE-MIT", "LICENSE-APACHE", "Cargo.toml"]
[dependencies]
egui_commonmark_backend = { workspace = true }
egui_commonmark_macros = { workspace = true, optional = true }
egui_extras = { workspace = true }
egui = { workspace = true }
document-features = { workspace = true, optional = true }
pulldown-cmark = { workspace = true }
[features]
default = ["load-images", "pulldown_cmark"]
macros = ["dep:egui_commonmark_macros"]
nightly = ["macros", "egui_commonmark_macros/nightly"]
dump-macro = ["egui_commonmark_macros/dump-macro"]
pulldown_cmark = []
better_syntax_highlighting = ["egui_commonmark_backend/better_syntax_highlighting"]
load-images = ["egui_extras/image", "egui_extras/file"]
svg = ["egui_extras/svg"]
fetch = ["egui_extras/http"]
[dev-dependencies]
eframe = { version = "0.29", default-features = false, features = ["default_fonts", "glow"] }
image = { version = "0.25", default-features = false, features = ["png"] }
egui_commonmark_macros = { workspace = true }
[package.metadata.docs.rs]
features = ["better_syntax_highlighting", "document-features", "macros"]