# 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 = "2018" name = "nng-c" version = "1.9.0-beta.1" authors = ["Douman "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "High level bindings nng C library" documentation = "https://docs.rs/crate/nng-c" readme = "README.md" keywords = [ "nng", "nanomsg", ] categories = ["api-bindings"] license = "BSL-1.0" repository = "https://github.com/DoumanAsh/nng-c" [package.metadata.docs.rs] features = [ "http", "websocket", "tls", "tracing", "log", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "nng_c" path = "src/lib.rs" [[test]] name = "options" path = "tests/options.rs" [[test]] name = "protocol" path = "tests/protocol.rs" [[test]] name = "rt" path = "tests/rt.rs" [[test]] name = "str" path = "tests/str.rs" [[test]] name = "tls" path = "tests/tls.rs" required-features = ["tls"] [dependencies.error-code] version = "3" [dependencies.log] version = "0.4" optional = true default-features = false [dependencies.nng-c-sys] version = "=1.9.0-beta.1" [dependencies.tracing] version = "0.1" optional = true default-features = false [features] http = ["nng-c-sys/http"] tls = ["nng-c-sys/tls"] websocket = ["nng-c-sys/websocket"]