Update SvgImg load logic and try to drop image to fix VRAM leak issue. --------- Co-authored-by: Jason Lee <huacnlee@gmail.com>
51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
[package]
|
|
description = "UI components for building fantastic desktop application by using GPUI."
|
|
edition = "2021"
|
|
homepage = "https://github.com/longbridge/gpui-component"
|
|
keywords = ["GPUI", "application", "desktop", "ui"]
|
|
license-file = "LICENSE-APACHE"
|
|
name = "gpui-component"
|
|
publish = true
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[features]
|
|
webview = ["dep:wry"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
gpui.workspace = true
|
|
image = "0.25.1"
|
|
itertools = "0.13.0"
|
|
once_cell = "1.19.0"
|
|
paste = "1"
|
|
regex = "1"
|
|
resvg = { version = "0.45.0", default-features = false, features = ["text"] }
|
|
rust-i18n = "3"
|
|
serde = "1.0.203"
|
|
serde_json = "1"
|
|
smallvec = "1.13.2"
|
|
smol = "1"
|
|
unicode-segmentation = "1.12.0"
|
|
usvg = { version = "0.45.0", default-features = false, features = ["text"] }
|
|
uuid = "1.10"
|
|
wry = { version = "0.48.0", optional = true }
|
|
# Markdown Parser
|
|
markdown = "1.0.0-alpha.22"
|
|
# HTML Parser
|
|
html5ever = "0.27"
|
|
markup5ever_rcdom = "0.3.0"
|
|
minify-html = "0.15.0"
|
|
# Calendar
|
|
chrono = "0.4.38"
|
|
syntect = { version = "5.2", features = ["plist-load"] }
|
|
schemars = "0.8.22"
|
|
futures-util = "0.3.31"
|
|
|
|
[dev-dependencies]
|
|
indoc = "2"
|
|
|
|
[lints]
|
|
workspace = true
|