12 releases

Uses new Rust 2024

new 0.2.8 Feb 13, 2026
0.2.7 Feb 12, 2026
0.1.5 Jan 28, 2026

#1295 in Encoding

Download history 56/week @ 2026-01-23 40/week @ 2026-01-30 112/week @ 2026-02-06

208 downloads per month
Used in 6 crates (2 directly)

Apache-2.0

17KB
247 lines

ModKit Utils

Small utility helpers used by CyberFabric / ModKit.

Overview

The cf-modkit-utils crate currently provides optional serde support for humantime.

Usage

use serde::{Deserialize, Serialize};
use std::time::Duration;

#[derive(Serialize, Deserialize)]
struct Foo {
    #[serde(with = "modkit_utils::humantime_serde")]
    timeout: Duration,
}

License

Licensed under Apache-2.0.

Dependencies

~155–640KB
~15K SLoC