forked from indygreg/rs-memory-module-sys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (27 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
[package]
name = "memory-module-sys"
version = "0.3.0"
authors = ["Gregory Szorc <[email protected]>"]
edition = "2018"
description = "Bindings to the MemoryModule library for loading libraries from memory on Windows"
readme = "README.md"
license = "MPL-2.0"
homepage = "https://github.com/indygreg/rs-memory-module-sys"
repository = "https://github.com/indygreg/rs-memory-module-sys.git"
keywords = ["windows"]
build = "build.rs"
[dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
winapi = {version = "0.3", features = ["minwindef"] }
[build-dependencies]
cc = "1.0"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
# Docs.rs does not have a C cross compiler for windows. This cfg is set so that
# build.rs can know that it is in a docs.rs build and skip C compilation.
#
# https://github.com/rust-lang/docs.rs/issues/147#issuecomment-389544407
rustc-args = ["--cfg", "memory_module_sys_docs_rs"]
rustdoc-args = ["--cfg", "memory_module_sys_docs_rs"]