-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (45 loc) · 1.57 KB
/
Cargo.toml
File metadata and controls
59 lines (45 loc) · 1.57 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
[package]
name = "ink-md"
version = "0.2.1"
edition = "2021"
authors = ["Amin Borghei <[email protected]>"]
description = "The most advanced terminal markdown reader"
license-file = "LICENSE"
repository = "https://github.com/borghei/ink"
keywords = ["markdown", "terminal", "reader", "tui", "cli"]
categories = ["command-line-utilities", "text-processing"]
[[bin]]
name = "ink"
path = "src/main.rs"
[dependencies]
# Markdown parsing (GFM-compliant)
comrak = { version = "0.36", default-features = false, features = ["syntect"] }
# TUI framework
ratatui = { version = "0.30", features = ["crossterm"] }
crossterm = { version = "0.28", features = ["event-stream"] }
# Syntax highlighting
syntect = { version = "5.2", default-features = false, features = ["default-fancy"] }
# CLI
clap = { version = "4", features = ["derive"] }
# Error handling
anyhow = "1"
# Theming & config
toml = "0.8"
serde = { version = "1", features = ["derive"] }
# URL fetching (rustls = no system OpenSSL dependency, cross-compiles cleanly)
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls"] }
# Open URLs in browser
open = "5"
# XDG directories
dirs = "6"
# Unicode width calculation
unicode-width = "0.2"
# Image decoding for inline image rendering
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp"] }
# Cross-platform file watching for --watch (FSEvents on macOS, inotify on Linux, ReadDirectoryChangesW on Windows)
notify = "8"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"