-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
80 lines (66 loc) · 2.02 KB
/
Cargo.toml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "kcshot"
version = "0.1.0"
authors = ["Mițca Dumitru <[email protected]>"]
edition = "2021"
license = "EUPL-1.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["kcshot-data", "kcshot-screenshot"]
[workspace.lints.rust]
unused_qualifications = "warn"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kcshot_linting)'] }
[workspace.lints.clippy]
match_same_arms = "warn"
trivially_copy_pass_by_ref = "warn"
semicolon_if_nothing_returned = "warn"
redundant_closure_for_method_calls = "warn"
items_after_statements = "warn"
useless_conversion = "warn"
dbg_macro = "warn"
unnecessary_wraps = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
no_effect_underscore_binding = "warn"
redundant_else = "warn"
single_match_else = "warn"
[workspace.dependencies]
cairo = { package = "cairo-rs", version = "0.20.5", features = ["png"] }
gtk4 = { version = "0.9.4", features = ["blueprint"] }
thiserror = "2.0.3"
tokio = { version = "1.25.0", features = ["rt-multi-thread"] }
tracing = "0.1.23"
[lints]
workspace = true
[dependencies]
kcshot-data = { path = "./kcshot-data" }
# UI-related dependencies
gtk4.workspace = true
ksni = "0.2.0"
# Screenshot editing & capturing
kcshot-screenshot = { path = "./kcshot-screenshot" }
cairo.workspace = true
gdk4-x11 = "0.9.4"
pangocairo = "0.20.4"
pulldown-cmark = { version = "0.12.2", default-features = false }
pulldown-cmark-escape = "0.11.0"
regex = "1.11.1"
stackblur-iter = "0.2.0"
tokio.workspace = true
# User settings, history
diesel = { version = "2.2.6", features = ["sqlite"] }
diesel_migrations = "2.2.0"
xdg = "2.1"
# Miscellaneous
rand = "0.8.4"
# Logging and error reporting
tracing.workspace = true
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
thiserror.workspace = true
[build-dependencies]
glib-build-tools = "0.20.0"
[features]
default = ["xdg-paths"]
xdg-paths = []
# Only specify this when trying to diagnose memory leaks, it shouldn't be used for normal usage
heaptrack = []