10 releases

new 0.1.9 Mar 23, 2025
0.1.8 Mar 2, 2025
0.1.4 Feb 28, 2025
0.1.3 Nov 22, 2024

#345 in Encoding

Download history 37/week @ 2024-11-24 61/week @ 2024-12-01 99/week @ 2024-12-08 9/week @ 2024-12-15 1/week @ 2024-12-22 4/week @ 2025-01-05 2/week @ 2025-01-12 14/week @ 2025-02-09 17/week @ 2025-02-16 333/week @ 2025-02-23 421/week @ 2025-03-02 18/week @ 2025-03-09

789 downloads per month

MIT license

12MB
243K SLoC

This package is experimental and I tried to convert answer from k8s-openapi (kube-rs) to rust-protobuf.

In the future I will add Serialize to custom_date. At this time i only need the Deserialize (i don't like to work with JSON).

    use k8s_rs_pb::api::core::v1::Pod;
    use k8s_openapi::api::core::v1::Pod as OtherPod;

    let pod_openapi = OtherPod::default();
    let pod_pb: Pod = k8s_rs_pb::converter::from_openapi(pod_openapi).unwrap();

    assert_eq!(pod_pb.has_metadata(), true);

Dependencies

~37MB
~597K SLoC