# 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 = "jrk-g2" version = "2.3.0" authors = ["Guilhem Saurel "] exclude = [ "arduino", "memory.x", ] description = "A rust embedded driver for pololu Jrk G2" documentation = "https://docs.rs/jrk-g2-rs" readme = "README.md" categories = [ "embedded", "hardware-support", "no-std", "science::robotics", ] license = "BSD-2-Clause" repository = "https://github.com/nim65s/jrk-g2-rs" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" min = 1 replace = "{{version}}" search = "Unreleased" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = "...{{tag_name}}" search = '\.\.\.HEAD' [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" min = 1 replace = " - {{date}}" search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ ## [Unreleased] """ search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ [Unreleased]: https://github.com/nim65s/jrk-g2-rs/compare/{{tag_name}}...HEAD""" search = "" [profile.release] lto = true codegen-units = 1 debug = 2 [dependencies.cortex-m] version = "0.7.7" optional = true [dependencies.cortex-m-rt] version = "0.7.3" optional = true [dependencies.embedded-hal] version = "0.2.7" [dependencies.linux-embedded-hal] version = "0.3.2" optional = true [dependencies.nb] version = "1.1.0" [dependencies.panic-halt] version = "0.2.0" optional = true [dependencies.postcard] version = "1.0.5" features = [ "postcard-derive", "experimental-derive", ] optional = true [dependencies.serde] version = "1.0.151" features = ["derive"] optional = true default-features = false [dependencies.stm32f1xx-hal] version = "0.10.0" features = [ "rt", "stm32f103", "medium", ] optional = true [dependencies.ufmt] version = "0.2.0" optional = true [features] default = [] postcard = ["dep:postcard"] rpi = ["dep:linux-embedded-hal"] serde = ["dep:serde"] stm32 = [ "dep:cortex-m", "dep:cortex-m-rt", "dep:panic-halt", "dep:stm32f1xx-hal", ] ufmt = ["dep:ufmt"]