From 89819ea21b4397dbd9bc1890245d44657d789d8b Mon Sep 17 00:00:00 2001 From: fi3 Date: Mon, 19 Aug 2024 19:59:36 +0200 Subject: [PATCH] Update binary-sv2/no-serde-sv2 excport EncodablePrimitive In order to implement Encodable (aka Serialize) for sv2 type defined by extensions EncodablePrimitive is needed. --- protocols/Cargo.lock | 4 ++-- protocols/v2/binary-sv2/binary-sv2/Cargo.toml | 2 +- protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml | 2 +- protocols/v2/binary-sv2/no-serde-sv2/codec/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/protocols/Cargo.lock b/protocols/Cargo.lock index 1f853f4ad..03934402e 100644 --- a/protocols/Cargo.lock +++ b/protocols/Cargo.lock @@ -77,7 +77,7 @@ checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" [[package]] name = "binary_codec_sv2" -version = "1.1.0" +version = "1.2.0" dependencies = [ "buffer_sv2", "quickcheck", @@ -85,7 +85,7 @@ dependencies = [ [[package]] name = "binary_sv2" -version = "1.1.0" +version = "1.2.0" dependencies = [ "binary_codec_sv2", "derive_codec_sv2", diff --git a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml index b8742ad48..922d491a2 100644 --- a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml +++ b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "binary_sv2" -version = "1.1.0" +version = "1.2.0" authors = ["fi3 "] edition = "2018" description = "Sv2 data format" diff --git a/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml b/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml index d564c96be..5394f336c 100644 --- a/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml +++ b/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "binary_codec_sv2" -version = "1.1.0" +version = "1.2.0" authors = ["fi3 "] edition = "2018" description = "Sv2 data format" diff --git a/protocols/v2/binary-sv2/no-serde-sv2/codec/src/lib.rs b/protocols/v2/binary-sv2/no-serde-sv2/codec/src/lib.rs index 2199d47e7..929fb07a0 100644 --- a/protocols/v2/binary-sv2/no-serde-sv2/codec/src/lib.rs +++ b/protocols/v2/binary-sv2/no-serde-sv2/codec/src/lib.rs @@ -58,7 +58,7 @@ pub mod decodable { } pub mod encodable { - pub use crate::codec::encodable::{Encodable, EncodableField}; + pub use crate::codec::encodable::{Encodable, EncodableField, EncodablePrimitive}; } #[macro_use]