# 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 = "neon" version = "1.1.0-alpha.1" authors = ["Dave Herman "] build = false exclude = [ "neon.jpg", "doc/**/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A safe abstraction layer for Node.js." homepage = "https://www.neon-bindings.com" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/neon-bindings/neon" [package.metadata.docs.rs] features = [ "external-buffers", "futures", "napi-experimental", "doc-dependencies", "sys", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "neon" path = "src/lib.rs" [dependencies.aquamarine] version = "0.3.2" optional = true [dependencies.doc-comment] version = "0.3.3" optional = true [dependencies.easy-cast] version = "0.5.2" optional = true [dependencies.either] version = "1.13.0" [dependencies.getrandom] version = "0.2.11" optional = true [dependencies.libloading] version = "0.8.1" [dependencies.linkme] version = "0.3.25" [dependencies.neon-macros] version = "=1.1.0-alpha.1" [dependencies.once_cell] version = "1.18.0" [dependencies.semver] version = "1.0.20" [dependencies.send_wrapper] version = "0.6.0" [dependencies.serde] version = "1.0.197" optional = true [dependencies.serde_json] version = "1.0.114" optional = true [dependencies.smallvec] version = "1.11.2" [dependencies.tokio] version = "1.34.0" features = ["sync"] optional = true default-features = false [dev-dependencies.anyhow] version = "1.0.75" [dev-dependencies.easy-cast] version = "0.5.2" [dev-dependencies.itertools] version = "0.10.5" [dev-dependencies.linkify] version = "0.10.0" [dev-dependencies.psd] version = "0.3.4" [dev-dependencies.semver] version = "1.0.20" [dev-dependencies.widestring] version = "1.0.2" [features] default = ["napi-8"] doc-dependencies = [ "doc-comment", "aquamarine", "easy-cast", ] external-buffers = [] futures = ["dep:tokio"] napi-1 = [] napi-2 = ["napi-1"] napi-3 = ["napi-2"] napi-4 = ["napi-3"] napi-5 = ["napi-4"] napi-6 = ["napi-5"] napi-7 = ["napi-6"] napi-8 = [ "napi-7", "getrandom", ] napi-experimental = ["napi-8"] napi-latest = ["napi-8"] napi-runtime = ["napi-8"] serde = [ "dep:serde", "dep:serde_json", ] sys = [] tokio = ["tokio-rt-multi-thread"] tokio-rt = [ "futures", "tokio/rt", ] tokio-rt-multi-thread = [ "tokio-rt", "tokio/rt-multi-thread", ] [target.'cfg(not(target = "windows"))'.dev-dependencies.nodejs-sys] version = "0.15.0"