Skip to content

Commit da460d1

Browse files
Updating heapless and allowing external usage (#53)
* Updating heapless and allowing external usage * Update CHANGELOG.md Co-authored-by: Diego Barrios Romero <[email protected]> * Refactoring changelog * further reformatting changelog Co-authored-by: Diego Barrios Romero <[email protected]>
1 parent 20ec78c commit da460d1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Added
10+
- `heapless` is now publicly exported
11+
- Added new `serialize_bytes` method
12+
913
### Changed
1014
- Floating point numbers terminated by EOF may now be deserialized
1115
- [ryu](https://github.com/dtolnay/ryu) is used to serialize `f32` and `f64`
12-
- Added missing implementation for `serialize_bytes` method
16+
- [breaking-change] Heapless dependency updated to 0.6.1
1317

1418
## [v0.2.0] - 2020-12-11
1519
### Added
@@ -38,4 +42,3 @@ Initial release
3842
[Unreleased]: https://github.com/rust-embedded-community/serde-json-core/compare/v0.2.0...HEAD
3943
[v0.2.0]: https://github.com/rust-embedded-community/serde-json-core/compare/v0.1.0...v0.2.0
4044
[v0.1.0]: https://github.com/rust-embedded-community/serde-json-core/releases/tag/v0.1.0
41-

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository = "https://github.com/rust-embedded-community/serde-json-core"
1212
version = "0.2.0"
1313

1414
[dependencies]
15-
heapless = "0.5.6"
15+
heapless = "0.6.1"
1616
ryu = "1.0.5"
1717

1818
[dependencies.serde]

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ pub use self::de::{from_slice, from_str};
6767
#[doc(inline)]
6868
pub use self::ser::{to_slice, to_string, to_vec};
6969

70+
pub use heapless;
71+
7072
#[allow(deprecated)]
7173
unsafe fn uninitialized<T>() -> T {
7274
core::mem::uninitialized()

0 commit comments

Comments
 (0)