forked from robo9k/rust-magic
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
51 lines (43 loc) · 1.01 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
48
49
50
51
[package]
name = "filemagic"
description = "libmagic bindings"
readme = "README.md"
license = "MIT"
keywords = ["magic", "binding", "file", "filemagic", "libmagic"]
categories = ["api-bindings"]
repository = "https://github.com/marirs/filemagic-rs"
homepage = "https://github.com/marirs/filemagic-rs"
authors = [
"MARIRS <marirs@gmail.com>",
"robo9k <robo@9k.lv>",
]
version = "0.13.1"
exclude = [
".gitignore",
".travis.yml",
]
edition = "2021"
[badges]
travis-ci = { repository = "marirs/filemagic-rs" }
[lib]
name = "filemagic"
[dependencies]
bitflags = "2"
libc = { version = "0.2", default-features = false }
[dev-dependencies]
regex = "1.4.2"
[features]
default = ["pkg-config", "vcpkg"]
v5-45 = []
vendored = ["cc", "v5-45"]
[build-dependencies]
pkg-config = { version = "0.3.27", optional = true }
vcpkg = { version = "0.2.15", optional = true }
cc = { version = "1.1.28", optional = true }
[profile.dev]
opt-level = 3
[profile.release]
debug-assertions = false
debug = false
opt-level = 3
lto = true