Declare the `forward_ref` crate as a dependency (my first external dependency!) and use it to clean up the infix, assign, and unary op impls. This crate automatically implements A+&B, &A+B, and &A+&B for me.
10 lines
251 B
TOML
10 lines
251 B
TOML
[package]
|
|
name = "chessfriend_bitboard"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
chessfriend_core = { path = "../core" }
|
|
forward_ref = "1.0.0"
|