2026-07-11 01:27:17 +03:00
|
|
|
[package]
|
|
|
|
|
name = "dwg-thumbnailer-win"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
description = "Windows Explorer thumbnail handler (IThumbnailProvider) for DWG files"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
|
|
# A COM in-proc server DLL. Off Windows this compiles to an empty cdylib so the
|
|
|
|
|
# workspace still builds on Linux/macOS; the real handler is cfg(windows) only.
|
|
|
|
|
[lib]
|
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
dwg_thumbnailer = { package = "dwg-thumbnailer", path = "../dwg-thumbnailer" }
|
|
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2026-07-11 02:11:22 +03:00
|
|
|
# `#[implement]` expands to `windows_core::` paths, so the core crate must be
|
|
|
|
|
# nameable in the crate root (kept in lockstep with the `windows` version).
|
|
|
|
|
windows-core = "0.58"
|
2026-07-11 01:27:17 +03:00
|
|
|
windows = { version = "0.58", features = [
|
|
|
|
|
"implement",
|
|
|
|
|
"Win32_Foundation",
|
2026-07-11 02:11:22 +03:00
|
|
|
"Win32_Security",
|
2026-07-11 01:27:17 +03:00
|
|
|
"Win32_System_Com",
|
|
|
|
|
"Win32_System_Com_StructuredStorage",
|
2026-07-11 02:11:22 +03:00
|
|
|
"Win32_System_LibraryLoader",
|
2026-07-11 01:27:17 +03:00
|
|
|
"Win32_System_Registry",
|
2026-07-11 02:11:22 +03:00
|
|
|
"Win32_System_SystemServices",
|
2026-07-11 01:27:17 +03:00
|
|
|
"Win32_UI_Shell",
|
|
|
|
|
"Win32_UI_Shell_PropertiesSystem",
|
|
|
|
|
"Win32_Graphics_Gdi",
|
|
|
|
|
] }
|