Highlighting relied on the syntax-highlighting package, so removing it left every file uncoloured. The 462 definitions now live in assets/syntax and are compressed into the binary at build time, unpacked per language when used. User .xml files still add to or replace them, and the licence each file declares is recorded in assets/syntax/LICENSES.md. Also moves files to the trash without needing gio. Co-Authored-By: Claude Opus 5.5 <[email protected]>
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
[package]
|
|
name = "damson"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A Material You code editor with Kate's syntax definitions built in"
|
|
license = "MIT"
|
|
|
|
[lib]
|
|
name = "damson"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "damson"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
eframe = { version = "0.37", default-features = false, features = ["glow", "wayland", "x11", "clipboard", "default_fonts", "system_fonts"] }
|
|
ropey = "1"
|
|
fancy-regex = "0.20"
|
|
regex = "1"
|
|
roxmltree = "0.21"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
dirs = "6"
|
|
unicode-width = "0.2"
|
|
encoding_rs = "0.8"
|
|
resvg = { version = "0.45", default-features = false }
|
|
rfd = { version = "0.17", default-features = false, features = ["xdg-portal", "pollster"] }
|
|
walkdir = "2"
|
|
miniz_oxide = "0.8"
|
|
alacritty_terminal = "0.26"
|
|
fontdue = "0.9"
|
|
winit = { version = "0.30", default-features = false, features = ["wayland-csd-adwaita"] }
|
|
|
|
[build-dependencies]
|
|
miniz_oxide = "0.8"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 4
|
|
strip = true
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
|
|
[dev-dependencies]
|
|
egui_kittest = { version = "0.37", features = ["wgpu", "eframe"] }
|