Skip to content

Commit

Permalink
ripped it all out
Browse files Browse the repository at this point in the history
  • Loading branch information
damiensedgwick committed Nov 14, 2024
1 parent 593d70d commit a7c7b0c
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 2,626 deletions.
2,062 changes: 0 additions & 2,062 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions packages-rs/drainpipe/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# This is only used outside of docker
DATABASE_URL="drainpipe.db"
FRONTPAGE_CONSUMER_URL="http://localhost:3000/api/receive_hook"
2 changes: 2 additions & 0 deletions packages-rs/drainpipe/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/target

// TODO: we can maybe get rid of all the db bits???
drainpipe.db
drainpipe.db-shm
drainpipe.db-wal
Expand Down
23 changes: 1 addition & 22 deletions packages-rs/drainpipe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
[package]
name = "drainpipe"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
anyhow = "1.0.86"
chrono = { version = "0.4.38", features = ["serde"] }
ciborium = "0.2.2"
cid = { version = "0.11.1", features = ["serde-codec"] }
debug-ignore = "1.0.5"
diesel = { version = "2.2.0", features = ["sqlite"] }
diesel_migrations = "2.2.0"
dotenv-flow = "0.16.2"
futures = "0.3.30"
reqwest = { version = "0.12.4", features = ["json"] }
serde = "1.0.203"
serde_bytes = "0.11.14"
serde_ipld_dagcbor = "0.6.1"
tokio = { version = "1.38.0", features = ["full"] }
tokio-metrics = "0.3.1"
tokio-tungstenite = { version = "0.23.0", features = ["native-tls"] }
url = "2.5.0"

[dependencies.libsqlite3-sys]
version = "0.28"
features = ["bundled"]
2 changes: 2 additions & 0 deletions packages-rs/drainpipe/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM rust:1.78-alpine AS builder

# TODO: Figure out what we need to change here!

RUN apk add libressl-dev musl-dev sqlite-dev

WORKDIR /usr/src/unravel
Expand Down
9 changes: 0 additions & 9 deletions packages-rs/drainpipe/diesel.toml

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

75 changes: 0 additions & 75 deletions packages-rs/drainpipe/src/db.rs

This file was deleted.

140 changes: 0 additions & 140 deletions packages-rs/drainpipe/src/firehose.rs

This file was deleted.

Loading

0 comments on commit a7c7b0c

Please sign in to comment.