Crates.io | fuzzydate |
lib.rs | fuzzydate |
version | 0.2.2 |
source | src |
created_at | 2022-02-17 06:10:10.564767 |
updated_at | 2023-12-27 18:23:51.717859 |
description | A flexible date parsing library |
homepage | |
repository | https://github.com/DevinVS/fuzzydate |
max_upload_size | |
id | 533898 |
size | 67,964 |
A flexible date parser library for Rust.
Put this in your Cargo.toml
:
[dependencies]
fuzzydate = "0.2"
use fuzzydate::parse;
fn main() {
let input = "five days after this friday";
let date = parse(input).unwrap();
println!("{:?}", date);
}