chrono/Cargo.toml

71 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "chrono"
2020-03-07 21:16:02 +00:00
version = "0.4.11"
2018-04-07 21:51:56 +00:00
authors = [
"Kang Seonghoon <public+rust@mearie.org>",
"Brandon W Maister <quodlibetor@gmail.com>",
]
description = "Date and time library for Rust"
homepage = "https://github.com/chronotope/chrono"
documentation = "https://docs.rs/chrono/"
repository = "https://github.com/chronotope/chrono"
keywords = ["date", "time", "calendar"]
categories = ["date-and-time"]
readme = "README.md"
license = "MIT/Apache-2.0"
2018-10-31 11:11:46 +00:00
exclude = ["/ci/*", "/.travis.yml", "/appveyor.yml", "/Makefile"]
[badges]
travis-ci = { repository = "chronotope/chrono" }
appveyor = { repository = "chronotope/chrono" }
[lib]
name = "chrono"
2014-10-10 06:01:31 +00:00
2017-02-24 23:20:07 +00:00
[features]
default = ["clock", "std"]
2019-09-09 11:41:44 +00:00
alloc = []
std = []
clock = ["time", "std"]
wasmbind = ["wasm-bindgen", "js-sys"]
__internal_bench = []
2017-02-24 23:20:07 +00:00
[dependencies]
2018-08-17 23:00:37 +00:00
time = { version = "0.1.39", optional = true }
num-integer = { version = "0.1.36", default-features = false }
num-traits = { version = "0.2", default-features = false }
rustc-serialize = { version = "0.3.20", optional = true }
serde = { version = "1.0.99", default-features = false, optional = true }
2019-11-27 05:57:51 +00:00
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies]
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true } # contains FFI bindings for the JS Date API
[dev-dependencies]
serde_json = { version = "1" }
serde_derive = { version = "1", default-features = false }
bincode = { version = "0.8.0" }
num-iter = { version = "0.1.35", default-features = false }
criterion = { version = "0.3" }
doc-comment = "0.3"
2019-11-27 05:57:51 +00:00
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies]
2019-08-16 09:35:56 +00:00
wasm-bindgen-test = "0.2"
[package.metadata.docs.rs]
features = ["serde"]
[package.metadata.playground]
features = ["serde"]
[[bench]]
name = "chrono"
required-features = ["__internal_bench"]
harness = false
2019-11-24 19:50:33 +00:00
[[bench]]
name = "serde"
harness = false
required-features = ["serde"]