2023-09-07 14:08:17 +00:00
|
|
|
[package]
|
|
|
|
name = "sd-images"
|
2024-06-10 19:44:00 +00:00
|
|
|
version = "0.1.0"
|
2023-09-07 14:08:17 +00:00
|
|
|
authors = [
|
2023-10-11 00:47:36 +00:00
|
|
|
"Jake Robinson <jake@spacedrive.com>",
|
|
|
|
"Vítor Vasconcellos <vitor@spacedrive.com>",
|
2023-09-07 14:08:17 +00:00
|
|
|
]
|
|
|
|
license = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
heif = ["dep:libheif-rs", "dep:libheif-sys"]
|
|
|
|
|
|
|
|
[dependencies]
|
2024-06-10 19:44:00 +00:00
|
|
|
# Workspace dependencies
|
2023-12-19 09:28:57 +00:00
|
|
|
image = { workspace = true }
|
|
|
|
once_cell = { workspace = true }
|
2024-03-07 18:22:04 +00:00
|
|
|
rspc = { workspace = true, optional = true } # error conversion
|
2023-10-10 02:57:37 +00:00
|
|
|
specta = { workspace = true, optional = true }
|
|
|
|
serde = { workspace = true, optional = true, features = ["derive"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
thiserror = { workspace = true }
|
|
|
|
tracing = { workspace = true }
|
|
|
|
|
2024-06-10 19:44:00 +00:00
|
|
|
# Specific Images dependencies
|
|
|
|
bincode = { version = "=2.0.0-rc.3", features = [
|
2023-10-11 00:47:36 +00:00
|
|
|
"derive",
|
|
|
|
"alloc",
|
2023-10-10 02:57:37 +00:00
|
|
|
], optional = true }
|
2024-06-10 19:44:00 +00:00
|
|
|
# Disable defaults for libheif* to avoid bindgen and use pre-compiled headers
|
|
|
|
libheif-rs = { version = "1.0", default-features = false, optional = true }
|
|
|
|
libheif-sys = { version = "2.1", default-features = false, optional = true }
|
2023-11-12 22:47:10 +00:00
|
|
|
pdfium-render = { version = "0.8.15", features = [
|
|
|
|
"sync",
|
|
|
|
"image",
|
|
|
|
"thread_safe",
|
|
|
|
] }
|
2024-06-10 19:44:00 +00:00
|
|
|
resvg = "0.42.0"
|