-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
112 lines (103 loc) · 4.53 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
[workspace]
members = [
"workspace-hack",
"xtask",
"hn-server",
"hn-hinted-id",
"hn-app",
"hn-keys",
"hn-public-api",
"hn-tracing",
"hn-usr",
"rn-desktop/src-tauri",
]
exclude = [
"hn-desktop",
"hn-desktop-ui",
"hn-desktop-executor",
"hn-desktop-ui-messages",
# exclude these from the workspace
"vendor/shipyard",
"vendor/quickjs-rs",
"vendor/tracing-opentelemetry",
"vendor/bonsaidb",
"vendor/slint",
]
resolver = "2"
[workspace.package]
# Must be 1.3.0 in order to keep slint in our workspace
version = "1.3.0"
rust-version = "1.71.1"
edition = "2021"
authors = ["Cole Lawrence <[email protected]>"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/colelawrence/here-now"
homepage = "https://github.com/colelawrence/here-now"
keywords = []
documentation = ""
[workspace.dependencies]
api = { package = "hn-public-api", path = "./hn-public-api", version = "*" }
hn-app = { path = "./hn-app", version = "*" }
hn-keys = { path = "./hn-keys", version = "*" }
hn-tracing = { path = "./hn-tracing", version = "*" }
hn-hinted-id = { path = "./hn-hinted-id", version = "*" }
hn-usr = { path = "./hn-usr", version = "*" }
ui = { package = "hn-desktop-ui-messages", path = "./hn-desktop-ui-messages", version = "*" }
derive-codegen = { path = "vendor/derive-codegen/derive-codegen", version = "*" }
i-codegen-derive = { path = "vendor/derive-codegen/derive", version = "*" }
i-codegen-code = { path = "vendor/derive-codegen/code", version = "*" }
shipyard_app = { path = "vendor/shipyard_app", version = "*" }
shipyard = { path = "vendor/shipyard", version = "*", features = [
"proc",
"tracing",
] }
bonsaidb = { path = "vendor/bonsaidb/crates/bonsaidb", version = "0.4.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1.37"
tokio = { version = "1.29.1", features = ["full"] }
anyhow = "1.0"
# slint (excluding submodule)
slint = { version = "=1.3.0", default-features = false, features = [
"std",
"compat-1-2",
"backend-winit",
"renderer-femtovg",
# We don't use this feature, but it's required for documentation generation
# https://chat.slint.dev/public/pl/9trwe4698b8x5m6jiocq174ozy
"renderer-software",
] }
slint-build = { version = "=1.3.0" }
i-slint-backend-selector = { version = "=1.3.0" }
# # for slint
# i-slint-backend-linuxkms = { version = "=1.3.0", path = "vendor/slint/internal/backends/linuxkms", default-features = false }
# i-slint-backend-qt = { version = "=1.3.0", path = "vendor/slint/internal/backends/qt", default-features = false }
# i-slint-backend-selector = { version = "=1.3.0", path = "vendor/slint/internal/backends/selector", default-features = false }
# i-slint-backend-testing = { version = "=1.3.0", path = "vendor/slint/internal/backends/testing", default-features = false }
# i-slint-backend-winit = { version = "=1.3.0", path = "vendor/slint/internal/backends/winit", default-features = false }
# i-slint-common = { version = "=1.3.0", path = "vendor/slint/internal/common", default-features = false }
# i-slint-compiler = { version = "=1.3.0", path = "vendor/slint/internal/compiler", default-features = false }
# i-slint-core = { version = "=1.3.0", path = "vendor/slint/internal/core", default-features = false }
# i-slint-core-macros = { version = "=1.3.0", path = "vendor/slint/internal/core-macros", default-features = false }
# i-slint-renderer-femtovg = { version = "=1.3.0", path = "vendor/slint/internal/renderers/femtovg", default-features = false }
# i-slint-renderer-skia = { version = "=1.3.0", path = "vendor/slint/internal/renderers/skia", default-features = false }
# slint = { version = "=1.3.0", path = "vendor/slint/api/rs/slint", default-features = false }
# slint-build = { version = "=1.3.0", path = "vendor/slint/api/rs/build", default-features = false }
# slint-cpp = { version = "=1.3.0", path = "vendor/slint/api/cpp", default-features = false }
# slint-interpreter = { version = "=1.3.0", path = "vendor/slint/internal/interpreter", default_features = false }
# slint-macros = { version = "=1.3.0", path = "vendor/slint/api/rs/macros", default-features = false }
# resvg = { version = "0.34.0", default-features = false, features = ["text"] }
# fontdb = { version = "0.14.1", default-features = false }
# send_wrapper = { version = "0.6.0" }
# cbindgen = { version = "0.26", default-features = false }
# toml_edit = "0.20"
# css-color-parser2 = { version = "1.0.1" }
# itertools = "0.11"
# optimizations borrowed from the slint project
[profile.release]
lto = true
panic = "abort"
[profile.dev]
debug = "line-tables-only"
opt-level = 1
panic = "abort"