forked from not-an-aardvark/lucky-commit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (34 loc) · 1.17 KB
/
Cargo.toml
File metadata and controls
42 lines (34 loc) · 1.17 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
[package]
name = "luckier_commit"
version = "2.1.0"
authors = ["b1f6c1c4 <b1f6c1c4@gmail.com>", "Teddy Katz <teddy.katz@gmail.com>"]
edition = "2018"
description = "Make your git commits luckier every time!"
repository = "https://github.com/b1f6c1c4/luckier-commit"
license = "MIT"
resolver = "2"
include = ["src/**/*", "Cargo.*", "LICENSE.md", "README.md"]
[lib]
name = "luckier_commit"
path = "src/lib.rs"
[features]
default = ["opencl"]
opencl = ["ocl"]
[[bin]]
name = "luckier_commit"
path = "src/bin.rs"
[[bin]]
name = "luckier_commit_filter"
path = "src/bin-filter.rs"
[dependencies]
num_cpus = "1.0"
ocl = { version = "0.19", optional = true }
# See https://github.com/RustCrypto/hashes/issues/315
[target.'cfg(target_env = "msvc")'.dependencies]
"sha-1" = { version = "0.10", "default-features" = false, features = ["compress"] }
"sha2" = { version = "0.10", "default-features" = false, features = ["compress"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
"sha-1" = { version = "0.10", "default-features" = false, features = ["asm", "compress"] }
"sha2" = { version = "0.10", "default-features" = false, features = ["asm", "compress"] }
[profile.release]
lto = true