-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
89 lines (80 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
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
[package]
name = "caricare"
version = "0.1.0"
edition = "2021"
description = "A simple cross-platform desktop application for S3-Compatible Object Storage. Built in Rust using egui."
[package.metadata.bundle]
name = "Caricare"
identifier = "com.fireyy.caricare"
icon = [
"icons/Icon.icns",
"icons/Icon.iconset/icon-256.png",
"icons/Icon.iconset/icon-32.png",
"icons/Icon.iconset/icon-16.png",
]
version = "1.0.0"
copyright = "Copyright (c) Fireyy (2023). All rights reserved."
category = "Developer Tool"
short_description = "A simple cross-platform desktop application for S3-Compatible Object Storage."
osx_minimum_system_version = "10.12"
[features]
default = []
# Enable CJK char support
lang-cjk = ["cc_ui/lang-cjk"]
[dependencies]
cc_core = { workspace = true }
cc_ui = { workspace = true }
eframe = { workspace = true }
cc_runtime = { workspace = true }
serde = { workspace = true }
egui = { workspace = true }
cc_files = { workspace = true }
egui_extras = { workspace = true }
image = { version = "0.24.6", default-features = false, features = [
"png",
"jpeg",
"gif",
"webp",
] }
rfd = "0.10"
egui-notify = "0.6"
tracing = { workspace = true }
cc_storage = { workspace = true }
crossbeam-channel = { workspace = true }
once_cell = { workspace = true }
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
authors = ["fireyy zhu <fireyy@gmail.com>"]
edition = "2021"
include = ["**/*.rs", "Cargo.toml"]
rust-version = "1.67"
version = "0.1.0"
[workspace.dependencies]
cc_core = { path = "crates/cc_core" }
cc_ui = { path = "crates/cc_ui" }
cc_storage = { path = "crates/cc_storage" }
cc_runtime = { path = "crates/cc_runtime" }
cc_files = { path = "crates/cc_files" }
eframe = { version = "0.27.2", features = ["persistence"] }
egui = "0.27.2"
egui_extras = { version = "0.27.2", features = ["all_loaders"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1.29"
once_cell = "1.15.0"
reqwest = { version = "0.11.18", default-features = false }
infer = { version = "0.11.0", default-features = false }
crossbeam-channel = "0.5.7"
[profile.dev]
opt-level = 1 # Make debug builds run faster
# Optimize all dependencies even in debug builds (does not affect workspace packages):
[profile.dev.package."*"]
opt-level = 2
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"