-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (73 loc) · 2.33 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (73 loc) · 2.33 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
[workspace]
resolver = "2"
members = [
"shiki-core",
"shiki-config",
"shiki-tui",
"shiki-cli",
]
[workspace.package]
version = "0.9.0"
edition = "2021"
authors = ["Omar"]
license = "MIT"
repository = "https://github.com/sazardev/shiki"
description = "shiki (私記) - TUI note-taking app written in Rust"
keywords = ["notes", "tui", "markdown", "git", "cli"]
categories = ["command-line-utilities", "text-editors"]
[workspace.dependencies]
shiki-core = { path = "shiki-core", version = "0.9.0" }
shiki-config = { path = "shiki-config", version = "0.9.0" }
shiki-tui = { path = "shiki-tui", version = "0.9.0" }
ratatui = "0.30"
crossterm = "0.29"
tokio = { version = "1", features = ["full"] }
git2 = { version = "0.21", features = ["ssh", "https", "vendored-libgit2", "vendored-openssl"] }
comrak = "0.54"
syntect = "5"
ratatui-textarea = "0.9"
nucleo-matcher = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1.1"
clap = { version = "4", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
notify = "6"
serde_yaml = "0.9"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
regex = "1"
pulldown-cmark = "0.13"
anyhow = "1"
thiserror = "2"
directories = "6"
uuid = { version = "1", features = ["v4"] }
base64 = "0.23"
unicode-width = "0.2"
self_update = { version = "1.0.0-rc.6", default-features = false, features = [
"reqwest",
"rustls",
"github",
"archive-tar",
"archive-zip",
"compression-tar-gz",
"compression-zip-deflate",
"checksums",
] }
tempfile = "3"
# `default-features = false` drops the default `image-data` feature (and its
# `image`/`objc2-core-graphics`/etc. transitive deps) — shiki only ever
# copies/pastes plain text through this, never images.
arboard = { version = "3", default-features = false }
# age::scrypt — symmetric passphrase-based encryption for `[notebooks.<name>]
# encrypt = true`. Pure-Rust, no system libsodium/openssl dependency. The
# `armor` feature is required for ASCII-armored output (so ciphertext still
# reads as text to git, not a binary blob).
age = { version = "0.12", features = ["armor"] }
# Hidden passphrase input for `shiki notebook encrypt/decrypt` — the CLI
# equivalent of the TUI's masked passphrase prompt.
rpassword = "7"
[profile.release]
lto = true
codegen-units = 1
strip = true