57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[package]
|
|
name = "chrono"
|
|
version = "0.4.7"
|
|
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"
|
|
exclude = ["/ci/*", "/.travis.yml", "/appveyor.yml", "/Makefile"]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "chronotope/chrono" }
|
|
appveyor = { repository = "chronotope/chrono" }
|
|
|
|
[lib]
|
|
name = "chrono"
|
|
|
|
[features]
|
|
default = ["clock"]
|
|
clock = ["time"]
|
|
|
|
[dependencies]
|
|
libc = { version = "0.2", default-features = false }
|
|
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", optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen = { version = "0.2" }
|
|
js-sys = "0.3" # contains FFI bindings for the JS Date API
|
|
|
|
[dev-dependencies]
|
|
serde_json = { version = "1" }
|
|
serde_derive = { version = "1" }
|
|
bincode = { version = "0.8.0" }
|
|
num-iter = { version = "0.1.35", default-features = false }
|
|
doc-comment = "0.3"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[package.metadata.playground]
|
|
all-features = true
|