# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63.0" name = "nc" version = "0.9.5" authors = ["Xu Shaohua "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Access system calls directly" homepage = "https://github.com/xushaohua/nc" documentation = "https://docs.rs/nc" readme = "README.md" keywords = [ "syscall", "linux", ] categories = [ "os", "no-std", "external-ffi-bindings", ] license = "Apache-2.0" repository = "https://github.com/xushaohua/nc" [lib] name = "nc" path = "src/lib.rs" [[example]] name = "alarm" path = "examples/alarm.rs" [[example]] name = "attr" path = "examples/attr.rs" [[example]] name = "bind_device" path = "examples/bind_device.rs" [[example]] name = "dir" path = "examples/dir.rs" [[example]] name = "exec" path = "examples/exec.rs" [[example]] name = "file" path = "examples/file.rs" [[example]] name = "fork" path = "examples/fork.rs" [[example]] name = "futex_wait_wake" path = "examples/futex_wait_wake.rs" [[example]] name = "getcwd" path = "examples/getcwd.rs" [[example]] name = "getgroups" path = "examples/getgroups.rs" [[example]] name = "getpriority" path = "examples/getpriority.rs" [[example]] name = "gettimeofday" path = "examples/gettimeofday.rs" [[example]] name = "meminfo" path = "examples/meminfo.rs" [[example]] name = "mmap" path = "examples/mmap.rs" [[example]] name = "mount" path = "examples/mount.rs" [[example]] name = "mprotect" path = "examples/mprotect.rs" [[example]] name = "mq" path = "examples/mq.rs" [[example]] name = "nproc" path = "examples/nproc.rs" [[example]] name = "open" path = "examples/open.rs" [[example]] name = "page_size" path = "examples/page_size.rs" [[example]] name = "prctl" path = "examples/prctl.rs" [[example]] name = "pty" path = "examples/pty.rs" [[example]] name = "read" path = "examples/read.rs" [[example]] name = "resource_limit" path = "examples/resource_limit.rs" [[example]] name = "sethostname" path = "examples/sethostname.rs" [[example]] name = "sigaction" path = "examples/sigaction.rs" [[example]] name = "sizeof_termios" path = "examples/sizeof_termios.rs" [[example]] name = "socket" path = "examples/socket.rs" [[example]] name = "stat" path = "examples/stat.rs" [[example]] name = "strerror" path = "examples/strerror.rs" [[example]] name = "tcp_fast_open" path = "examples/tcp_fast_open.rs" [[example]] name = "tee" path = "examples/tee.rs" [[example]] name = "timer" path = "examples/timer.rs" [[example]] name = "unlink" path = "examples/unlink.rs" [[example]] name = "write" path = "examples/write.rs" [build-dependencies.cc] version = "1.1.30" [features] default = ["std"] std = []