From 60daeb29549c32ac0c0c985c47c64712ad0d7e96 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Fri, 9 Jul 2021 17:28:19 -0400 Subject: here's what i have so far --- .gitignore | 2 ++ Cargo.toml | 10 ++++++++++ config.toml | 2 ++ rustfmt.toml | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 config.toml create mode 100644 rustfmt.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61f4b79 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/* +Cargo.lock \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..2611ded --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[workspace] +members = [ + "model", + "ai", + "cli" +] + +[profile.release] +lto = true +panic = 'abort' \ No newline at end of file diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..7cb84f7 --- /dev/null +++ b/config.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "link-arg=fuse-ld=lld", "-C", "target-cpu=native"] \ No newline at end of file diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..5c912d6 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +edition = "2018" +hard_tabs = true +newline_style = "Unix" \ No newline at end of file -- cgit v1.2.3