-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (43 loc) · 1.4 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "file_icon_provider"
version = "0.3.1"
edition = "2021"
authors = ["Iohann Rabeson"]
description = "Cross-platform Rust library to retrieve file icons on Windows, MacOS and Linux."
repository = "https://github.com/IohannRabeson/file_icon_provider"
documentation = "https://docs.rs/file_icon_provider"
readme = "README.md"
license = "MIT"
categories = ["filesystem", "graphics", "gui", "multimedia::images", "os"]
rust-version = "1.71.1"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5.2"
objc2-foundation = { version = "0.2.2", features = ["NSString"] }
objc2-app-kit = { version = "0.2.2", features = [
"NSBitmapImageRep",
"NSImageRep",
"NSWorkspace",
"NSImage",
"NSGraphics",
"NSGraphicsContext"
] }
[target.'cfg(target_os = "windows")'.dependencies]
scopeguard = "1.2.0"
windows = { version = "0.58.0", features = [
"Win32",
"Win32_UI",
"Win32_UI_Shell",
"Win32_System_Com",
"Win32_Graphics",
"Win32_Graphics_Imaging",
"Win32_Graphics_Gdi",
] }
[target.'cfg(target_os = "linux")'.dependencies]
gio = "0.20.6"
gtk = "0.18.1"
[dev-dependencies]
clap = { version = "4.5.21", default-features = false, features = ["std", "derive"] }
iced = { version = "0.13.1", features = ["image"] }
image = { version = "0.25.5", default-features = false, features = ["png"] }
# Using repository until 0.15.2 is released
rfd = { git = "https://github.com/PolyMeilex/rfd" }