forked from krivahtoo/silicon.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (31 loc) · 1.04 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
[package]
name = "silicon_nvim"
version = "0.4.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "silicon"
crate-type = ["cdylib"]
[dependencies]
anyhow = "1"
tempfile = "3"
nvim-oxi = { version = "0.2.2", features = ["neovim-nightly"] }
serde = { version = '1.0', features = ["derive"] }
silicon = { version = '0.5' }
time = { version = "0.3", features = ["formatting", "local-offset"] }
[dependencies.syntect]
version = "5.0"
default-features = false
features = ["parsing", "dump-load", "regex-onig"]
[target.'cfg(target_os = "macos")'.dependencies]
pasteboard = "0.1.3"
[target.'cfg(target_os = "windows")'.dependencies]
clipboard-win = "4.0.2"
image = { version = "0.24", default-features = false, features = ["jpeg", "bmp", "jpeg_rayon"] }
[dependencies.image]
version = "0.24"
default-features = false
features = ["jpeg", "png", "jpeg_rayon"]
[patch.crates-io]
nvim-oxi = { git = "https://github.com/noib3/nvim-oxi" }
silicon = { git = "https://github.com/Aloxaf/silicon" }