# 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.77" name = "generator" version = "0.8.3" authors = ["Xudong Huang "] build = "build.rs" exclude = [ ".gitignore", ".travis.yml", "appveyor.yml", "benches/**/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Stackfull Generator Library in Rust" homepage = "https://github.com/Xudong-Huang/generator-rs.git" documentation = "https://docs.rs/generator" readme = "README.md" keywords = [ "generator", "coroutine", "green", "thread", "fiber", ] categories = [ "data-structures", "algorithms", ] license = "MIT/Apache-2.0" repository = "https://github.com/Xudong-Huang/generator-rs.git" [profile.release] lto = true [lib] name = "generator" path = "src/lib.rs" [[example]] name = "cd" path = "examples/cd.rs" [[example]] name = "fib" path = "examples/fib.rs" [[example]] name = "get_yield" path = "examples/get_yield.rs" [[example]] name = "lifetime" path = "examples/lifetime.rs" [[example]] name = "number" path = "examples/number.rs" [[example]] name = "pipe" path = "examples/pipe.rs" [[example]] name = "range" path = "examples/range.rs" [[example]] name = "send" path = "examples/send.rs" [[example]] name = "yield_from" path = "examples/yield_from.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.log] version = "0.4" [build-dependencies.rustversion] version = "1.0" [target."cfg(unix)".dependencies.libc] version = "0.2.100" [target."cfg(windows)".dependencies.windows] version = "0.58" features = [ "Win32_System_Memory", "Win32_System_Kernel", "Win32_Foundation", "Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug", ]