# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "twothousand-forty-eight" version = "0.22.1" authors = ["xypine "] exclude = ["/games"] description = "a basic engine and move validator for the game 2048" documentation = "https://docs.rs/twothousand_forty_eight" readme = "README.md" keywords = [ "2048", "game", ] license = "MIT" repository = "https://github.com/hallabois/twothousand-forty-eight" [profile.release] opt-level = 3 lto = true strip = true [lib] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "validator" harness = false [[bench]] name = "parser" harness = false [[bench]] name = "board" harness = false [dependencies.anyhow] version = "1.0" [dependencies.base64] version = "0.21.2" [dependencies.convert-base] version = "1.1.2" [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.5.0" [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.9.8" [dependencies.thiserror] version = "1.0" [dependencies.tsify] version = "0.4.5" optional = true [dependencies.wasm-bindgen] version = "0.2.87" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.37" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.crossterm] version = "0.26.1" [dev-dependencies.ratatui] version = "0.21.0" features = ["all-widgets"] [dev-dependencies.rayon] version = "1.7.0" [features] all = ["wasm"] default = [] wasm = [ "wasm-bindgen", "getrandom", "tsify", ]