-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (38 loc) · 1.25 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
[package]
name = "bro"
version = "0.1.0"
edition = "2021"
description = "bro: Redirects open URLs to a browser of your choice."
homepage = "https://github.com/xdqi/bro/"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.winres]
OriginalFilename = "bro.exe"
ProductName = "bro"
FileDescription = "bro: Redirects open URLs to a browser of your choice."
LegalCopyright = "Copyright © 2023 xdqi"
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization (LTO)
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser", "processthreadsapi", "wow64apiset"] }
winreg = "0.10"
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
handlr-regex = "0.8"
mime = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
block = "0.1"
cocoa-foundation = "0.1"
fruitbasket = "0.10"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = { version = "1.0", features = ["backtrace"] }
wildmatch = "2.1"
regex = "1.7.0"
log = "0.4"
env_logger = "0.10"