Skip to content

Commit

Permalink
core: Fix rkyv-impl feature
Browse files Browse the repository at this point in the history
Resolves #183
  • Loading branch information
moCello committed May 23, 2024
1 parent dc40f16 commit 787ca99
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/dusk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,25 @@ jobs:
uses: dusk-network/.github/.github/workflows/code-analysis.yml@main
with:
clippy_default: false
clippy_args: --release -- -D warnings
clippy_args: --release --features=alloc -- -D warnings

dusk_analyzer:
name: Dusk Analyzer
uses: dusk-network/.github/.github/workflows/dusk-analysis.yml@main
with:
test_flags: --features=rkyv-impl,alloc

test_core_std:
name: test core std
test_core:
name: test core
uses: dusk-network/.github/.github/workflows/run-tests.yml@main
with:
test_flags: -p phoenix-core --features alloc
test_flags: -p phoenix-core --features=alloc

test_core_rkyv:
name: test core rkyv
name: test core rkyv compiles
uses: dusk-network/.github/.github/workflows/run-tests.yml@main
with:
test_flags: -p phoenix-core --features rkyv-impl
test_flags: -p phoenix-core --features=rkyv-impl,alloc --no-run

test_circuits:
name: test cirucits
Expand Down
5 changes: 5 additions & 0 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Fix missing import for `rkyv-impl` feature [#183]

## [0.28.0] - 2024-05-22

### Added
Expand Down Expand Up @@ -311,6 +315,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Canonical implementation shielded by feature.

<!-- ISSUES -->
[#183]: https://github.com/dusk-network/phoenix/issues/183
[#179]: https://github.com/dusk-network/phoenix/issues/179
[#175]: https://github.com/dusk-network/phoenix/issues/175
[#171]: https://github.com/dusk-network/phoenix/issues/171
Expand Down
2 changes: 1 addition & 1 deletion core/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern crate alloc;
use alloc::vec::Vec;

#[cfg(feature = "rkyv-impl")]
use rkyv::{Archive, Deserialize};
use rkyv::{Archive, Deserialize, Serialize};

use dusk_bls12_381::BlsScalar;
use dusk_bytes::{DeserializableSlice, Error as BytesError, Serializable};
Expand Down

0 comments on commit 787ca99

Please sign in to comment.