-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
51 lines (43 loc) · 1.45 KB
/
Cargo.toml
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
[package]
name = "hired"
description = "Highlighting rust clone of ed"
version = "0.12.0"
homepage = "https://github.com/sidju/hired"
repository = "https://github.com/sidju/hired"
readme = "README.md"
categories = ["text-editors"]
keywords = ["ed", "syntax-highlighting", "cli"]
authors = ["sidju <[email protected]>"]
license = "MIT"
edition = "2021"
include = [
"assets/*",
"**/*.rs",
"Cargo.*",
"default_config.yaml",
]
[features]
[dependencies]
add-ed = { version = "0.13", features = ["local_io","initial_input_data","serde"] }
# Terminal interaction library, to manage key events and cursor position
# Avoid having support for bracketed paste = treat pasted input same as normal
crossterm = { version = "0.27", default-features = false, features = [
"events",
"windows",
]}
# Syntax highlighting
syntect = { version = "5.1", default-features = false, features = [
"regex-fancy", # use rust regex
"parsing", # Includes loading the compressed dump created by build.rs
] }
# Documentation printing library
termimad = "0.26"
# CLI and configuration parsing dependencies
clap = { version = "4.4", features = ["derive", "env"] }
figment = { version = "0.10", features = ["yaml", "env"]}
# Serdes required for figment, so let figment set version
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
directories = "5.0"
[build-dependencies]
syntect = { version = "5.1" } # Onigura regex engine better handles inconsistencies in the syntax files