diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml deleted file mode 100644 index 1fd44e2..0000000 --- a/.woodpecker/deploy.yml +++ /dev/null @@ -1,22 +0,0 @@ -platform: 'linux/amd64' -branches: 'main' - -pipeline: - release: - image: 'plugins/docker' - settings: - registry: 'git.rustybever.be' - repo: 'git.rustybever.be/chewing_bever/affy' - tag: - - 'latest' - mtu: 1300 - secrets: - - 'docker_username' - - 'docker_password' - - deploy: - image: 'curlimages/curl' - secrets: - - 'webhook' - commands: - - curl -XPOST --fail -s "$WEBHOOK" diff --git a/Cargo.lock b/Cargo.lock index 1237a05..b8388a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -37,7 +37,6 @@ dependencies = [ "chrono", "diesel", "diesel_migrations", - "libsqlite3-sys", "poise", "tokio", "uuid", @@ -836,7 +835,6 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" dependencies = [ - "cc", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 518d125..cde15dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,5 +24,3 @@ poise = "0.5.5" async-minecraft-ping = "0.8.0" diesel = { version = "2.0.4", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "r2d2"] } diesel_migrations = { version = "2.0.0", features = [ "sqlite" ] } -# Force sqlite3 to be bundled, allowing for a fully static binary -libsqlite3-sys = { version = "*", features = ["bundled"] } diff --git a/build.rs b/src/build.rs similarity index 100% rename from build.rs rename to src/build.rs diff --git a/src/models.rs b/src/models.rs new file mode 100644 index 0000000..e69de29