- n/a
- n/a
- Updated dependencies:
thiserror
from1.0.31
to2.0.3
derive_builder
from0.12
to0.20
- n/a
- n/a
- Re-exported
semver
crate directly. - Added implementation of
std::ops::Index<&PackageId>
forResolve
. - Added
pub fn is_kind(&self, name: TargetKind) -> bool
toTarget
. - Added derived implementations of
PartialEq
,Eq
andHash
forMetadata
and its members' types. - Added default fields to
PackageBuilder
. - Added
pub fn new(name:version:id:path:) -> Self
toPackageBuilder
for providing all required fields upfront.
- Bumped MSRV from
1.42.0
to1.56.0
. - Made
parse_stream
more versatile by accepting anything that implementsRead
. - Converted
TargetKind
andCrateType
to an enum representation.
- Removed re-exports for
BuildMetadata
andPrerelease
fromsemver
crate. - Removed
.is_lib(…)
,.is_bin(…)
,.is_example(…)
,.is_test(…)
,.is_bench(…)
,.is_custom_build(…)
, and.is_proc_macro(…)
fromTarget
(in favor of adding.is_kind(…)
).
- Added missing
manifest_path
field toArtifact
. Fixes #187.
- Re-exported
BuildMetadata
andPrerelease
fromsemver
crate. - Added
workspace_packages
function. - Added
Edition
enum to better parse edition field. - Added
rust-version
field to Cargo manifest.
- Bumped msrv from
1.40.0
to1.42.0
.
- Updated
derive_builder
to the latest version. - Made use of
matches!
macros where possible. - Fixed some tests
- Added
TestMessage
,TestEvent
,SuiteEvent
for parsing thecargo test -- --format json
output.