chore: switch activitypub-base to k-ap git dep

This commit is contained in:
2026-05-17 22:47:32 +02:00
parent d56d34cc27
commit 6936b7ce62
22 changed files with 28 additions and 28 deletions

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
activitypub-base = { workspace = true }
k-ap = { git = "https://git.gabrielkaszewski.dev/GKaszewski/k-ap.git", tag = "v0.1.0" }
domain = { workspace = true }
url = { workspace = true }
serde = { workspace = true }
@@ -14,3 +14,4 @@ chrono = { workspace = true }
uuid = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
activitypub_federation = "0.7.0-beta.11"

View File

@@ -8,8 +8,9 @@ use std::sync::Arc;
use url::Url;
use crate::note::{ThoughtNote, ThoughtNoteInput};
use crate::port::{AcceptNoteInput, ActivityPubRepository};
use crate::urls::ThoughtsUrls;
use activitypub_base::{AcceptNoteInput, ActivityPubRepository, ApObjectHandler};
use k_ap::ApObjectHandler;
use domain::ports::{EventPublisher, TagRepository};
use domain::value_objects::UserId;

View File

@@ -1,5 +1,5 @@
use activitypub_base::NoteType;
use activitypub_base::AS_PUBLIC;
use k_ap::NoteType;
use k_ap::AS_PUBLIC;
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use url::Url;