apub/Cargo.toml
Aode (lion) 52fbfcdb82
All checks were successful
continuous-integration/drone/push Build is passing
Bump versions
2021-12-05 15:19:45 -06:00

83 lines
2.5 KiB
TOML

[package]
name = "apub"
description = "Utilities for building activitypub servers"
version = "0.2.0"
license = "AGPL-3.0"
authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/asonix/apub"
keywords = ["activitypub", "activitystreams", "federation", "async"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["utils"]
full = [
"with-actix-web",
"with-awc",
"with-background-jobs",
"with-openssl",
"with-rustcrypto",
"utils"
]
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"]
utils = [
"apub-breaker-session",
"apub-ingest",
"apub-publickey",
"apub-simple-activitypub"
]
[dependencies]
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 }
[dev-dependencies]
async-trait = "0.1.51"
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"] }
[workspace]
members = [
"apub-actix-web",
"apub-awc",
"apub-background-jobs",
"apub-breaker-session",
"apub-core",
"apub-ingest",
"apub-openssl",
"apub-privatekey",
"apub-publickey",
"apub-reqwest",
"apub-rustcrypto",
"apub-simple-activitypub",
"examples/actix-web-example",
"examples/awc-example",
"examples/background-jobs-example",
"examples/example-types",
"examples/reqwest-example"
]
[package.metadata.docs.rs]
all-features = true