diff options
author | Vika <vika@fireburn.ru> | 2024-08-20 00:35:30 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-08-20 01:46:13 +0300 |
commit | d6a8525274ccd96a5ce9540ea2ba1e463c84ff90 (patch) | |
tree | 9daa6fceda3f019629f99acb1b150882a5e151d4 /src/database | |
parent | a46e16258f83cc5939c568bba3a62ccc28114365 (diff) | |
download | kittybox-d6a8525274ccd96a5ce9540ea2ba1e463c84ff90.tar.zst |
kittybox-util: 0.1.0 -> 0.2.0
Micropub types are now more coherent and gathered in one place.
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/mod.rs | 2 | ||||
-rw-r--r-- | src/database/postgres/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/database/mod.rs b/src/database/mod.rs index ac8b43c..d60ac05 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -17,7 +17,7 @@ mod memory; #[cfg(test)] pub use crate::database::memory::MemoryStorage; -pub use kittybox_util::MicropubChannel; +pub use kittybox_util::micropub::Channel as MicropubChannel; use self::settings::Setting; diff --git a/src/database/postgres/mod.rs b/src/database/postgres/mod.rs index 7f788a8..3aef08e 100644 --- a/src/database/postgres/mod.rs +++ b/src/database/postgres/mod.rs @@ -1,6 +1,6 @@ use std::borrow::Cow; -use kittybox_util::{MicropubChannel, MentionType}; +use kittybox_util::{micropub::Channel as MicropubChannel, MentionType}; use sqlx::{ConnectOptions, Executor, PgPool}; use crate::micropub::{MicropubUpdate, MicropubPropertyDeletion}; |