kibi 0.3.3

A text editor in less than 1024 lines of code with syntax highlighting, search and more.
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.93"
name = "kibi"
version = "0.3.3"
authors = ["Ilaï Deutel"]
build = false
include = [
    "src/",
    "tests/",
    "Cargo.toml",
    "Cargo.lock",
    "COPYRIGHT",
    "LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A text editor in less than 1024 lines of code with syntax highlighting, search and more."
readme = "README.md"
keywords = [
    "editor",
    "terminal",
    "text-editor",
]
categories = [
    "text-editors",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ilai-deutel/kibi"

[badges.maintenance]
status = "actively-developed"

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

[[bin]]
name = "kibi"
path = "src/main.rs"

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

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

[dev-dependencies.env_logger]
version = "0.11.8"
features = [
    "auto-color",
    "humantime",
]
default-features = false

[dev-dependencies.log]
version = "0.4.29"
default-features = false

[dev-dependencies.rstest]
version = "0.26.1"
default-features = false

[dev-dependencies.tempfile]
version = "3.24.0"
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2.180"

[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = ["wincon"]
default-features = false

[target."cfg(windows)".dependencies.winapi-util]
version = "0.1.11"

[lints.clippy]
allow_attributes = "deny"
as_pointer_underscore = "deny"
as_underscore = "deny"
assertions_on_result_states = "deny"
cfg_not_test = "deny"
clone_on_ref_ptr = "deny"
create_dir = "deny"
dbg_macro = "deny"
doc_include_without_cfg = "deny"
empty_drop = "deny"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
exit = "deny"
expect_used = "deny"
float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
format_push_string = "deny"
get_unwrap = "deny"
if_then_some_else_none = "deny"
impl_trait_in_params = "deny"
infinite_loop = "deny"
map_with_unused_argument_over_ranges = "deny"
mem_forget = "deny"
missing_assert_message = "deny"
mixed_read_write_in_expression = "deny"
mod_module_files = "deny"
module_name_repetitions = "deny"
multiple_inherent_impl = "deny"
must_use_candidate = "allow"
mutex_atomic = "deny"
needless_raw_strings = "deny"
non_zero_suggestions = "deny"
panic = "deny"
precedence_bits = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_test_prefix = "deny"
redundant_type_annotations = "deny"
ref_patterns = "deny"
renamed_function_params = "deny"
rest_pat_in_fully_bound_structs = "deny"
return_and_then = "deny"
same_name_method = "deny"
semicolon_outside_block = "deny"
separated_literal_suffix = "deny"
str_to_string = "deny"
unused_result_ok = "deny"
unwrap_used = "deny"
use_debug = "deny"
verbose_file_reads = "deny"
wildcard_enum_match_arm = "deny"

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

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

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

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

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

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

[lints.clippy.restriction]
level = "allow"
priority = -1

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

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
explicit_outlives_requirements = "deny"
let-underscore-drop = "deny"
meta-variable-misuse = "deny"
non-local-definitions = "deny"
non_ascii_idents = "deny"
redundant-imports = "deny"
redundant-lifetimes = "deny"
single-use-lifetimes = "deny"
trivial-casts = "deny"
trivial_numeric_casts = "deny"
unit-bindings = "deny"
unnameable-types = "deny"
unsafe-code = "deny"
unused-import-braces = "deny"
unused-lifetimes = "deny"
unused-macro-rules = "deny"
unused_qualifications = "deny"
variant_size_differences = "deny"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"