-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
121 lines (103 loc) · 3.52 KB
/
Copy pathCargo.toml
File metadata and controls
121 lines (103 loc) · 3.52 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[package]
name= "rusticon"
version = "0.3.0"
edition = "2024"
default-run= "rusticon"
description = "Rusticon is a mouse driven SVG favicon editor for your terminal (as well as the web, native macos and native windows)."
license = "CC-BY-NC-ND-4.0"
authors = ["Yaron (Ron) Ilan"]
homepage = "https://github.com/ronilan/rusticon"
repository = "https://github.com/ronilan/rusticon"
readme = "README.md"
keywords = ["favicon", "icon", "svg", "terminal", "image"]
categories = ["command-line-utilities", "graphics", "web-programming"]
exclude = ["examples", "media"]
[package.metadata.html]
title= "Rusticon :: An Icon Editor for the Terminal (and elsewhere too)"
description= "Rusticon is a mouse driven SVG favicon editor for your terminal (as well as the web, native macos and native windows)."
keywords= "favicon, icon, svg, terminal, image"
mobile-min-width = 80
mobile-min-height = 24
[package.metadata.bundle]
app_name= "Rusticon"
binary_name= "rusticon_macos"
icon_source = "web/favicon.svg"
[workspace]
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "rusticon"
path = "src/main.rs"
[[bin]]
name = "rusticon_macos"
path = "src/macos.rs"
[[bin]]
name = "rusticon_windows"
path = "src/windows.rs"
[[bin]]
name = "config"
path = "tools/config/main.rs"
[[bin]]
name = "run"
path = "tools/run/main.rs"
[[bin]]
name = "package"
path = "tools/package/main.rs"
[features]
default = []
macos-native = [
"incredible_elements/macos-native",
"incredible_elements_extra/macos-native",
"incredible_window_macos",
]
windows-native = [
"incredible_elements/windows-native",
"incredible_elements_extra/windows-native",
"incredible_window_windows",
]
[dependencies]
image = "0.25.6"
incredible = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_elements = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_elements_extra = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_elements_text_fonts = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_helpers_effects = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_helpers_layout = { git = "https://github.com/ronilan/incredible-alpha" }
incredible_helpers_styling = { git = "https://github.com/ronilan/incredible-alpha" }
serde_json = "1"
resvg = "0.43"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
console_error_panic_hook = "0.1"
web-sys = { version = "0.3", features = [
"Window",
"Document",
"HtmlElement",
"HtmlAnchorElement",
"Location",
"Url",
"UrlSearchParams",
"Blob",
"DragEvent",
"DataTransfer",
"DataTransferItem",
"DataTransferItemList",
"FileList",
"File",
"FileSystemFileHandle",
"FileSystemWritableFileStream",
] }
[target.'cfg(target_os = "macos")'.dependencies]
incredible_window_macos = { git = "https://github.com/ronilan/incredible-alpha", optional = true }
objc2 = { version = "0.6.4", features = ["std"] }
objc2-foundation = { version = "0.3.2", features = ["NSArray", "NSString", "NSURL", "NSPathUtilities"] }
objc2-app-kit = { version = "0.3.2", features = ["NSApplication", "NSWindow", "NSView", "NSSavePanel", "NSDragging", "NSPasteboard"] }
[target.'cfg(target_os = "windows")'.dependencies]
incredible_window_windows = { git = "https://github.com/ronilan/incredible-alpha", optional = true }
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_LibraryLoader", "Win32_Storage_FileSystem"] }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1