Skip to content

Commit

Permalink
Basic telerunbot features (#2)
Browse files Browse the repository at this point in the history
* init shuttle deploy

* custom service deploy

* add sqlx dependency

* update gitignore

* untrack cargo.lock

* init repo structure

* untrack .vscode

* skeleton bot code

* correct sql code

* alter column type

* more amends

* use query_as macro

* check sqlx into git

* convert queries to macros

* complete database operations

* add timestamp column

* add list interface

* init template; TODO add user tally mapping

* cleanup display implementation

* render run template

* basic tests

* use linkers for macos

* change lengthy result type to type alias

* basic functionality added

* regenerate sqlx

* fix clippy

* use tracing instead of env logger
  • Loading branch information
reubenwong97 authored Aug 26, 2023
1 parent dc9e32e commit 9df7fe6
Show file tree
Hide file tree
Showing 25 changed files with 841 additions and 1,695 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# On MacOS, `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
19 changes: 17 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
/target
.env
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
.env
.vscode/
Secrets.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9df7fe6

Please sign in to comment.