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