Sync some changes from cosmic-edit
This commit is contained in:
parent
c9f99a3025
commit
efca9e7c22
3 changed files with 29 additions and 101 deletions
26
Cargo.toml
26
Cargo.toml
|
|
@ -1,7 +1,9 @@
|
|||
[package]
|
||||
name = "cosmic-term"
|
||||
version = "0.1.0"
|
||||
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
||||
edition = "2021"
|
||||
license = "GPL-3.0-only"
|
||||
rust-version = "1.71"
|
||||
|
||||
[build-dependencies]
|
||||
|
|
@ -16,18 +18,18 @@ lazy_static = "1"
|
|||
lexical-sort = "0.3.1"
|
||||
log = "0.4"
|
||||
palette = { version = "0.7", features = ["serde"] }
|
||||
paste = "1.0"
|
||||
ron = "0.8"
|
||||
serde = { version = "1", features = ["serde_derive"] }
|
||||
shlex = "1"
|
||||
tokio = { version = "1", features = ["sync"] }
|
||||
# Internationalization
|
||||
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
||||
i18n-embed-fl = "0.6"
|
||||
rust-embed = "6"
|
||||
paste = "1.0"
|
||||
i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"] }
|
||||
i18n-embed-fl = "0.7"
|
||||
rust-embed = "8"
|
||||
|
||||
[dependencies.cosmic-files]
|
||||
git = "https://github.com/pop-os/cosmic-files"
|
||||
git = "https://github.com/pop-os/cosmic-files.git"
|
||||
default-features = false
|
||||
|
||||
[dependencies.cosmic-text]
|
||||
|
|
@ -43,17 +45,17 @@ features = ["multi-window", "tokio", "winit"]
|
|||
version = "0.2.1"
|
||||
features = ["serde"]
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
|
||||
|
||||
[patch.crates-io]
|
||||
# https://github.com/rust-lang/libc/pull/3512
|
||||
libc = { git = "https://gitlab.redox-os.org/redox-os/liblibc.git", branch = "redox_0.2.151" }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
fork = "0.1"
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
|
||||
|
||||
[profile.release-with-debug]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
fork = "0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue