-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (27 loc) · 1.11 KB
/
Copy pathCargo.toml
File metadata and controls
30 lines (27 loc) · 1.11 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
[workspace]
resolver = "3"
members = ["krit-core", "krit", "krit-tui"]
[workspace.package]
version = "0.12.3"
edition = "2024"
license = "MIT"
[workspace.dependencies]
krit-core = { path = "krit-core" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# No default features: those are rustls and gzip, and every request krit's
# clients make is plaintext HTTP to a loopback server they usually started
# themselves.
#
# Nothing degrades to plaintext silently — an https:// URI fails with
# `Error::TlsRequired` rather than being retried in the clear. But it fails as
# an ordinary transport error, not loudly: a call site that discards errors
# (`client::probe`) reads it as "no server there", which is why `ApiError`
# names the scheme rather than leaving the generic "did krit crash?".
# A client that grows a remote endpoint has to add the feature back.
ureq = { version = "3", default-features = false, features = ["json"] }
# Profiles are only honored at the workspace root — cargo silently ignores a
# member's `[profile]`, so this must live here rather than in krit/.
[profile.release]
lto = true
strip = true