-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (78 loc) · 1.78 KB
/
Cargo.toml
File metadata and controls
101 lines (78 loc) · 1.78 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
[package]
name = "oops"
version = "0.1.1"
edition = "2021"
rust-version = "1.88"
authors = ["oops Contributors"]
description = "A blazingly fast command-line typo corrector - oops, I made a mistake!"
license = "MIT"
repository = "https://github.com/animeshkundu/oops"
homepage = "https://github.com/animeshkundu/oops"
readme = "README.md"
keywords = ["cli", "shell", "command-line", "productivity", "typo-correction"]
categories = ["command-line-utilities"]
[[bin]]
name = "oops"
path = "src/main.rs"
[[bin]]
name = "check_parity"
path = "src/bin/check_parity.rs"
[lib]
name = "oops"
path = "src/lib.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# Regex
regex = "1"
fancy-regex = "0.13"
# Fuzzy matching
strsim = "0.11"
# Terminal
crossterm = "0.27"
# Paths and directories
dirs = "5"
# Error handling
anyhow = "1"
thiserror = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Caching
cached = "0.52"
once_cell = "1"
# Shell lexing
shlex = "1"
# Process handling
which = "6"
# URL parsing
url = "2"
# HTTP client (minimal, synchronous)
ureq = { version = "2.10", default-features = false, features = ["json", "tls"] }
[target.'cfg(unix)'.dependencies]
portable-pty = "0.8"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.52", features = ["Win32_System_Console"] }
[features]
default = []
python = ["pyo3"]
[dependencies.pyo3]
version = "0.24"
optional = true
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
insta = "1"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true