[package] name = "nrf5340-hal" version = "0.0.0" authors = ["Jonas Schievink "] edition = "2018" description = "HAL for the nRF5340 microcontroller" documentation = "https://docs.rs/nrf5340-hal/" repository = "https://github.com/nrf-rs/nrf5340-hal.git" keywords = ["embedded-hal-impl", "nrf53", "cortex-m33"] categories = ["embedded"] readme = "README.md" license = "0BSD" [badges] travis-ci = { repository = "nrf-rs/nrf5340-hal" } maintenance = { status = "actively-developed" } [dependencies.nrf5340-app-pac] version = "0.1.0" features = ["rt"] optional = true [dependencies.nrf5340-net-pac] version = "0.1.0" features = ["rt"] optional = true [dev-dependencies] cortex-m-semihosting = "0.3.5" cortex-m-rt = "0.6.10" panic-semihosting = "0.5.3" [features] app-core = ["nrf5340-app-pac"] net-core = ["nrf5340-net-pac"] # cargo-release configuration [package.metadata.release] tag-message = "{{version}}" no-dev-version = true pre-release-commit-message = "Release {{version}}" # Change the changelog's `Unreleased` section to refer to this release and # prepend a new `Unreleased` section [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "## Unreleased\n" replace = """ ## Unreleased No changes. ## [{{version}} - {{date}}](https://github.com/nrf-rs/nrf5340-hal/releases/tag/{{version}}) """ # Bump the version inside the example manifest in `README.md` [[package.metadata.release.pre-release-replacements]] file = "README.md" search = 'nrf5340-hal = "[a-z0-9\\.-]+"' replace = 'nrf5340-hal = "{{version}}"' # Bump the version referenced by the `html_root_url` attribute in `lib.rs` [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" search = "https://docs.rs/nrf5340-hal/[a-z0-9\\.-]+" replace = "https://docs.rs/nrf5340-hal/{{version}}"