diff --git a/.gitignore b/.gitignore index f27eadf..4150a21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ target/ data/*.zip data/*.pgn -mkramdisk \ No newline at end of file +mkramdisk +*.data +*.perf \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 578ee5d..6bbe285 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "GPL-3.0" [dependencies] +# clap = { version = "4.5.7", features = ["derive"] } clap = { version = "0.1.0", path = "clap-dynamic", package = "clap-dynamic" } clap_complete = "4.5.5" exec = "0.3.1" @@ -30,6 +31,11 @@ codegen-units = 2048 inherits = "release" strip = false +[profile.profile] +inherits = "release" +strip = false +debug = true + [profile.size] inherits = "release" opt-level = "s" diff --git a/src/pgn/mod.rs b/src/pgn/mod.rs index d3f0c64..5bd442b 100644 --- a/src/pgn/mod.rs +++ b/src/pgn/mod.rs @@ -54,7 +54,6 @@ fn parse_half_move_count<'a>( pub fn parse_pgn(input_filename: &str) -> Result, Box> { // TODO(#7): Add variations support - // TODO(#8): Add comments support let lines = utils::read_lines(input_filename)?;