aboutsummaryrefslogtreecommitdiff
path: root/examples/03.urandom/Cargo.toml
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-12 16:41:56 +0300
committerpravic <[email protected]>2016-04-12 16:41:56 +0300
commit56c8fa0af0c451febf43a94a6993f81ad364f9c8 (patch)
tree2cfc94f7606079e2f507bed6740b841fe4990c07 /examples/03.urandom/Cargo.toml
parentWindows Kernel-Mode library (diff)
downloadwinapi-kmd-rs-56c8fa0af0c451febf43a94a6993f81ad364f9c8.tar.xz
winapi-kmd-rs-56c8fa0af0c451febf43a94a6993f81ad364f9c8.zip
add driver examples
Diffstat (limited to 'examples/03.urandom/Cargo.toml')
-rw-r--r--examples/03.urandom/Cargo.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/03.urandom/Cargo.toml b/examples/03.urandom/Cargo.toml
new file mode 100644
index 0000000..a6628d1
--- /dev/null
+++ b/examples/03.urandom/Cargo.toml
@@ -0,0 +1,31 @@
+[package]
+name = "rust.drv.examples.urandom"
+description = "Windows kerneld driver sample which creates `\\\\.\\urandom` device."
+version = "0.1.0"
+authors = ["pravic <[email protected]>"]
+readme = "../README.md"
+
+build = "build.rs"
+links = "ntoskrnl"
+
+[lib]
+path = "driver.rs"
+name = "urandom"
+crate-type = ["dylib"]
+
+test = false
+bench = false
+
+[profile.release]
+opt-level = 3
+debug = true
+rpath = false
+lto = true
+debug-assertions = false
+
+[dependencies]
+winapi-km = { path = "../../../km", version="*" }
+core = { path = "../../../libcore", version = "*" }
+collections = { path = "../../../libcollections" }
+alloc = { path = "../../../liballoc" }
+alloc_system= { path = "../../src/alloc"}