apub/Cargo.toml

83 lines
2.5 KiB
TOML
Raw Permalink Normal View History

2021-11-18 04:17:36 +00:00
[package]
name = "apub"
2021-11-30 03:38:25 +00:00
description = "Utilities for building activitypub servers"
2021-12-05 21:19:45 +00:00
version = "0.2.0"
2021-11-30 03:38:25 +00:00
license = "AGPL-3.0"
authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/asonix/apub"
keywords = ["activitypub", "activitystreams", "federation", "async"]
2021-11-18 04:17:36 +00:00
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2021-11-22 20:00:31 +00:00
[features]
default = ["utils"]
2021-11-30 03:38:25 +00:00
full = [
"with-actix-web",
"with-awc",
"with-background-jobs",
"with-openssl",
"with-rustcrypto",
"utils"
]
2021-11-24 01:28:56 +00:00
with-actix-web = ["apub-actix-web"]
with-awc = ["apub-awc"]
with-background-jobs = ["apub-background-jobs"]
with-openssl = ["apub-openssl"]
with-reqwest = ["apub-reqwest"]
with-rustcrypto = ["apub-rustcrypto"]
2021-11-30 03:38:25 +00:00
utils = [
"apub-breaker-session",
"apub-ingest",
"apub-publickey",
"apub-simple-activitypub"
]
2021-11-22 20:00:31 +00:00
2021-11-18 04:17:36 +00:00
[dependencies]
2021-12-05 21:19:45 +00:00
apub-actix-web = { version = "0.2.0", path = "./apub-actix-web/", optional = true }
apub-awc = { version = "0.2.0", path = "./apub-awc/", optional = true }
apub-background-jobs = { version = "0.2.0", path = "./apub-background-jobs/", optional = true }
apub-breaker-session = { version = "0.2.0", path = "./apub-breaker-session/", optional = true }
apub-core = { version = "0.2.0", path = "./apub-core/" }
apub-ingest = { version = "0.2.0", path = "./apub-ingest/", optional = true }
apub-openssl = { version = "0.2.0", path = "./apub-openssl/", optional = true }
apub-privatekey = { version = "0.2.0", path = "./apub-privatekey/" }
apub-publickey = { version = "0.2.0", path = "./apub-publickey/", optional = true }
apub-reqwest = { version = "0.2.0", path = "./apub-reqwest/", optional = true }
apub-rustcrypto = { version = "0.2.0", path = "./apub-rustcrypto/", optional = true }
apub-simple-activitypub = { version = "0.2.0", path = "./apub-simple-activitypub/", optional = true }
2021-11-18 04:17:36 +00:00
2021-11-24 01:28:56 +00:00
[dev-dependencies]
2021-11-28 02:06:53 +00:00
async-trait = "0.1.51"
2021-11-24 01:28:56 +00:00
dashmap = "4.0.2"
openssl = "0.10"
reqwest = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.14", features = ["full"] }
url = { version = "2", features = ["serde"] }
2021-11-18 04:17:36 +00:00
[workspace]
members = [
2021-11-19 20:52:31 +00:00
"apub-actix-web",
2021-11-18 04:17:36 +00:00
"apub-awc",
2021-11-18 22:10:12 +00:00
"apub-background-jobs",
2021-11-18 04:17:36 +00:00
"apub-breaker-session",
"apub-core",
"apub-ingest",
2021-11-18 04:17:36 +00:00
"apub-openssl",
2021-11-29 22:04:39 +00:00
"apub-privatekey",
2021-11-28 02:06:53 +00:00
"apub-publickey",
2021-11-18 04:17:36 +00:00
"apub-reqwest",
"apub-rustcrypto",
"apub-simple-activitypub",
2021-11-19 20:52:31 +00:00
"examples/actix-web-example",
2021-11-18 04:17:36 +00:00
"examples/awc-example",
2021-11-18 22:10:12 +00:00
"examples/background-jobs-example",
2021-11-18 04:17:36 +00:00
"examples/example-types",
"examples/reqwest-example"
]
2021-11-30 03:38:25 +00:00
[package.metadata.docs.rs]
all-features = true