# 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 = "ljmrs" version = "0.2.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "LabJack LJM Bindings for Rust" readme = "README.md" license = "MIT" [lib] name = "ljmrs" path = "src/lib.rs" [[example]] name = "config" path = "examples/config.rs" [[example]] name = "direct" path = "examples/direct.rs" [[example]] name = "info" path = "examples/info.rs" [[example]] name = "library" path = "examples/library.rs" [[example]] name = "load" path = "examples/load.rs" [[example]] name = "lua" path = "examples/lua.rs" required-features = ["lua"] [[example]] name = "read" path = "examples/read.rs" [[example]] name = "stream" path = "examples/stream.rs" [[example]] name = "write" path = "examples/write.rs" [[test]] name = "mem" path = "tests/mem.rs" [[test]] name = "std" path = "tests/std.rs" [dependencies.libloading] version = "0.8" optional = true [dependencies.tokio] version = "1.32.0" features = [ "time", "rt-multi-thread", "macros", ] optional = true [build-dependencies.bindgen] version = "0.69.4" [features] default = [ "stream", "staticlink", ] dynlink = ["libloading"] lua = [] staticlink = [] stream = [] tokio = ["dep:tokio"]