[package]
name = "float_duration"
version = "0.3.2"
authors = ["Tyler Reisinger <reisinger.tyler@gmail.com>"]
description = "Floating-point Duration support.\n\nProvides quantification for spans of time. Unlike the standard std::time or the chrono crate, this crate aims to provide a fully featured Duration type which exposes and uses floating-point values instead of integer ones.\n"
homepage = "https://github.com/tylerreisinger/rust-float-duration"
documentation = "https://docs.rs/float_duration"
readme = "README.md"
keywords = ["time", "duration", "float", "simulation"]
categories = ["date-and-time"]
license = "MIT"
repository = "https://github.com/tylerreisinger/rust-float-duration"
[lib]
name = "float_duration"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.3.1"
optional = true
[dependencies.time]
version = "0.1.37"
optional = true
[dependencies.serde]
version = "^1.0"
optional = true
[dependencies.approx]
version = "0.1.1"
optional = true
[dev-dependencies.serde_test]
version = "^1.0"
[features]
all = ["chrono", "time", "approx", "serde"]
default = ["chrono", "time", "approx", "serde"]
nightly = []
[badges.travis-ci]
repository = "tylerreisinger/rust-float-duration"