neovide.neovide/Cargo.toml
Alexander Polakov fcf5e87bf8
feat: add ability to open files from Finder in macOS (#2395)
* non-working plist attempt

* add Neovide.icns

* remove old build attempt

* make-icns script

* add background for dmg installer

* app + dmg builder script

* first version of Info.plist

* add missing keys from production build

* support retina backgrounds with tiff

* add lots of types...

* also add exported type declarations

* consistent quotes

* sigh

* comment

* feat(mac): implement openFiles on macOS

* feat: default to fork if in tty

* add source image and instructions

---------

Co-authored-by: Travis <travis@marketcake.com>
2024-04-06 18:31:39 +03:00

134 lines
4.1 KiB
TOML

[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"