Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this crate are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this crate adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.7.0] - 2024-10-24

### Added

- Allow decoding with a memory limit. ([616](https://github.com/paritytech/parity-scale-codec/pull/616))

### Changed

- This release bumps some dependencies, primarily bumping `syn` to 2. ([#640](https://github.com/paritytech/parity-scale-codec/pull/640)).

### Fixed

- Fix MaxEncodedLen derive macro for enum with skipped variant ([#622](https://github.com/paritytech/parity-scale-codec/pull/622))
- Use MAX_PREALLOCATION consistently [#605](https://github.com/paritytech/parity-scale-codec/pull/605)

## [3.6.4] - 2023-07-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 17 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[package]
name = "parity-scale-codec"
description = "SCALE - Simple Concatenating Aggregated Little Endians"
version = "3.7.0"
authors = ["Parity Technologies <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-scale-codec"
categories = ["encoding"]
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
categories.workspace = true
edition.workspace = true
build = "build.rs"
rust-version = "1.60.0"
rust-version.workspace = true

[dependencies]
arrayvec = { version = "0.7", default-features = false }
serde = { version = "1.0.213", default-features = false, optional = true }
parity-scale-codec-derive = { path = "derive", version = ">= 3.6.8", default-features = false, optional = true }
parity-scale-codec-derive = { path = "derive", version = "3.6.8", default-features = false, optional = true }
bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true }
bytes = { version = "1", default-features = false, optional = true }
byte-slice-cast = { version = "1.2.2", default-features = false }
Expand Down Expand Up @@ -62,3 +62,12 @@ full = []

[workspace]
members = ["derive", "fuzzer"]

[workspace.package]
version = "3.7.0"
authors = ["Parity Technologies <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-scale-codec"
categories = ["encoding"]
edition = "2021"
rust-version = "1.60.0"
12 changes: 6 additions & 6 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "parity-scale-codec-derive"
description = "Serialization and deserialization derive macro for Parity SCALE Codec"
version = "3.6.8"
authors = ["Parity Technologies <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
repository = "https://github.com/paritytech/parity-scale-codec"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
rust-version.workspace = true

[lib]
proc-macro = true
Expand Down