# 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 = "candidate" version = "0.0.5" authors = [ "Kenneth Cochran ", "Jordan Bray ", ] build = "src/build.rs" description = "This is a fast chess move generator. It has a very good set of documentation, so you should take advantage of that. It (now) generates all lookup tables with a build.rs file, which means that very little pseudo-legal move generation requires branching. There are some convenience functions that are exposed to, for example, find all the squares between two squares. This uses a copy-on-make style structure, and the Board structure is as slimmed down as possible to reduce the cost of copying the board. There are places to improve perft-test performance further, but I instead opt to be more feature-complete to make it useful in real applications. For example, I generate both a hash of the board and a pawn-hash of the board for use in evaluation lookup tables (using Zobrist hashing). There are two ways to generate moves, one is faster, the other has more features that will be useful if making a chess engine. See the documentation for more details." homepage = "https://github.com/icodesometime/candidate" documentation = "https://jordanbray.github.io/chess/chess/index.html" readme = "README.md" keywords = [ "chess", "move", "generator", ] license = "MIT" repository = "https://github.com/icodesometime/candidate" [profile.dev] opt-level = 3 debug = true [profile.dev.build-override] opt-level = 3 [profile.release] opt-level = 3 debug = false [profile.release.build-override] opt-level = 3 [profile.test] opt-level = 3 [profile.test.build-override] opt-level = 3 [lib] bench = false [[bench]] name = "standard" harness = false [dependencies.arrayvec] version = "0.5.1" [dependencies.failure] version = "0.1.6" [dependencies.nodrop] version = "0.1.14" [dependencies.tracing] version = "0.1.37" optional = true [dev-dependencies.criterion] version = "0.3" [build-dependencies.failure] version = "0.1.6" [build-dependencies.rand] version = "0.7.2" features = ["small_rng"] default_features = false [features] cache_game_state = [] default = ["cache_game_state"] instrument_game = ["dep:tracing"]