# 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" name = "nstd-sys" version = "0.13.0" description = "Cross platform general purpose C library written in Rust." homepage = "https://github.com/RustEnthusiast/nstd" readme = "README.md" keywords = [ "api", "ffi", "no_std", "no-std", ] categories = [ "no-std", "no-std::no-alloc", ] license = "MIT" repository = "https://github.com/RustEnthusiast/nstd" [package.metadata.capi.header] generation = false [[package.metadata.capi.install.include.asset]] from = "include/**/*" to = "" [package.metadata.capi.library] name = "nstd" [package.metadata.capi.pkg_config] filename = "nstd" name = "libnstd" [package.metadata.docs.rs] features = ["nstd"] rustdoc-args = [ "--cfg", "doc_cfg", ] [profile.dev] panic = "abort" [profile.release] lto = true panic = "abort" overflow-checks = true strip = true [dependencies.cfg-if] version = "1.0" [dependencies.libc] version = "0.2" optional = true default-features = false [dependencies.nstdapi] version = "0.2" [build-dependencies.cc] version = "1.0" optional = true [features] alloc = [ "core", "libc", "os_windows_alloc", ] capi = ["nstdapi/capi"] core = [] cstring = [ "core", "vec", ] default = [ "core", "std", ] env = [ "alloc", "core", "io", "std", "string", "vec", ] fs = [ "alloc", "core", "io", "os_unix_io", "std", "string", "time", "vec", ] heap_ptr = ["core"] io = [ "alloc", "core", "os_unix_io", "std", "string", "vec", ] link = [ "capi", "nstdapi/link", ] math = ["std"] mutex = [ "alloc", "core", "heap_ptr", "std", ] nstd = [ "alloc", "core", "cstring", "env", "fs", "heap_ptr", "io", "math", "mutex", "os", "os_unix_alloc", "os_unix_io", "os_unix_mutex", "os_unix_shared_lib", "os_unix_time", "os_windows_alloc", "os_windows_shared_lib", "os_windows_str", "proc", "shared_lib", "shared_ptr", "string", "thread", "time", "timed_mutex", "vec", ] os = ["windows-sys"] os_unix_alloc = [ "core", "libc", "os", ] os_unix_io = [ "core", "errno", "libc", "os", "string", "vec", ] os_unix_mutex = [ "core", "heap_ptr", "libc", "os", "os_unix_time", "thread", ] os_unix_shared_lib = [ "core", "libc", "os", ] os_unix_time = [ "core", "libc", "os", ] os_windows_alloc = [ "core", "libc", "os", "windows-sys/Win32_System_Memory", ] os_windows_shared_lib = [ "core", "os", "windows-sys/Win32_System_LibraryLoader", ] os_windows_str = [ "alloc", "core", "os", "vec", "windows-sys/Win32_Globalization", ] proc = [ "alloc", "core", "io", "std", ] shared_lib = [ "alloc", "core", "cstring", "libc", "os_windows_shared_lib", "os_windows_str", "vec", ] shared_ptr = ["core"] std = [] string = [ "core", "vec", ] thread = [ "alloc", "core", "heap_ptr", "io", "std", ] time = [ "core", "os_unix_time", "std", ] timed_mutex = [ "capi", "cc", "core", "heap_ptr", "os_unix_mutex", "thread", ] vec = [ "alloc", "core", ] [target."cfg(unix)".dependencies.errno] version = "0.3" optional = true default-features = false [target."cfg(windows)".dependencies.windows-sys] version = "0.48" features = ["Win32_Foundation"] optional = true