-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
90 lines (79 loc) · 2.3 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
81
82
83
84
85
86
87
88
89
90
[package]
name = "ferrishot"
version = "0.2.0"
license = "MIT OR Apache-2.0"
edition = "2024"
description = "A cross-platform desktop screenshot app"
repository = "https://github.com/nik-rev/ferrishot"
homepage = "https://github.com/nik-rev/ferrishot"
keywords = ["screenshot", "screen-capture", "capture", "flameshot"]
categories = ["visualization", "multimedia"]
authors = ["Nik Revenco"]
[features]
docgen = ["dep:documented"]
[build-dependencies]
image = "0.25.6"
[dependencies]
mouse_position = "0.1.4"
xcap = { version = "0.4.1", features = ["image", "vendored"] }
iced = { package = "ferrishot_iced", version = "0.14.1", features = [
"canvas",
"image",
"web-colors",
"advanced",
"svg",
"wgpu",
"tokio",
"qr_code",
] }
image = "0.25.6"
thiserror = "2.0.12"
delegate = "0.13"
env_logger = "0.11.8"
log = "0.4.27"
easy-ext = "1.0.2"
derive_more = { version = "2.0.1", features = ["is_variant"] }
arboard = { version = "3.5", features = ["wayland-data-control"] }
notify-rust = { version = "4.11.7", features = ["images"] }
clap = { version = "4.5.35", features = ["derive"] }
rfd = "0.15.3"
etcetera = "0.10.0"
chrono = "0.4.40"
tempfile = "3.19.1"
reqwest = { version = "0.12.15", default-features = false, features = [
"rustls-tls",
"json",
"multipart",
"stream",
] }
base64 = "0.22.1"
serde = "1.0.219"
serde_json = "1.0.140"
documented = { version = "0.9.1", optional = true }
# configuration
knus = { version = "3.2.0", git = "https://github.com/jaxter184/knus", rev = "01348798018b2e8443eaf40ef357775a6aba0ac6" }
miette = { version = "7.5.0", features = ["fancy"] }
strum = { version = "0.27.1", features = ["derive"] }
human_bytes = "0.4.3"
humantime = "2.2.0"
[lints.rust]
missing_docs = "warn"
[lints.clippy]
pedantic = { priority = -1, level = "warn" }
nursery = { priority = -1, level = "warn" }
too_many_lines = "allow"
# casts from floats -> int are common in the code, and in
# most cases we don't care about precision as we are
# dealing with pixels which cannot be float.
cast_sign_loss = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
allow_attributes_without_reason = "warn"
unwrap_used = "warn"
missing_assert_message = "warn"
missing_docs_in_private_items = "warn"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
codegen-units = 1
lto = true