mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-01 23:51:46 -04:00
b783692ccc
- Optimize for speed instead of size - Actually set contained_term in renderer to prevent unnecessary rerenders - Add comments about usage of personal ratatui branches
27 lines
1.4 KiB
TOML
27 lines
1.4 KiB
TOML
[package]
|
|
name = "tdf"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
poppler-rs = { version = "0.23.0", features = ["v21_5"] }
|
|
cairo-rs = { version = "0.19.4", features = ["png"] }
|
|
# we're using this branch because it has significant performance fixes that I'm waiting on responses from the upstream devs to get upstreamed. See https://github.com/ratatui-org/ratatui/issues/1116
|
|
ratatui = { git = "https://github.com/itsjunetime/ratatui.git" }
|
|
# ratatui = { path = "./ratatui" }
|
|
# We're using this to have the vb64 feature (for faster base64 encoding, since that does take up a good bit of time when converting images to the Box<dyn ratatui_image::Protocol>. It also just includes a few more features that I'm waiting on main to upstream
|
|
ratatui-image = { git = "https://github.com/itsjunetime/ratatui-image.git", branch = "vb64_on_personal", features = ["rustix", "vb64"], default-features = false }
|
|
# ratatui-image = { path = "./ratatui-image", features = ["rustix", "vb64"], default-features = false }
|
|
crossterm = { version = "0.27.0", features = ["event-stream"] }
|
|
image = { version = "0.25.1", features = ["png", "rayon"], default-features = false }
|
|
notify = "6.1.1"
|
|
tokio = { version = "1.37.0", features = ["rt", "sync", "macros"] }
|
|
futures-util = { version = "0.3.30", default-features = false }
|
|
glib = "0.19.6"
|
|
itertools = "*"
|
|
oxipng = { version = "9.1.1", default-features = false, features = ["parallel"] }
|
|
|
|
[profile.production]
|
|
inherits = "release"
|
|
lto = "fat"
|