{"id":57819,"library":"humantime-serde","title":"Humantime Serde","description":"Serde support for the `humantime` crate","status":"active","version":"1.1.1","language":"rust","source_language":null,"source_url":"https://github.com/jean-airoldie/humantime-serde","tags":["serde","duration","human-readable","serialization"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nhumantime-serde = \"1.1.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add humantime-serde","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"humantime","correct":"use humantime_serde::serde::humantime;"}],"quickstart":{"code":"use serde::{Serialize, Deserialize};\nuse humantime_serde::serde::humantime;\n\n#[derive(Serialize, Deserialize)]\nstruct Config {\n    #[serde(with = \"humantime\")]\n    timeout: std::time::Duration,\n}\n\nlet config: Config = toml::from_str(\"timeout = \\\"30s\\\"\").unwrap();\nprintln!(\"{:?}\", config.timeout);","lang":"rust","description":"Enables serialization/deserialization of Duration using human-readable strings."},"warnings":[],"env_vars":null,"search_vec":"'crate':8 'durat':10 'human':12 'human-read':11 'humantim':1,7 'readabl':13 'serd':2,3,9 'serial':14 'support':4","created_at":"2026-06-16T15:59:16.191979+00:00","updated_at":"2026-06-16T15:59:16.191979+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jean-airoldie/humantime-serde","github":"https://github.com/jean-airoldie/humantime-serde","docs":"https://docs.rs/humantime-serde/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}