2024-04-06 16:56:13 +02:00
|
|
|
[package]
|
|
|
|
name = "apb"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2024-04-06 18:17:07 +02:00
|
|
|
authors = [ "alemi <me@alemi.dev>" ]
|
|
|
|
description = "Traits and types to handle ActivityPub objects"
|
|
|
|
license = "MIT"
|
|
|
|
keywords = ["activitypub", "activitystreams", "json"]
|
|
|
|
repository = "https://git.alemi.dev/upub.git"
|
|
|
|
readme = "README.md"
|
2024-04-06 16:56:13 +02:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2024-04-06 18:04:14 +02:00
|
|
|
thiserror = "1"
|
|
|
|
paste = "1.0"
|
|
|
|
tracing = "0.1"
|
|
|
|
serde_json = { version = "1", optional = true }
|
2024-04-06 16:56:13 +02:00
|
|
|
sea-orm = { version = "0.12", optional = true }
|
2024-04-06 18:04:14 +02:00
|
|
|
reqwest = { version = "0.12", features = ["json"], optional = true }
|
2024-04-06 16:56:13 +02:00
|
|
|
|
|
|
|
[features]
|
2024-04-06 18:04:14 +02:00
|
|
|
default = []
|
|
|
|
orm = ["dep:sea-orm"]
|
|
|
|
fetch = ["dep:reqwest"]
|
|
|
|
unstructured = ["dep:serde_json"]
|
|
|
|
# TODO eventually also make a structured base?
|