[dependencies.iced]
features = ["advanced", "highlighter", "canvas"]
version = "0.14"
[dependencies.syntect]
version = "5.2"
[lib]
name = "iced_code_editor"
path = "src/lib.rs"
[lints.clippy]
assertions_on_result_states = "deny"
bool_assert_comparison = "deny"
cast_lossless = "deny"
dbg_macro = "deny"
empty_loop = "deny"
expect_used = "deny"
float_cmp = "deny"
inefficient_to_string = "deny"
large_types_passed_by_value = "deny"
manual_range_contains = "deny"
match_wild_err_arm = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
needless_borrow = "deny"
needless_pass_by_value = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_clone = "deny"
string_add = "deny"
unimplemented = "deny"
unnecessary_wraps = "deny"
unreachable = "deny"
unused_self = "deny"
unwrap_used = "deny"
vec_init_then_push = "deny"
wildcard_imports = "deny"
zero_prefixed_literal = "deny"
[lints.rust]
unsafe_code = "forbid"
[package]
authors = ["LuDog71 <ludog71.trekker238@passmail.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["gui"]
description = "A custom code editor widget for the Iced GUI framework with syntax highlighting, line numbers, and scrolling support."
documentation = "https://docs.rs/iced-code-editor"
edition = "2024"
homepage = "https://github.com/LuDog71FR/iced-code-editor"
keywords = ["gui", "interface", "widgets", "iced", "editor"]
license = "MIT"
name = "iced-code-editor"
readme = "README.md"
repository = "https://github.com/LuDog71FR/iced-code-editor"
resolver = "2"
version = "0.2.7"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]