apub/Cargo.toml
2021-11-29 16:04:39 -06:00

60 lines
2 KiB
TOML

[package]
name = "apub"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["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-publickey", "apub-simple-activitypub"]
[dependencies]
apub-actix-web = { version = "0.1.0", path = "./apub-actix-web/", optional = true }
apub-awc = { version = "0.1.0", path = "./apub-awc/", optional = true }
apub-background-jobs = { version = "0.1.0", path = "./apub-background-jobs/", optional = true }
apub-breaker-session = { version = "0.1.0", path = "./apub-breaker-session/", optional = true }
apub-core = { version = "0.1.0", path = "./apub-core/" }
apub-openssl = { version = "0.1.0", path = "./apub-openssl/", optional = true }
apub-privatekey = { version = "0.1.0", path = "./apub-privatekey/" }
apub-publickey = { version = "0.1.0", path = "./apub-publickey/", optional = true }
apub-reqwest = { version = "0.1.0", path = "./apub-reqwest/", optional = true }
apub-rustcrypto = { version = "0.1.0", path = "./apub-rustcrypto/", optional = true }
apub-simple-activitypub = { version = "0.1.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-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"
]