editor-core 0.1.0

A headless editor engine focused on state management, Unicode-aware text measurement, and coordinate conversion.
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.91"
name = "editor-core"
version = "0.1.0"
authors = ["Chen Xu <windoze@0d0a.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A headless editor engine focused on state management, Unicode-aware text measurement, and coordinate conversion."
homepage = "https://github.com/windoze/editor-core"
documentation = "https://docs.rs/editor-core/"
readme = "README.md"
keywords = [
    "editor",
    "text-editor",
    "unicode",
    "lsp",
    "headless",
]
categories = [
    "text-editors",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/windoze/editor-core"
resolver = "2"

[lib]
name = "editor_core"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.regex]
version = "1.11"

[dependencies.ropey]
version = "1.6"

[dependencies.unicode-segmentation]
version = "1.12"

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.rand]
version = "0.8"