idet-core 0.2.0

Shared text-editing library for a Micro-like terminal editor and a gedit-like egui GUI
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"
name = "idet-core"
version = "0.2.0"
authors = ["p <p@p11c.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared text-editing library for a Micro-like terminal editor and a gedit-like egui GUI"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/porky11/idet"

[features]
egui = ["dep:egui"]
files = [
    "dep:document-state",
    "dep:rfd",
]

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

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

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

[dependencies.document-state]
version = "0.1"
optional = true

[dependencies.egui]
version = "0.35"
optional = true

[dependencies.kv-parser]
version = "0.2.1"

[dependencies.rfd]
version = "0.17"
optional = true

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust.warnings]
level = "deny"
priority = -2