# 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 = "owon-spe" version = "0.1.0" authors = ["Sjoerd Simons "] description = "OWON SPE programmable power-suppy api crate" homepage = "https://github.com/sjoerdsimons/owon-spe" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/sjoerdsimons/owon-spe" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "specli" required-features = ["serialport"] [[example]] name = "spe-async" required-features = ["async"] [dependencies.futures] version = "0.3.25" optional = true [dependencies.log] version = "0.4.17" [dependencies.serialport] version = "4.2.0" optional = true [dependencies.thiserror] version = "1.0.38" [dev-dependencies.anyhow] version = "1.0.68" [dev-dependencies.async-compat] version = "0.2.1" [dev-dependencies.clap] version = "4.0.32" features = ["derive"] [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.tokio] version = "1.24.1" features = ["full"] [dev-dependencies.tokio-serial] version = "5.4.4" [features] async = ["dep:futures"] serialport = ["dep:serialport"]