# 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 = "supmcu-rs" version = "0.5.0" description = "Library for easily interfacing with Pumpkin SupMCU Modules over I2C" license = "MIT" [profile.dev] panic = "unwind" strip = true [profile.production] lto = true inherits = "release" [profile.release] strip = true [[bin]] name = "pumqry" required-features = ["pumqry"] [dependencies.anyhow] version = "1.0.71" [dependencies.async-graphql] version = "5.0.8" [dependencies.async-scoped] version = "0.7" features = ["use-tokio"] [dependencies.byteorder] version = "1.4" [dependencies.clap] version = "3.2" features = ["derive"] optional = true [dependencies.crc] version = "3.0" [dependencies.flexi_logger] version = "0.28.0" [dependencies.futures] version = "0.3" [dependencies.i2cdev] version = "0.5.1" [dependencies.itertools] version = "0.10" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.8.4" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "^1.0" [dependencies.tokio] version = "1.19" features = [ "rt", "time", ] [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [features] checksum = [] cli = ["pumqry"] default = ["cli"] pumqry = ["dep:clap"]