forked from robo9k/rust-magic-sys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
71 lines (63 loc) · 1.28 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "magic-sys"
description = "Declarations for the `libmagic` C library"
keywords = [
"magic",
"file",
"ffi",
"bindings",
]
categories = [
"external-ffi-bindings",
"no-std",
]
repository = "https://github.com/robo9k/rust-magic-sys.git"
license = "MIT/Apache-2.0"
version = "0.3.0"
authors = ["robo9k <robo9k@symlink.io>"]
links = "magic"
exclude = [
".gitignore",
".gitattributes",
"/.github/",
"/.vscode/",
"rust-toolchain.toml",
"shell.nix",
"nix/",
"deny.toml",
]
rust-version = "1.38"
[badges]
maintenance = { status = "passively-maintained" }
[features]
default = ["v5-38"]
v5-04 = []
v5-05 = ["v5-04"]
v5-10 = ["v5-05"]
v5-13 = ["v5-10"]
v5-20 = ["v5-13"]
v5-21 = ["v5-20"]
v5-22 = ["v5-21"]
v5-23 = ["v5-22"]
v5-25 = ["v5-23"]
v5-27 = ["v5-25"]
v5-32 = ["v5-27"]
v5-35 = ["v5-32"]
v5-38 = ["v5-35"]
v5-40 = ["v5-38"]
[build-dependencies]
vcpkg = "0.2.15"
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
rev = "078f3e5"
dependencies = ["libmagic"]
[dependencies.libc]
version = "0.2.104"
default-features = false
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }
[package.metadata]
msrv = "1.38.0"
[package.metadata.docs.rs]
all-features = true
targets = []