-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
115 lines (82 loc) · 3.42 KB
/
Copy pathCargo.toml
File metadata and controls
115 lines (82 loc) · 3.42 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[package]
name = "fendapp"
version = "0.5.8"
edition = "2021"
repository = "https://github.com/JadedBlueEyes/fendapp/"
authors = ["Jade Ellis <jade@ellis.link>"]
# description = "A native calculator with advanced features"
license = "MIT"
[package.metadata.packager]
product-name = "FendApp"
identifier = "link.ellis.jade.fendapp"
category = "Utility"
homepage = "https://github.com/JadedBlueEyes/fendapp"
description = "Unit-aware calculator"
long-description = "Fendapp is an arbitrary-precision unit-aware calculator app."
copyright = "Copyright (c) Jade Ellis"
license-file = "LICENCE"
icons = [
# "assets/icon.svg",
"assets/icon.png",
"assets/icon-32x32.png",
"assets/icon.ico"
]
[package.metadata.packager.deb.files]
"assets/link.ellis.jade.fendapp.metainfo.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.metainfo.xml"
"assets/link.ellis.jade.fendapp.releases.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.releases.xml"
[package.metadata.packager.pacman.files]
"assets/link.ellis.jade.fendapp.metainfo.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.metainfo.xml"
"assets/link.ellis.jade.fendapp.releases.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.releases.xml"
[package.metadata.packager.appimage.files]
"assets/link.ellis.jade.fendapp.metainfo.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.metainfo.xml"
"assets/link.ellis.jade.fendapp.releases.xml" = "/usr/share/metainfo/link.ellis.jade.fendapp.releases.xml"
[package.metadata.packager.windows]
digest-algorithm = "SHA-256"
[package.metadata.winresource]
ProductName = "FendApp"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.6", default-features = false, features = ["macro", "signals", "hooks"]}
dioxus-hooks = { version = "0.6" }
dioxus-signals = { version = "0.6" }
fend-core = "1.5.7"
home = "0.5.12"
im-rc = "15.1.0"
ureq = { version = "3.1.4", default-features = false, optional = true }
native-tls = { version = "0.2.14", optional = true }
windows-sys = { version = "0.61.2", features = ["Win32_Storage", "Win32_Storage_FileSystem"] }
rand = "0.10.2"
dioxus-sdk = { version = "0.6.0", default-features = false, features = ["clipboard"] }
sentry = { version = "0.49.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "release-health", "transport", "anyhow", "reqwest"] }
[dependencies.freya]
# git = "https://github.com/marc2332/freya.git"
features = ["devtools"]
# path = "../freya/crates/freya"
version = "0.3.4"
[dev-dependencies.freya-testing]
version = "0.3.4"
[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
# [dependencies.skia-safe]
# version = "0.67.0"
# # https://github.com/rust-skia/rust-skia/blob/master/skia-bindings/README.md#prebuilt-binaries-in-an-offline-environment
# [target.'cfg( target_os = "linux" )'.dependencies.skia-safe]
# version = "0.67.0"
# features = ["all-linux", "use-system-jpeg-turbo"]
# [target.'cfg( target_os = "windows" )'.dependencies.skia-safe]
# version = "0.67.0"
# features = ["all-windows"]
[target.'cfg( target_os = "windows" )'.build-dependencies]
winresource = "0.1"
[features]
native-tls = [ "dep:ureq", "dep:native-tls", "ureq/native-tls", "sentry/native-tls" ]
rustls = [ "dep:ureq", "ureq/rustls", "sentry/rustls" ]
default = [ "native-tls" ]
[profile.release]
lto = true
codegen-units = 1
# For upload to sentry
debug = true
split-debuginfo = "packed"
strip = true