Skip to content

Commit

Permalink
Merge pull request #3492 from dusk-network/simplify-serde
Browse files Browse the repository at this point in the history
core: simplified serde implementations
  • Loading branch information
d-sonuga authored Feb 14, 2025
2 parents bca9a01 + 34179fc commit 90587e2
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 824 deletions.
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.

4 changes: 2 additions & 2 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add `METADATA::PUBLIC_SENDER` [#3341]
- Add `abi::public_sender` host fn [#3341]
- Add serde implementations for `StakeEvent`, `SlashEvent`, `Reward`, `WithdrawEvent`, `ConvertEvent`, `DepositEvent`,
`ContractToContractEvent`, `ContractToAccountEvent`, `PhoenixTransactionEvent` and `MoonlightTransactionEvent`
- Add serde feature for event serialization [#2773]

## [1.0.0] - 2025-01-23

Expand All @@ -34,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- Issues -->
[#3405]: https://github.com/dusk-network/rusk/issues/3405
[#3341]: https://github.com/dusk-network/rusk/issues/3341
[#2773]: https://github.com/dusk-network/rusk/issues/2773

[Unreleased]: https://github.com/dusk-network/rusk/compare/dusk-core-1.0.0...HEAD
[1.0.0]: https://github.com/dusk-network/rusk/compare/dusk-core-0.1.0...dusk-core-1.0.0
Expand Down
4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ark-serialize = { workspace = true, optional = true }

# serde support dependencies
serde = { workspace = true, features = ["derive"], optional = true }
base64 = { workspace = true, optional = true }
hex = { workspace = true, optional = true }

[dev-dependencies]
rand = { workspace = true, features = ["std", "std_rng"] }
Expand Down Expand Up @@ -75,7 +75,7 @@ std = ["dusk-plonk/std"]

serde = [
"dep:serde",
"base64",
"hex",
"piecrust-uplink/serde",
"bls12_381-bls/serde",
"phoenix-core/serde",
Expand Down
Loading

0 comments on commit 90587e2

Please sign in to comment.