#byte #holochain #derive #serde-derive

macro holochain_serialized_bytes_derive

Provides derive macros for holochain serialized bytes

22 releases

0.0.55 Jun 6, 2024
0.0.53 Aug 29, 2023
0.0.52 Jan 17, 2023
0.0.51 Jul 20, 2021
0.0.36 Mar 29, 2020

#78 in #serde-derive

Download history 1571/week @ 2024-07-25 1874/week @ 2024-08-01 1365/week @ 2024-08-08 1293/week @ 2024-08-15 1373/week @ 2024-08-22 1726/week @ 2024-08-29 1342/week @ 2024-09-05 1503/week @ 2024-09-12 1548/week @ 2024-09-19 1330/week @ 2024-09-26 1115/week @ 2024-10-03 938/week @ 2024-10-10 1218/week @ 2024-10-17 1280/week @ 2024-10-24 1320/week @ 2024-10-31 999/week @ 2024-11-07

5,089 downloads per month
Used in 92 crates (via holochain_serialized_byte…)

Apache-2.0

5KB

holochain_serialized_bytes_derive

Project Chat

Twitter Follow

License: Apache-2.0

Overview

Derive macros for serialized bytes.

Usage

use holochain_serialized_bytes::prelude::*;

#[derive(Serialize, Deserialize, PartialEq, Debug, SerializedBytes)]
pub struct SomeData(String);

Contribute

Holochain is an open source project. We welcome all sorts of participation and are actively working on increasing surface area to accept it. Please see our contributing guidelines for our general practices and protocols on participating in the community.

License

License: Apache-2.0

Copyright (C) 2019, Holochain Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependencies

~1.5MB
~37K SLoC