Skip to content

Commit

Permalink
tls_codec: export DeserializeBytes macro from tls_codec (#1099)
Browse files Browse the repository at this point in the history
* export DeserializeBytes macro from tls_codec
* add path to derive crate in Cargo.toml
  • Loading branch information
kkohbrok authored Jun 7, 2023
1 parent 679d0ea commit dbcd654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tls_codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ zeroize = { version = "1.6", default-features = false, features = ["alloc", "zer
# optional dependencies
arbitrary = { version = "1", features = ["derive"], optional = true }
serde = { version = "1.0.144", features = ["derive"], optional = true }
tls_codec_derive = { version = "=0.3.0-pre.2", optional = true }
tls_codec_derive = { version = "=0.3.0-pre.2", path = "./derive", optional = true }

[dev-dependencies]
criterion = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion tls_codec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub use tls_vec::{
pub use quic_vec::{SecretVLBytes, VLByteSlice, VLBytes};

#[cfg(feature = "derive")]
pub use tls_codec_derive::{TlsDeserialize, TlsSerialize, TlsSize};
pub use tls_codec_derive::{TlsDeserialize, TlsDeserializeBytes, TlsSerialize, TlsSize};

/// Errors that are thrown by this crate.
#[derive(Debug, Eq, PartialEq, Clone)]
Expand Down

0 comments on commit dbcd654

Please sign in to comment.