Skip to content

Commit

Permalink
twiq: Add query_handler crate
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Oct 13, 2022
1 parent 675d0c3 commit 52de07d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions twiq/Cargo.lock

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

4 changes: 4 additions & 0 deletions twiq/Dockerfile
Expand Up @@ -14,6 +14,9 @@ COPY ./crates/event_store_core/Cargo.toml ./crates/event_store_core/Cargo.toml
RUN mkdir -p crates/import_twitter_data/src/
RUN echo "fn main() {}" > ./crates/import_twitter_data/src/main.rs
COPY ./crates/import_twitter_data/Cargo.toml ./crates/import_twitter_data/Cargo.toml
RUN mkdir -p crates/query_handler/src/
RUN echo "fn main() {}" > ./crates/query_handler/src/main.rs
COPY ./crates/query_handler/Cargo.toml ./crates/query_handler/Cargo.toml
RUN mkdir -p crates/twitter_user_id/src/
RUN echo "fn main() {}" > ./crates/twitter_user_id/src/main.rs
COPY ./crates/twitter_user_id/Cargo.toml ./crates/twitter_user_id/Cargo.toml
Expand All @@ -30,6 +33,7 @@ RUN rm ./crates/db/src/main.rs
RUN rm ./crates/domain/src/main.rs
RUN rm ./crates/event_store_core/src/main.rs
RUN rm ./crates/import_twitter_data/src/main.rs
RUN rm ./crates/query_handler/src/main.rs
RUN rm ./crates/twitter_user_id/src/main.rs
RUN rm ./crates/use_case/src/main.rs
RUN rm ./crates/web/src/main.rs
Expand Down
7 changes: 7 additions & 0 deletions twiq/crates/query_handler/Cargo.toml
@@ -0,0 +1,7 @@
[package]
name = "query_handler"
version = "0.0.0"
edition = "2021"

[dependencies]
domain = { path = "../domain" }
1 change: 1 addition & 0 deletions twiq/crates/query_handler/src/lib.rs
@@ -0,0 +1 @@

0 comments on commit 52de07d

Please sign in to comment.