-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
136 lines (122 loc) · 3.51 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[package]
name = "loqui"
version = "0.1.0"
authors = ["Yusuf Bera Ertan <[email protected]>"]
edition = "2021"
description = "Rust client for the Harmony protocol."
license = "GPLv3"
repository = "https://github.com/harmony-development/loqui"
homepage = "https://github.com/harmony-development/loqui"
resolver = "2"
[workspace]
members = ["client", "image_worker"]
[package.metadata.bundle]
name = "Loqui"
identifier = "nodomain.yusdacra.loqui"
short_description = "Rust client for the Harmony protocol."
icon = ["./resources/loqui.ico"]
[profile.dev]
opt-level = 0
overflow-checks = true
debug-assertions = true
debug = false
codegen-units = 256
lto = false
incremental = true
[profile.release]
opt-level = 3
lto = "fat"
overflow-checks = false
debug-assertions = false
debug = false
codegen-units = 1
panic = 'abort'
[dependencies]
eframe = { git = "https://github.com/yusdacra/egui.git", branch = "loqui", default-features = false, features = [
"egui_glow",
] }
egui = { git = "https://github.com/yusdacra/egui.git", branch = "loqui", default-features = false, features = [
"serde",
"single_threaded",
] }
epaint = { git = "https://github.com/yusdacra/egui.git", branch = "loqui", default-features = false, features = [
"serde",
] }
emath = { git = "https://github.com/yusdacra/egui.git", branch = "loqui", default-features = false, features = [
"serde",
] }
ahash = { version = "0.7", default-features = false, features = ["serde"] }
client = { path = "./client" }
image_worker = { path = "./image_worker" }
urlencoding = "2"
webbrowser = "0.5"
rfd = { version = "0.7", default-features = false, features = ["parent"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.11", default-features = false }
anyhow = "1"
itertools = "0.10"
instant = { version = "0.1", features = ["wasm-bindgen"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
wasm-bindgen = "0.2"
js-sys = { version = "0.3" }
web-sys = { version = "0.3", features = [
"Worker",
"MessageEvent",
"Notification",
"NotificationOptions",
] }
rkyv = "0.7"
tokio = { version = "1.9", features = ["sync", "macros"] }
tracing-wasm = "0.2"
console_error_panic_hook = "0.1"
image = { git = "https://github.com/image-rs/image.git", branch = "master", default-features = false, features = [
"gif",
"jpeg",
"ico",
"png",
"tiff",
"webp",
] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
tokio = { version = "1.9", features = ["sync", "rt-multi-thread", "macros"] }
open = "2.0"
image = { git = "https://github.com/image-rs/image.git", branch = "master", default-features = false, features = [
"gif",
"jpeg",
"ico",
"png",
"tiff",
"webp",
"jpeg_rayon",
] }
notify-rust = "4"
[package.metadata.nix]
longDescription = """
Loqui is a Harmony client written in Rust using the iced GUI library.
It aims to be lightweight with a good out-of-the-box experience.
"""
systems = ["x86_64-linux"]
app = true
build = true
runtimeLibs = [
"wayland",
"wayland-protocols",
"libxkbcommon",
"xorg.libX11",
"xorg.libXrandr",
"xorg.libXi",
"libGL",
]
[workspace.metadata.nix]
buildInputs = ["libxkbcommon"]
devshell.packages = ["cargo-deny", "wasm-bindgen-cli"]
devshell.name = "loqui-shell"
devshell.commands = [{ package = "tagref" }]
[package.metadata.nix.desktopFile]
name = "Loqui"
genericName = "Harmony Client"
categories = "Network;"