#holochain #byte #derive #serde-derive #holo #serde

macro holochain_serialized_bytes_derive

Provides derive macros for holochain serialized bytes

20 releases

0.0.53 Aug 29, 2023
0.0.52 Jan 17, 2023
0.0.51 Jul 20, 2021
0.0.50 Feb 21, 2021
0.0.36 Mar 29, 2020

#73 in #serde-derive

Download history 985/week @ 2023-11-27 856/week @ 2023-12-04 1290/week @ 2023-12-11 988/week @ 2023-12-18 460/week @ 2023-12-25 516/week @ 2024-01-01 1482/week @ 2024-01-08 1300/week @ 2024-01-15 1329/week @ 2024-01-22 1302/week @ 2024-01-29 1962/week @ 2024-02-05 697/week @ 2024-02-12 1004/week @ 2024-02-19 1313/week @ 2024-02-26 1841/week @ 2024-03-04 639/week @ 2024-03-11

4,900 downloads per month
Used in 85 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
~33K SLoC