-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
51 lines (46 loc) · 1.74 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
[workspace]
members = [
]
[package]
name = "ktx2"
version = "0.3.0"
authors = ["Benjamin Saunders <[email protected]>", "Connor Fitzgerald <[email protected]>", "f3kilo <[email protected]>"]
edition = "2018"
description = "Parser for the ktx2 texture container format"
readme = "README.md"
repository = "https://github.com/BVE-Reborn/ktx2"
license = "Apache-2.0"
keywords = []
categories = []
exclude = [
"data/*",
]
[features]
default = ["std"]
std = []
[dependencies]
bitflags = "2.4.2"
[package.metadata.release]
pre-release-hook = ["cargo", "readme", "-o", "README.md", "-t", "README.tpl"]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\[Unreleased\\]\\(#unreleased\\)"
replace = "[Unreleased](#unreleased)\n- [v{{version}}](#v{{version}})"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\[v([0-9]+)\\.([0-9]+)\\.([0-9]+)\\]\\(#v[0-9\\.]+\\)"
replace = "[v$1.$2.$3](#v$1$2$3)"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "## Unreleased"
replace = "## Unreleased\n\n## v{{version}}\n\nReleased {{date}}"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\[Unreleased\\]\\(https://github.com/BVE-Reborn/ktx2/compare/v([a-z0-9.-]+)\\.\\.\\.HEAD\\)"
replace = "[Unreleased](https://github.com/BVE-Reborn/ktx2/compare/v{{version}}...HEAD)\n- [v{{version}}](https://github.com/BVE-Reborn/ktx2/compare/v$1...v{{version}})"
min = 0 # allow first increment
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- Begin Diffs -->"
replace = "- [Unreleased](https://github.com/BVE-Reborn/ktx2/compare/v{{version}}...HEAD)"
min = 0 # allow non-first increment