lutra-text gets Buffer on a ropey rope: byte/char/UTF-16/line counts, byte offset <-> (line, column) in UTF-16 code units or chars, absolute UTF-16 offsets, atomic Edit batches in LSP TextEdit[] semantics, and \n / \r\n / \r detection with a keep-the-file's-ending save policy. All conversions return TextError instead of panicking. ropey 1.6.1 (MIT) without unicode_lines, so only the LSP/CodeMirror line breaks split lines. proptest moves into workspace deps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
1.1 KiB
TOML
44 lines
1.1 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*", "apps/*", "xtask"]
|
|
default-members = ["crates/*", "apps/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["Daniel Diekert and the Lutra contributors"]
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
lutra-text = { path = "crates/text" }
|
|
lutra-syntax = { path = "crates/syntax" }
|
|
lutra-vfs = { path = "crates/vfs" }
|
|
lutra-index = { path = "crates/index" }
|
|
lutra-search = { path = "crates/search" }
|
|
lutra-lsp = { path = "crates/lsp" }
|
|
lutra-terminal = { path = "crates/terminal" }
|
|
lutra-engine = { path = "crates/engine" }
|
|
lutra-control = { path = "crates/control" }
|
|
lutra-mcp = { path = "crates/mcp" }
|
|
lutra-testkit = { path = "crates/testkit" }
|
|
ropey = { version = "1.6.1", default-features = false, features = ["cr_lines", "simd"] }
|
|
proptest = "1.12.0"
|
|
|
|
[workspace.lints.rust]
|
|
missing_docs = "deny"
|
|
unsafe_code = "deny"
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
panic = "deny"
|
|
unreachable = "deny"
|
|
todo = "deny"
|
|
unimplemented = "deny"
|
|
indexing_slicing = "deny"
|
|
string_slice = "deny"
|
|
|
|
[profile.release]
|
|
panic = "unwind"
|