Skip to content

Commit

Permalink
remove unnecessary dependency on barrel
Browse files Browse the repository at this point in the history
  • Loading branch information
kkohbrok committed Sep 12, 2024
1 parent 343ecb7 commit fb62d17
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion coreclient/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ kamadak-exif = "0.5.5"

# Persistence
refinery = { version = "0.8", features = ["rusqlite", "enums"] }
barrel = { version = "0.7", features = ["sqlite3"] }
async-trait = "0.1"
serde = { version = "1", features = ["derive"] }
rusqlite = { version = "0.30", features = ["bundled", "uuid", "chrono"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::conversations::messages::ConversationMessage;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V11__create_as_credentials_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::key_stores::as_credentials::AsCredentials;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V12__create_leaf_keys_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::key_stores::leaf_keys::LeafKeys;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::key_stores::qs_verifying_keys::StorableQsVerifyingKey;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V14__create_queue_ratchets_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::key_stores::queue_ratchets::StorableAsQueueRatchet;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V15__create_group_data_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::group_data::StorableGroupData;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V16__create_leaf_nodes_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::own_leaf_nodes::StorableLeafNode;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V17__create_proposals_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::proposals::StorableProposal;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::signature_key_pairs::StorableSignatureKeyPairs;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V19__create_epoch_key_pairs_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::epoch_key_pairs::StorableEpochKeyPairs;
use crate::utils::persistence::Storable;
Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V1__create_user_creation_state_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::clients::store::UserCreationState;
use crate::utils::persistence::Storable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::encryption_key_pairs::StorableEncryptionKeyPair;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V21__create_key_packages_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V22__create_psk_bundles_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::psks::StorablePskBundle;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::openmls_provider::key_packages::StorableKeyPackage;
use crate::utils::persistence::Storable;
Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V2__create_own_client_info_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::clients::own_client_info::OwnClientInfo;
use crate::utils::persistence::Storable;

Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V3__create_own_user_profile_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::user_profiles::UserProfile;
use crate::utils::persistence::Storable;

Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V4__create_groups_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::persistence::StorableGroup;
use crate::utils::persistence::Storable;

Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V5__create_client_credential_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::client_auth_info::StorableClientCredential;
use crate::utils::persistence::Storable;

Expand Down
2 changes: 0 additions & 2 deletions coreclient/migrations/V6__create_group_membership_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::groups::client_auth_info::GroupMembership;
use crate::utils::persistence::Storable;

Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V7__create_contacts_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::contacts::Contact;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V8__create_partial_contact_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::contacts::PartialContact;
use crate::utils::persistence::Storable;
Expand Down
1 change: 0 additions & 1 deletion coreclient/migrations/V9__create_conversations_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use barrel::{backend::Sqlite, types, Migration};

use crate::conversations::Conversation;
use crate::utils::persistence::Storable;
Expand Down

0 comments on commit fb62d17

Please sign in to comment.