iced-code-editor 0.3.3

A custom code editor widget for the Iced GUI framework with syntax highlighting, line numbers, and scrolling support.
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 = "iced-code-editor"
version = "0.3.3"
authors = ["LuDog71 <ludog71.trekker238@passmail.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A custom code editor widget for the Iced GUI framework with syntax highlighting, line numbers, and scrolling support."
homepage = "https://github.com/LuDog71FR/iced-code-editor"
documentation = "https://docs.rs/iced-code-editor"
readme = "README.md"
keywords = [
    "gui",
    "interface",
    "widgets",
    "iced",
    "editor",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/LuDog71FR/iced-code-editor"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.iced]
version = "0.14"
features = [
    "advanced",
    "highlighter",
    "canvas",
]

[dependencies.iced_aw]
version = "0.13"

[dependencies.iced_font_awesome]
version = "0.4"

[dependencies.rust-i18n]
version = "3"

[dependencies.syntect]
version = "5.3"

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

[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"