forked from neovide/neovide
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
133 lines (122 loc) · 4.15 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[package]
name = "neovide"
version = "0.12.2"
edition = "2021"
build = "build.rs"
resolver = "2"
license = "MIT"
description = "Neovide: No Nonsense Neovim Gui"
homepage = "https://neovide.dev/"
repository = "https://github.com/neovide/neovide"
readme = "README.md"
keywords = ["neovim", "nvim", "gui"]
[workspace]
members = ["neovide-derive"]
[features]
default = []
embed-fonts = []
profiling = ["dep:tracy-client-sys"]
gpu_profiling = ["profiling"]
# Corresponds to https://github.com/nagisa/rust_tracy_client/blob/main/FEATURES.mkd
tracy-system-tracing = ["tracy-client-sys?/system-tracing"]
tracy-context-switch-tracing = ["tracy-client-sys?/context-switch-tracing"]
tracy-sampling = ["tracy-client-sys?/sampling"]
tracy-code-transfer = ["tracy-client-sys?/code-transfer"]
tracy-callstack-inlines = ["tracy-client-sys?/callstack-inlines"]
[dependencies]
anyhow = { version = "1.0.75", features = ["backtrace"] }
async-trait = "0.1.53"
backtrace = "0.3.67"
clap = { version = "4.4.18", features = ["cargo", "derive", "env", "color"] }
copypasta = "0.10.1"
csscolorparser = "0.6.2"
derive-new = "0.6.0"
dirs = "5.0.0"
flexi_logger = { version = "0.28.0", default-features = false }
futures = "0.3.21"
gl = "0.14.0"
glutin = "0.31.1"
glutin-winit = "0.4.2"
image = { version = "0.25.0", default-features = false, features = ["ico"] }
itertools = "0.12.1"
lazy_static = "1.4.0"
log = "0.4.16"
lru = "0.12.2"
neovide-derive = { path = "neovide-derive", version = "0.1.0" }
num = "0.4.1"
nvim-rs = { version = "0.7.0", features = ["use_tokio"] }
parking_lot = "0.12.0"
rand = "0.8.5"
raw-window-handle = "0.5.0"
rmpv = "1.0.0"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
shlex = "1.1.0"
simple_moving_average = "0.1.2"
spin_sleep = "1.1.1"
strum = { version = "0.26.2", features = ["derive"] }
swash = { version = "0.1.8", default-features = false }
time = { version = "0.3.34", features = ["macros", "formatting"] }
tokio = { version = "1.25.0", features = ["full"] }
tokio-util = { version = "0.7.4", features = ["compat"] }
toml = "0.8.12"
tracy-client-sys = { version = "0.22.0", optional = true, default-features = false, features = ["broadcast", "delayed-init", "enable", "manual-lifetime", "fibers"] }
unicode-segmentation = "1.9.0"
which = "6.0.1"
winit = { version = "=0.29.15", features = ["serde"] }
xdg = "2.4.1"
notify = "6.1.1"
regex = "1.10.3"
[dev-dependencies]
approx = "0.5.1"
scoped-env = "2.1.0"
serial_test = "3.0.0"
[target.'cfg(target_os = "windows")'.dependencies]
# NOTE: winerror is only needed because the indirect dependency parity-tokio-ipc does not set it even if it uses it
winapi = { version = "0.3.9", features = [
"d3d12",
"d3d12sdklayers",
"dwmapi",
"dxgi",
"dxgi1_2",
"dxgi1_3",
"dxgi1_4",
"dxgi1_6",
"impl-default",
"profileapi",
"synchapi",
"wincon",
"winerror",
"winuser",
]}
# for ComPtr
wio = { version = "0.2.2" }
skia-safe = { version = "0.68.0", features = ["gl", "d3d", "textlayout"] }
[target.'cfg(not(target_os = "windows"))'.dependencies]
skia-safe = { version = "0.68.0", features = ["gl", "textlayout"] }
[target.'cfg(target_os = "macos")'.dependencies]
icrate = { version = "0.0.4", features = [ "apple", "Foundation", "Foundation_NSThread", "AppKit", "AppKit_NSColor", "AppKit_NSEvent", "AppKit_NSView", "AppKit_NSWindow", "AppKit_NSViewController", "AppKit_NSMenu", "AppKit_NSMenuItem", "AppKit_NSOpenPanel", "AppKit_NSScreen", "Foundation_NSArray" ] }
objc2 = "0.4.1"
[target.'cfg(target_os = "windows")'.build-dependencies]
winres = "0.1.12"
[profile.release]
lto = true
incremental = true
strip = true
[profile.profiling]
inherits = "release"
strip = false
debug = true
[package.metadata.bundle]
name = "Neovide"
identifier = "com.neovide.neovide"
icon = ["assets/neovide.ico"]
version = "0.12.2"
resources = []
copyright = "Copyright (c) Neovide Contributors 2023. All rights reserved."
category = "Productivity"
short_description = "A simple GUI for Neovim."
long_description = """
This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, but it should act functionally like the terminal UI.
"""
osx_minimum_system_version = "10.11"