commit bf6ae50fcdb4bf9f3f68bb7c64fe43de01ba3815 Author: Gabriel Date: Sun May 17 22:23:52 2026 +0200 init: k-ap crate scaffold diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f9f736c --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "k-ap" +version = "0.1.0" +edition = "2024" +description = "Generic ActivityPub protocol layer" +license = "MIT" +publish = ["gitea"] + +[dependencies] +tokio = { version = "1.0", features = ["macros", "net", "rt", "rt-multi-thread", "sync", "time"] } +futures = "0.3" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +uuid = { version = "1.0", features = ["v4", "v5", "serde"] } +chrono = { version = "0.4", features = ["serde"] } +anyhow = "1.0" +tracing = "0.1" +async-trait = "0.1" +axum = { version = "0.8", features = ["macros"] } +reqwest = { version = "0.13", features = ["json"] } +url = { version = "2", features = ["serde"] } +enum_delegate = "0.2" +activitypub_federation = "0.7.0-beta.11" diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..b07ac90 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +// placeholder — filled in Task 4