# 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 = "pinned-init" version = "0.0.9" authors = ["y86-dev"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library to facilitate safe pinned initialization" documentation = "https://docs.rs/pinned-init" readme = "README.md" keywords = [ "safe", "pin", "init", "no-std", "rust-patterns", ] categories = [ "no-std", "rust-patterns", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Rust-for-Linux/pinned-init" [lib] name = "pinned_init" path = "src/lib.rs" [[example]] name = "big_struct_in_place" path = "examples/big_struct_in_place.rs" [[example]] name = "error" path = "examples/error.rs" [[example]] name = "linked_list" path = "examples/linked_list.rs" [[example]] name = "mutex" path = "examples/mutex.rs" [[example]] name = "pthread_mutex" path = "examples/pthread_mutex.rs" [[example]] name = "static_init" path = "examples/static_init.rs" [[test]] name = "alloc_fail" path = "tests/alloc_fail.rs" [[test]] name = "const-generic-default" path = "tests/const-generic-default.rs" [[test]] name = "many_generics" path = "tests/many_generics.rs" [[test]] name = "ring_buf" path = "tests/ring_buf.rs" [[test]] name = "ui" path = "tests/ui.rs" [[test]] name = "zeroing" path = "tests/zeroing.rs" [dependencies.paste] version = "1.0" [dependencies.pinned-init-macro] version = "=0.0.5" [dev-dependencies.libc] version = "0.2" [dev-dependencies.macrotest] version = "1.0" [dev-dependencies.prettyplease] version = "0.2" features = ["verbatim"] [dev-dependencies.trybuild] version = "1.0" features = ["diff"] [features] alloc = [] default = [ "std", "alloc", ] std = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(NO_UI_TESTS)", "cfg(NO_ALLOC_FAIL_TESTS)", ]