-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (28 loc) · 710 Bytes
/
Copy pathCargo.toml
File metadata and controls
34 lines (28 loc) · 710 Bytes
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
[package]
name = "khash"
description = "Kana hashes"
version = "2.0.4"
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
license = "GPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["rlib", "cdylib", "staticlib"]
[features]
default = ["ffi", "crc"]
ffi = ["libc", "malloc-array"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "unwind"
strip=false
[dependencies]
sha2 = "0.9"
malloc-array = {version = "1.4", optional=true}
libc = {version = "0.2", optional=true}
crc = {version = "1.8", optional=true}
hex-literal = "0.3"
getrandom = "0.1"
[build-dependencies]
rustc_version = "0.2"