[package]
edition = "2024"
rust-version = "1.88"
name = "gorbie-commonmark"
version = "0.23.0"
authors = [
"Erlend Walstad",
"Jan-Paul Bultmann <jp@bultmann.eu>",
]
build = false
include = [
"src/**/*.rs",
"LICENSE-MIT",
"LICENSE-APACHE",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Commonmark viewer for egui"
documentation = "https://docs.rs/gorbie-commonmark"
readme = "README.md"
keywords = [
"commonmark",
"egui",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/triblespace/gorbie_commonmark"
[package.metadata.docs.rs]
features = [
"better_syntax_highlighting",
"document-features",
"macros",
]
[features]
better_syntax_highlighting = ["gorbie_commonmark_backend/better_syntax_highlighting"]
default = [
"load-images",
"pulldown_cmark",
]
dump-macro = ["gorbie_commonmark_macros/dump-macro"]
embedded_image = ["gorbie_commonmark_backend/embedded_image"]
fetch = ["egui_extras/http"]
load-images = [
"egui_extras/image",
"egui_extras/file",
]
macros = ["dep:gorbie_commonmark_macros"]
nightly = [
"macros",
"gorbie_commonmark_macros/nightly",
]
pulldown_cmark = []
svg = ["egui_extras/svg"]
[lib]
name = "gorbie_commonmark"
path = "src/lib.rs"
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.egui]
version = "0.33"
default-features = false
[dependencies.egui_extras]
version = "0.33"
default-features = false
[dependencies.gorbie_commonmark_backend]
version = "0.23.0"
default-features = false
package = "gorbie-commonmark-backend"
[dependencies.gorbie_commonmark_macros]
version = "0.23.0"
optional = true
default-features = false
package = "gorbie-commonmark-macros"
[dependencies.pulldown-cmark]
version = "0.13"
default-features = false
[dev-dependencies.eframe]
version = "0.33"
features = [
"default_fonts",
"glow",
"wayland",
"x11",
]
default-features = false
[dev-dependencies.gorbie_commonmark_macros]
version = "0.23.0"
default-features = false
package = "gorbie-commonmark-macros"
[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false