summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2021-07-09 17:28:19 -0400
committerBotahamec <botahamec@outlook.com>2021-07-09 17:28:19 -0400
commit60daeb29549c32ac0c0c985c47c64712ad0d7e96 (patch)
tree6438247c0c3deb43c3257df3f69cd8d1c74c6db7
parent7e73782a7d51b40a558b74793c1d6c1abdea857d (diff)
here's what i have so far
-rw-r--r--.gitignore2
-rw-r--r--Cargo.toml10
-rw-r--r--config.toml2
-rw-r--r--rustfmt.toml3
4 files changed, 17 insertions, 0 deletions
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