[package] name = "chrono-wasi07" version = "0.4.10" authors = [ "Kang Seonghoon ", "Brandon W Maister ", ] 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", "std"] alloc = [] std = [] clock = ["std"] wasmbind = ["wasm-bindgen", "js-sys"] __internal_bench = [] [dependencies] 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 } [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 [target.'cfg(unix)'.dependencies] libc = "0.2.1" [target.'cfg(target_os = "redox")'.dependencies] redox_syscall = "0.1" libc = "0.2.1" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.0", features = ["std", "minwinbase", "minwindef", "ntdef", "profileapi", "sysinfoapi", "timezoneapi"] } libc = "0.2.1" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] mach = "0.3" [target.'cfg(target_os = "wasi")'.dependencies] wasi = "0.7" [dev-dependencies] serde_json = { version = "1", default-features = false } 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" log = "0.4" [target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies] 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 [[bench]] name = "serde" harness = false required-features = ["serde"]