diff --git a/Cargo.lock b/Cargo.lock index a011d47..2dbab54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1882,6 +1882,17 @@ dependencies = [ "serde", ] +[[package]] +name = "sgf" +version = "0.1.0" +dependencies = [ + "chrono", + "nom", + "serde", + "thiserror", + "typeshare", +] + [[package]] name = "sha1" version = "0.10.5" @@ -2227,6 +2238,28 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +[[package]] +name = "typeshare" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f44d1a2f454cb35fbe05b218c410792697e76bd868f48d3a418f2cd1a7d527d6" +dependencies = [ + "chrono", + "serde", + "serde_json", + "typeshare-annotation", +] + +[[package]] +name = "typeshare-annotation" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc670d0e358428857cc3b4bf504c691e572fccaec9542ff09212d3f13d74b7a9" +dependencies = [ + "quote", + "syn 1.0.109", +] + [[package]] name = "unarray" version = "0.1.4" diff --git a/Cargo.toml b/Cargo.toml index 62a8742..c4599af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,5 @@ members = [ "emseries", "coordinates", "flow", + "sgf", ] diff --git a/build.sh b/build.sh index e113203..2a781a0 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -euo pipefail -RUST_ALL_TARGETS="dashboard ifc memorycache geo-types fluent-ergonomics cyberpunk-splash screenplay emseries coordinates flow" +RUST_ALL_TARGETS="dashboard ifc memorycache geo-types fluent-ergonomics cyberpunk-splash screenplay emseries coordinates flow sgf" build_rust_targets() { local CMD=$1