-
-
Notifications
You must be signed in to change notification settings - Fork 933
Expand file tree
/
Copy pathCargo.toml
More file actions
145 lines (135 loc) · 5.07 KB
/
Copy pathCargo.toml
File metadata and controls
145 lines (135 loc) · 5.07 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[workspace]
members = [
"crates/*",
"crates/atuin-nucleo/matcher",
]
resolver = "2"
exclude = ["ui/backend", "crates/atuin-nucleo/matcher/fuzz"]
[workspace.package]
version = "18.20.0-beta.3"
authors = ["Ellie Huxtable <ellie@atuin.sh>"]
rust-version = "1.97.0"
license = "MIT"
homepage = "https://atuin.sh"
repository = "https://github.com/atuinsh/atuin"
readme = "README.md"
[workspace.dependencies]
async-trait = "0.1.58"
enum_dispatch = "0.3"
atuin-client = { path = "crates/atuin-client", version = "18.20.0-beta.3" }
atuin-common = { path = "crates/atuin-common", version = "18.20.0-beta.3" }
atuin-daemon = { path = "crates/atuin-daemon", version = "18.20.0-beta.3" }
atuin-domain = { path = "crates/atuin-domain", version = "18.20.0-beta.3" }
atuin-dotfiles = { path = "crates/atuin-dotfiles", version = "18.20.0-beta.3" }
atuin-history = { path = "crates/atuin-history", version = "18.20.0-beta.3" }
atuin-kv = { path = "crates/atuin-kv", version = "18.20.0-beta.3" }
atuin-scripts = { path = "crates/atuin-scripts", version = "18.20.0-beta.3" }
atuin-server = { path = "crates/atuin-server", version = "18.20.0-beta.3" }
atuin-server-database = { path = "crates/atuin-server-database", version = "18.20.0-beta.3" }
atuin-server-postgres = { path = "crates/atuin-server-postgres", version = "18.20.0-beta.3" }
atuin-server-sqlite = { path = "crates/atuin-server-sqlite", version = "18.20.0-beta.3" }
atuin-nucleo = { path = "crates/atuin-nucleo", version = "0.6.0" }
atuin-nucleo-matcher = { path = "crates/atuin-nucleo/matcher", version = "0.3.1" }
frizbee = "0.12.0"
base64 = "0.22"
crossterm = "0.29.0"
time = { version = "0.3.47", features = [
"serde-human-readable",
"macros",
"local-offset",
] }
clap = { version = "4.5.7", features = ["derive"] }
config = { version = "0.15.8", default-features = false, features = ["toml"] }
derive_more = { version = "2", features = ["as_ref", "deref", "display", "error", "from", "into", "debug"] }
directories = "6.0.0"
eyre = "0.6"
fs-err = "3.1"
http = "1.5"
reqwest-middleware = "0.5"
wiremock = "0.6"
interim = { version = "0.2.0", features = ["time_0_3"] }
itertools = "0.15.0"
rand = { version = "0.8.5", features = ["std"] }
semver = "1.0.20"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = "1.0.119"
shellexpand = "3"
tokio = { version = "1", features = ["full"] }
uuid = { version = "1.9", features = ["v4", "v7", "serde"] }
whoami = "2.1.0"
typed-builder = "0.23.2"
pretty_assertions = "1.3.0"
proptest = "1.11.0"
parking_lot = "0.12.5"
zeroize = "1"
rstest = "0.26.1"
thiserror = "2"
rustix = { version = "1.1.4", features = ["process", "fs"] }
tower = "0.5"
tracing = "0.1"
tree-sitter = "0.26.8"
tree-sitter-bash = "0.25.1"
crypto_secretbox = "0.1.1"
tiny-bip39 = "2"
tree-sitter-fish = "3.6.0"
tree-sitter-powershell = "0.26.4"
rmp = "0.8.14"
ratatui = "0.30.0"
sql-builder = "3"
tempfile = { version = "3.19" }
minijinja = "2.9.0"
glob-match = "0.2.1"
imara-diff = "0.2"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
vt100 = "0.16"
regex = "1.10.5"
toml_edit = "0.25.4"
url = { version = "2.5", features = ["serde"] }
# rusty_paserk 0.5.0 (latest) requires rusty_paseto 0.8.0 unfortunately
rusty_paseto = { version = "0.8.0", default-features = false }
rusty_paserk = { version = "0.5.0", default-features = false, features = [
"v4",
"serde",
] }
strum = { version = "0.27", features = ["strum_macros"] }
strum_macros = "0.28"
[workspace.dependencies.tracing-subscriber]
version = "0.3"
features = ["ansi", "fmt", "registry", "env-filter", "json"]
[workspace.dependencies.reqwest]
version = "0.13"
features = ["json", "native-tls", "stream"]
default-features = false
[workspace.dependencies.sqlx]
version = "0.9"
features = ["runtime-tokio", "time", "uuid"]
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "fat"
strip = "symbols"
codegen-units = 1
[profile.profiling]
inherits = "dist"
debug = true
strip = "none"
split-debuginfo = "packed"
# dist inherits fat LTO + codegen-units = 1, which inline aggressively across
# crates and collapse the call tree in a profiler. Override both to keep frames
# distinct. For a finer knob, lower LLVM's inline threshold at build time with
# RUSTFLAGS="-C llvm-args=--inline-threshold=25" (0 = flattest).
lto = false
codegen-units = 256
# For local development against a local eye-declare, uncomment below
#eye_declare = { path = "../eye_declare/crates/eye_declare" }
#eye_declare_engine = { path = "../eye_declare/crates/eye_declare_engine" }
[patch.crates-io]
# axoasset (axoupdater's HTTP layer) hardcodes reqwest's "default-tls" feature,
# which would force the rustls/aws-lc-rs backend into our builds via feature
# unification, alongside the native-tls backend the workspace actually uses.
# The vendored copy (from the atuinsh/axoasset fork, branch remote-tls-feature,
# managed by vendor/vendor.sh) makes the TLS backend selectable so reqwest
# follows the workspace configuration. A path is used rather than the fork's
# git URL because git-sourced patches break crates.io publishing. Drop this
# once the change is upstreamed and released.
axoasset = { path = "vendor/axoasset" }