# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "yearfrac" version = "0.2.0" authors = ["Anatoly Bugakov"] description = "Year fruction calculator for Rust" homepage = "https://github.com/AnatolyBug/yearfrac" documentation = "https://docs.rs/yearfrac/" readme = "README.md" keywords = [ "date", "datetime", "yearfraction", ] license = "MIT OR Apache-2.0" repository = "https://github.com/AnatolyBug/yearfrac" [dependencies.chrono] version = "0.4.22" [dependencies.serde] version = "1.0.137" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.30" [dependencies.utoipa] version = "3.3.0" optional = true [features] default = [] openapi = ["dep:utoipa"] serde = ["dep:serde"]