iced-code-editor 0.7.1

A custom code editor widget for the Iced GUI framework with syntax highlighting, line numbers, and scrolling support.
Documentation
[package]
name = "iced-code-editor"
description = "A custom code editor widget for the Iced GUI framework with syntax highlighting, line numbers, and scrolling support."
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage = "https://github.com/LuDog71FR/iced-code-editor"
documentation = "https://docs.rs/iced-code-editor"
readme = "../README.md"
keywords = ["gui", "interface", "widgets", "iced", "editor"]
categories = ["gui"]

[features]
lsp-process = ["dep:serde_json"]
two-face = ["dep:two-face"]
# Exposes internal hot-path functions for the criterion benchmark harness.
bench = []

[dependencies]
regex = "1"
iced.workspace = true
syntect = { version = "5.3", default-features = false, features = ["default-fancy"] }
# `default-features = false` + `syntect-fancy` is required: two-face defaults to
# `syntect-onig`, which would pull the C `onig` backend into a workspace that
# builds syntect with the pure-Rust `default-fancy` backend (and targets WASM).
two-face = { version = "0.5", optional = true, default-features = false, features = ["syntect-fancy"] }
web-time = "1"
iced_font_awesome = "0.4"
iced_aw = { version = "0.14", default-features = false, features = ["context_menu"] }
rust-i18n = "4.2.4"
unicode-width = "0.2.2"
serde_json = { version = "1", optional = true }

[dev-dependencies]
iced_runtime = "0.14"
iced_test = "0.14"
criterion = "0.8"

[[bench]]
name = "editor_benchmarks"
harness = false
required-features = ["bench"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints]
workspace = true