# 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 = "mem-ring" version = "0.2.0" authors = ["ihciah "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Across-thread queue based on shared memory" readme = "README.md" keywords = [ "ffi", "golang", "go", "async", ] categories = [ "development-tools::ffi", "external-ffi-bindings", ] license = "MIT/Apache-2.0" repository = "https://github.com/ihciah/rust2go" [lib] name = "mem_ring" path = "src/lib.rs" [dependencies.libc] version = "0.2" [dependencies.local-sync] version = "0.1" optional = true [dependencies.monoio] version = "0.2.3" features = ["poll-io"] optional = true [dependencies.parking_lot] version = "0.12" [dependencies.tokio] version = "1" features = [ "rt", "sync", "net", "macros", "time", ] optional = true default-features = false [features] default = [ "monoio", "tpc", ] monoio = [ "dep:monoio", "dep:local-sync", ] tokio = ["dep:tokio"] tpc = []