twrite 0.16.0

A fast, modular, customizable text editor engine for GPUI
Documentation
[package]
name = "twrite"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "A fast, modular, customizable text editor engine for GPUI"
readme = "../../README.md"

[dependencies]
twrite-core = { workspace = true }
twrite-gpui = { workspace = true }
gpui = { workspace = true }

[features]
default = []
markdown = ["twrite-core/markdown", "twrite-gpui/markdown"]
# Platform-backend passthrough: official `gpui` folds gpui_platform into
# itself (defaults already include wayland + x11 + font-kit, matching the
# old git pin's feature set). These are additive opt-ins for explicit use.
wayland = ["gpui/wayland"]
x11 = ["gpui/x11"]
font-kit = ["gpui/font-kit"]

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

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

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

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

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

[[example]]
name = "markdown"
path = "../../examples/markdown.rs"
required-features = ["markdown"]

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