# 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" rust-version = "1.62.0" name = "ubench" version = "0.0.0-alpha0" exclude = [ "flake.*", ".envrc", ] description = "stopgap rust benchmarking solution for microcontrollers" readme = "README.md" license = "MIT" repository = "https://github.com/rrbutani/ubench/" resolver = "2" [package.metadata.docs.rs] targets = [""] rustdoc-args = [ "--cfg", "docs", ] all-features = true default-target = "" [dependencies.cortex-m] version = "0.7" optional = true [dependencies.embedded-hal] version = "0.2" optional = true [dependencies.embedded-time] version = "0.12" optional = true [dependencies.nb] version = "1" optional = true [dependencies.owo-colors] version = "3.4" [dependencies.riscv] version = "0.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.unicode-width] version = "0.1" optional = true [dev-dependencies.libm] version = "0.2" [features] all = [ "std", "metrics", "reporters", ] cortex-m = ["dep:cortex-m"] default = [ "embedded-hal", "json", ] embedded-hal = [ "dep:embedded-hal", "dep:nb", ] embedded-time = ["dep:embedded-time"] json = ["dep:serde"] metrics = [ "cortex-m", "riscv", "embedded-time", ] reporters = [ "embedded-hal", "json", ] riscv = ["dep:riscv"] std = [ "serde?/std", "owo-colors/supports-colors", "unicode-width", ] unicode-width = ["dep:unicode-width"]