-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
63 lines (56 loc) · 2.35 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
# Copyright (C) 2024 worksoup <https://github.com/worksoup/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
[package]
name = "cxsign"
version = "0.5.3"
edition = "2021"
[lib]
name = "cxsign"
crate-type = ["lib", "cdylib", "staticlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["completions", "ui_solver"]
all_ui_solver = ["slide_ui_solver", "ui_solver", "obstacle_ui_solver", "rotate_ui_solver"]
ui_solver = ["icon_click_ui_solver", "text_click_ui_solver"]
completions = ["completion-nu", "completion-carapace", "completion-fig"]
completion-nu = ["clap_complete_command", "clap_complete_command/nushell"]
completion-carapace = ["clap_complete_command", "clap_complete_command/carapace"]
completion-fig = ["clap_complete_command", "clap_complete_command/fig"]
slide_ui_solver = ["cxlib_captcha/slide_ui_solver"]
rotate_ui_solver = ["cxlib_captcha/rotate_ui_solver"]
obstacle_ui_solver = ["cxlib_captcha/obstacle_ui_solver"]
icon_click_ui_solver = ["cxlib_captcha/icon_click_ui_solver"]
text_click_ui_solver = ["cxlib_captcha/text_click_ui_solver"]
[dependencies]
# tikv-jemallocator = "0.5"
clap = { version = "4.5", features = ["derive"] }
clap_complete_command = { version = "0.6", default-features = false, optional = true }
cxlib = { path = "cxlib" }
# cxsign = { path = "../newsign/" }
env_logger = "0.11"
inquire = "0.7"
log = { version = "0.4", features = ["release_max_level_info"] }
chrono = "0.4"
[profile.release]
panic = "abort"
#codegen-units = 1
#lto = "fat"
strip = "symbols"
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))'.dependencies]
cxlib_captcha = { path = "./cxlib/crates/cxlib_captcha" }
[build-dependencies]
resvg = "0.44"
ico = "0.3"
embed-resource = "3.0"