Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 1f14f5d

Browse files
authored
Release 0.2.5 (#35)
* feat: add Deserialize support for ExpectedAmLabel (#34) * chore: Release am_list version 0.2.5
1 parent 0ea6bd5 commit 1f14f5d

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased] - ReleaseDate
1111

12+
## [Version 0.2.5] - 2023-07-19
13+
14+
### Added
15+
16+
- [All] The `ExpectedAmLabel` structure now implements `serde::Deserialize`
17+
1218
## [Version 0.2.4] - 2023-07-06
1319

1420
### Fixed
@@ -75,7 +81,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7581
### Security
7682

7783
<!-- next-url -->
78-
[Unreleased]: https://github.com/autometrics-dev/am_list/compare/v0.2.4...HEAD
84+
[Unreleased]: https://github.com/autometrics-dev/am_list/compare/v0.2.5...HEAD
85+
[Version 0.2.5]: https://github.com/autometrics-dev/am_list/compare/v0.2.4...v0.2.5
7986
[Version 0.2.4]: https://github.com/autometrics-dev/am_list/compare/v0.2.3...v0.2.4
8087
[Version 0.2.3]: https://github.com/autometrics-dev/am_list/compare/v0.2.2...v0.2.3
8188
[Version 0.2.2]: https://github.com/autometrics-dev/am_list/compare/v0.2.1...v0.2.2

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "am_list"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55
repository = "https://github.com/autometrics-dev/am_list"
66
authors = ["Fiberplane <[email protected]>", "Gerry Agbobada <[email protected]>"]

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub mod typescript;
44

55
use std::{fmt::Display, path::Path};
66

7-
use serde::Serialize;
7+
use serde::{Deserialize, Serialize};
88
use thiserror::Error;
99
use tree_sitter::{LanguageError, QueryError};
1010

@@ -15,7 +15,7 @@ const FUNC_NAME_CAPTURE: &str = "func.name";
1515
/// This label is given as a best effort most of the time, as some languages
1616
/// cannot provide statically the exact information that is going to be produced
1717
/// by Autometrics.
18-
#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize)]
18+
#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
1919
pub struct ExpectedAmLabel {
2020
/// The location of the definition of the function.
2121
pub module: String,

0 commit comments

Comments
 (0)