mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-07 04:23:29 +00:00
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "sd-images"
|
|
version = "0.0.0"
|
|
authors = [
|
|
"Jake Robinson <jake@spacedrive.com>",
|
|
"Vítor Vasconcellos <vitor@spacedrive.com>",
|
|
]
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
heif = ["dep:libheif-rs", "dep:libheif-sys"]
|
|
|
|
[dependencies]
|
|
image = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rspc = { workspace = true, optional = true } # error conversion
|
|
specta = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
bincode = { version = "2.0.0-rc.3", features = [
|
|
"derive",
|
|
"alloc",
|
|
], optional = true }
|
|
resvg = "0.40.0"
|
|
|
|
# both of these added *default* bindgen features in 0.22.0 and 2.0.0 respectively
|
|
# this broke builds as we build our own liibheif, so i disabled their default features
|
|
libheif-rs = { version = "0.22.0", default-features = false, optional = true }
|
|
libheif-sys = { version = "2.0.0", default-features = false, optional = true }
|
|
pdfium-render = { version = "0.8.15", features = [
|
|
"sync",
|
|
"image",
|
|
"thread_safe",
|
|
] }
|