aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: d91bdfc7bd4aaaca65b2b9c9f2e253c89eecf420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "iced_custom_highlighter"
description = "A custom highlighter for `iced`'s TextEditor widget that uses your application Theme's colors"
authors = ["pml68 <contact@pml68.dev>"]
version = "0.1.0"
edition = "2021"
license = "MIT"
repository = "https://git.sr.ht/~pml68/iced_custom_highlighter"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.88"

[dependencies]
syntect = { version = "5.3", default-features = false, features = [
  "regex-fancy",
] }
two-face = { version = "0.4", default-features = false, features = [
  "syntect-fancy",
] }

[dependencies.iced_core]
git = "https://github.com/iced-rs/iced"
branch = "master"

[dev-dependencies.iced]
git = "https://github.com/iced-rs/iced"
branch = "master"

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

[lints.rust]
missing_debug_implementations = "deny"
unsafe_code = "deny"
unused_results = "deny"

[lints.clippy]
type-complexity = "allow"
semicolon_if_nothing_returned = "deny"
trivially-copy-pass-by-ref = "deny"
default_trait_access = "deny"
match-wildcard-for-single-variants = "deny"
redundant-closure-for-method-calls = "deny"
filter_map_next = "deny"
manual_let_else = "deny"
unused_async = "deny"
from_over_into = "deny"
needless_borrow = "deny"
new_without_default = "deny"
useless_conversion = "deny"

[lints.rustdoc]
broken_intra_doc_links = "forbid"