Skip to content

Commit 2da341b

Browse files
migrate to TagSpecs v0.6.0 spec (#350)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 179aea7 commit 2da341b

File tree

17 files changed

+1541
-429
lines changed

17 files changed

+1541
-429
lines changed

.mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ markdown_extensions:
2020
- pymdownx.superfences
2121
- pymdownx.tasklist:
2222
custom_checkbox: true
23+
- pymdownx.tabbed:
24+
alternate_style: true
25+
combine_header_slug: true
2326
- pymdownx.tilde
2427
plugins:
2528
- search

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
1818

1919
## [Unreleased]
2020

21+
### Changed
22+
23+
- Updated TagSpecs to v0.6.0 format with hierarchical `[[tagspecs.libraries]]` structure
24+
25+
### Deprecated
26+
27+
- TagSpecs v0.4.0 flat format (will be removed in v5.2.7), [migration guide here](docs/tagspecs.md#migration-from-v040)
28+
2129
## [5.2.4]
2230

2331
### Added

Cargo.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ tempfile = "3.23"
4848
pedantic = { level = "warn", priority = -1 }
4949
missing_errors_doc = "allow"
5050

51+
[workspace.lints.rust]
52+
# Allow deprecated warnings for legacy tagspecs (remove in v5.2.7)
53+
# NOTE: To see all deprecation warnings when removing legacy code in v5.2.7,
54+
# temporarily delete this `deprecated = "allow"` line
55+
deprecated = "allow"
56+
5157
[profile.dev.package]
5258
insta.opt-level = 3
5359
similar.opt-level = 3

crates/djls-conf/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ camino = { workspace = true }
99
config = { workspace = true }
1010
directories = { workspace = true }
1111
serde = { workspace = true }
12+
serde_json = { workspace = true }
1213
thiserror = { workspace = true }
1314
toml = { workspace = true }
15+
tracing = { workspace = true }
1416

1517
[dev-dependencies]
1618
tempfile = { workspace = true }

crates/djls-conf/TAGSPECS.md

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)