feat: initial commit

This commit is contained in:
nullishamy 2025-04-10 19:40:50 +01:00
commit a4a1ef0745
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
19 changed files with 4436 additions and 0 deletions

7
ferri-main/Cargo.toml Normal file
View file

@ -0,0 +1,7 @@
[package]
name = "main"
version = "0.1.0"
edition = "2024"
[dependencies]
serde = { workspace = true }

27
ferri-main/src/ap/mod.rs Normal file
View file

@ -0,0 +1,27 @@
pub type ObjectId = String;
pub enum ObjectType {
Person,
}
pub struct Object {
id: ObjectId,
ty: ObjectType
}
pub struct Actor {
obj: Object,
inbox: Inbox,
outbox: Outbox,
}
pub struct Inbox {}
pub struct Outbox {}
pub struct Message {}
pub struct Activity {
}

1
ferri-main/src/lib.rs Normal file
View file

@ -0,0 +1 @@
pub mod ap;