Skip to content

Commit

Permalink
chore: mod declartion hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit committed Jun 11, 2024
1 parent 2f4d537 commit d0b21bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ setup-db:
reset-deps: clean-deps start-deps setup-db

run-server:
cargo run --bin cala-server -- --config ./bats/cala.yml
cargo run --bin cala-server -- --config ./bats/cala.yml

rust-example:
cargo run --bin cala-ledger-example-rust
Expand Down
10 changes: 4 additions & 6 deletions cala-server/src/integration/mod.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
use serde::{Deserialize, Serialize};

mod encryption_config;
pub mod error;

pub use encryption_config::*;
use error::IntegrationError;

use serde::{Deserialize, Serialize};
use sqlx::PgPool;

use cala_ledger::AtomicOperation;

cala_types::entity_id! { IntegrationId }

pub use encryption_config::*;
use error::IntegrationError;

pub struct Integration {
pub id: IntegrationId,
pub name: String,
Expand Down

0 comments on commit d0b21bf

Please sign in to comment.