# 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 = "ms_toollib" version = "1.4.11" authors = ["Wang Jianing "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Algorithms for Minesweeper" documentation = "https://docs.rs/ms_toollib" readme = "README.md" keywords = [ "minesweeper", "game", "rust", "solver", "algorithm", ] license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ms_toollib" path = "src/lib.rs" [[test]] name = "test_analyse" path = "tests/test_analyse.rs" [[test]] name = "test_engines" path = "tests/test_engines.rs" [[test]] name = "test_getmatrix" path = "tests/test_getmatrix.rs" [[test]] name = "test_laymine" path = "tests/test_laymine.rs" [[test]] name = "test_safe_board" path = "tests/test_safe_board.rs" [[test]] name = "test_utils" path = "tests/test_utils.rs" [[bench]] name = "lay_mine" path = "benches/lay_mine.rs" harness = false [[bench]] name = "refresh_matrix" path = "benches/refresh_matrix.rs" harness = false [[bench]] name = "sample_boards" path = "benches/sample_boards.rs" harness = false [dependencies.getrandom] version = "0.2.3" features = ["js"] optional = true [dependencies.itertools] version = "0.10.3" [dependencies.rand] version = "0.8.3" optional = true [dependencies.tract-onnx] version = "0.15.8" optional = true [dependencies.web-sys] version = "0.3.4" features = ["console"] optional = true [dev-dependencies.bencher] version = "0.1.5" [features] default = ["rs"] js = [ "getrandom", "web-sys", ] py = [ "rand", "tract-onnx", ] rs = [ "rand", "tract-onnx", ]