# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "pinar" version = "0.1.0" authors = ["Sebastien Chapuis "] description = "Library to write node native modules with N-API" homepage = "https://pinar.rs" license = "MIT" repository = "https://github.com/sebastiencs/pinar" [profile.dev] panic = "unwind" [profile.release] panic = "unwind" [lib] crate-type = ["cdylib"] [dependencies.failure] version = "0.1.3" [dependencies.napi-sys] version = "0.1" package = "pinar-napi-sys" [dependencies.pinar-derive] version = "0.1" optional = true [dependencies.serde] version = "1.*" optional = true [dependencies.serde_derive] version = "1.*" optional = true [features] default = ["pinar-serde"] pinar-serde = ["serde", "serde_derive", "pinar-derive"]