fuzzydate

Crates.iofuzzydate
lib.rsfuzzydate
version0.2.2
sourcesrc
created_at2022-02-17 06:10:10.564767
updated_at2023-12-27 18:23:51.717859
descriptionA flexible date parsing library
homepage
repositoryhttps://github.com/DevinVS/fuzzydate
max_upload_size
id533898
size67,964
(devinvs)

documentation

README

FuzzyDate: Date Input for Humans

FuzzyDate Github Actions FuzzyDate on crates.io FuzzyDate on docs.rs

A flexible date parser library for Rust.

Usage

Put this in your Cargo.toml:

[dependencies]
fuzzydate = "0.2"

Example

use fuzzydate::parse;

fn main() {
    let input = "five days after this friday";
    let date = parse(input).unwrap();
    println!("{:?}", date);
}
Commit count: 51

cargo fmt