[package] name = "livesplit-core" version = "0.11.0" authors = ["Christopher Serr "] documentation = "https://docs.rs/livesplit-core/" repository = "https://github.com/LiveSplit/livesplit-core" license = "Apache-2.0/MIT" description = "livesplit-core is a library that provides a lot of functionality for creating a speedrun timer." readme = "README.md" keywords = ["speedrun", "timer", "livesplit"] include = [ "/benches/*", "/src/*", "/Cargo.toml", "/CHANGELOG.md", "/CODE_OF_CONDUCT.md", "/LICENSE-APACHE", "/LICENSE-MIT", "/README.md" ] edition = "2018" [badges] travis-ci = { repository = "LiveSplit/livesplit-core" } appveyor = { repository = "CryZe/livesplit-core" } [profile.release] lto = true panic = "abort" [workspace] members = ["capi", "capi/bind_gen", "capi/js", "capi/staticlib", "capi/cdylib", "crates/*"] [dependencies] base64 = "0.10.0" byteorder = "1.2.7" chrono = { version = "0.4.0", features = ["serde", "clock"], default-features = false } derive_more = "0.14.0" image = { version = "0.21.0", features = ["png_codec"], default-features = false } indexmap = { version = "1.0.1", default-features = false, features = ["serde-1"] } livesplit-hotkey = { path = "crates/livesplit-hotkey", version = "0.5.0" } odds = { version = "0.3.1", default-features = false } ordered-float = "1.0.0" palette = { version = "0.4.0", default-features = false } parking_lot = { version = "0.8.0", default-features = false } quick-error = "1.2.2" quick-xml = { version = "0.14.0", default-features = false } serde = "1.0.55" serde_derive = "1.0.55" serde_json = "1.0.8" unicase = "2.2.0" utf-8 = "0.7.4" # Rendering euclid = { version = "0.19.5", default-features = false, optional = true } livesplit-title-abbreviations = { path = "crates/livesplit-title-abbreviations", version = "0.1.0", optional = true } lyon = { version = "0.13.0", default-features = false, optional = true } rusttype = { version = "0.7.3", default-features = false, optional = true } smallvec = { version = "0.6.9", default-features = false, optional = true } # Software Rendering euc = { version = "0.3.0", default-features = false, optional = true } vek = { version = "0.9.6", default-features = false, optional = true } [dev-dependencies] memmem = "0.1.1" criterion = "0.2.5" crc = "1.8.1" [features] default = ["image-shrinking"] more-image-formats = ["image/webp", "image/pnm", "image/ico", "image/jpeg", "image/gif_codec", "image/tiff", "image/tga", "image/bmp", "image/hdr"] image-shrinking = ["more-image-formats"] rendering = ["more-image-formats", "euclid", "livesplit-title-abbreviations", "lyon", "rusttype", "smallvec"] software-rendering = ["rendering", "euc", "vek"] [[bench]] name = "balanced_pb" harness = false [[bench]] name = "parsing" harness = false [[bench]] name = "software_rendering" harness = false