-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
65 lines (52 loc) · 1.86 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "psoc6-pac"
version = "0.0.1"
authors = ["Jonas Schievink <[email protected]>", "Dave Humphries <[email protected]"]
edition = "2018"
description = "Peripheral Access Crate for Cypress PSoC 6 MCUs"
documentation = "https://docs.rs/psoc6-pac/"
repository = "https://github.com/psoc-rs/psoc6-pac"
keywords = ["cypress", "psoc6", "pac", "Rust"]
categories = ["embedded"]
readme = "README.md"
license = "0BSD"
exclude = ["svd"]
[badges]
travis-ci = { repository = "psoc6-rs/psoc6-pac" }
maintenance = { status = "actively-developed" }
[dependencies]
bare-metal = "0.2.5"
cortex-m = "0.7.6"
vcell = "0.1.2"
[dependencies.cortex-m-rt]
optional = true
version = "0.7.1"
[features]
rt = ["cortex-m-rt/device"]
[package.metadata.docs.rs]
features = ['rt']
# cargo-release configuration
[package.metadata.release]
tag-message = "{{version}}"
pre-release-commit-message = "Release {{version}}"
publish=false
# 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
1. Provided CM0+ interrupts gated by #[cfg(armv6m)] - these have been added by hand so if the pac is regenerated they will need to be reinstated.
## [{{version}} - {{date}}](https://github.com/diagonalDave/psoc6-pac/releases/tag/{{version}})
"""
# Bump the version inside the example manifest in `README.md`
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'psoc6-pac = "[a-z0-9\\.-]+"'
replace = 'psoc6-pac = "{{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/psoc6-pac/[a-z0-9\\.-]+"
replace = "https://docs.rs/psoc6-pac/{{version}}"