Skip to content

Commit af70fe5

Browse files
authored
Merge pull request #272 from regexident/prepare-v0.19.0
Prepare release of v0.19.0
2 parents 5568997 + 3f2e39d commit af70fe5

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,45 @@
22

33
## Unreleased
44

5-
- Bumped MSRV from `1.42.0` to `1.56.0`.
5+
- n/a
6+
7+
### Added
8+
9+
- n/a
10+
11+
### Changed
12+
13+
- n/a
14+
15+
### Removed
16+
17+
- n/a
18+
19+
### Fixed
20+
21+
- n/a
22+
23+
## [0.19.0] - 2024-11-20
624

725
### Added
826

927
- Re-exported `semver` crate directly.
28+
- Added implementation of `std::ops::Index<&PackageId>` for `Resolve`.
29+
- Added `pub fn is_kind(&self, name: TargetKind) -> bool` to `Target`.
30+
- Added derived implementations of `PartialEq`, `Eq` and `Hash` for `Metadata` and its members' types.
31+
- Added default fields to `PackageBuilder`.
32+
- Added `pub fn new(name:version:id:path:) -> Self` to `PackageBuilder` for providing all required fields upfront.
1033

1134
### Changed
1235

36+
- Bumped MSRV from `1.42.0` to `1.56.0`.
1337
- Made `parse_stream` more versatile by accepting anything that implements `Read`.
1438
- Converted `TargetKind` and `CrateType` to an enum representation.
1539

1640
### Removed
1741

1842
- Removed re-exports for `BuildMetadata` and `Prerelease` from `semver` crate.
43+
- Removed `.is_lib(…)`, `.is_bin(…)`, `.is_example(…)`, `.is_test(…)`, `.is_bench(…)`, `.is_custom_build(…)`, and `.is_proc_macro(…)` from `Target` (in favor of adding `.is_kind(…)`).
1944

2045
### Fixed
2146

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo_metadata"
3-
version = "0.18.1"
3+
version = "0.19.0"
44
authors = ["Oliver Schneider <[email protected]>"]
55
repository = "https://github.com/oli-obk/cargo_metadata"
66
description = "structured access to the output of `cargo metadata`"

0 commit comments

Comments
 (0)