# 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 = "pbni-rs" version = "0.1.14" authors = ["gaoqiangz "] include = ["/build.rs", "/Cargo.toml", "/LICENSE", "/README.md", "/cpp/**", "/src/**", "/examples/**"] description = "PBNI for Rust" documentation = "https://docs.rs/pbni-rs" keywords = ["pb", "powerbuilder", "pbni", "ffi"] categories = ["api-bindings"] license = "BSD-2-Clause" repository = "https://github.com/gaoqiangz/pbni-rs" [package.metadata.docs.rs] all-features = true targets = ["i686-pc-windows-msvc"] [lib] name = "pbni" crate-type = ["rlib", "cdylib"] [[example]] name = "vm" required-features = ["vm"] [dependencies.chrono] version = "0.4.19" optional = true [dependencies.const-utf16] version = "0.2.1" [dependencies.libc] version = "0.2.80" [dependencies.libloading] version = "0.7.0" optional = true [dependencies.pbni-codegen] version = "0.1.0" optional = true [dependencies.rust_decimal] version = "1.10.3" optional = true [dependencies.static_init] version = "1.0.1" optional = true [dependencies.widestring] version = "0.4.3" [dependencies.winapi] version = "0.3.9" features = ["windef"] optional = true [build-dependencies.cc] version = "1.0.62" [features] datetime = ["chrono"] decimal = ["rust_decimal"] default = ["full"] full = ["global_function", "nonvisualobject", "visualobject", "datetime", "decimal"] global_function = ["static_init", "pbni-codegen/global_function"] nonvisualobject = ["static_init", "pbni-codegen/nonvisualobject"] visualobject = ["static_init", "winapi", "pbni-codegen/visualobject"] vm = ["libloading"]