Skip to content

Commit

Permalink
feat(backend): add basic trait for provider
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed May 8, 2023
1 parent 2619dcb commit d5d24f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions apps/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apalis = { version = "0.3.6", features = ["sqlite", "extensions"] }
argon2 = "0.5.0"
async-graphql = { version = "5.0.7", features = ["chrono", "decimal", "log", "uuid"] }
async-graphql-axum = "5.0.7"
async-trait = "0.1.68"
axum = { version = "0.6.12", features = ["macros"] }
chrono = "0.4.24"
cookie = "0.17.0"
Expand Down
1 change: 1 addition & 0 deletions apps/backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ mod media;
mod migrator;
mod misc;
mod movies;
mod providers;
mod shows;
mod users;
mod utils;
Expand Down
4 changes: 4 additions & 0 deletions apps/backend/src/providers/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
use async_trait::async_trait;

#[async_trait]
pub trait Provider {}

0 comments on commit d5d24f0

Please sign in to comment.