feat(apb): re-export reqwest and bump version

This commit is contained in:
əlemi 2024-12-07 01:27:26 +01:00
parent 870c781cf7
commit 96ff359d11
Signed by: alemi
GPG key ID: A4895B84D311642C
3 changed files with 24 additions and 2 deletions

21
Cargo.lock generated
View file

@ -140,7 +140,7 @@ checksum = "d301b3b94cb4b2f23d7917810addbbaff90738e0ca2be692bd027e70d7e0330c"
[[package]] [[package]]
name = "apb" name = "apb"
version = "0.2.2" version = "0.3.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"paste", "paste",
@ -271,6 +271,7 @@ dependencies = [
"matchit", "matchit",
"memchr", "memchr",
"mime", "mime",
"multer",
"percent-encoding", "percent-encoding",
"pin-project-lite", "pin-project-lite",
"rustversion", "rustversion",
@ -2324,6 +2325,24 @@ dependencies = [
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
[[package]]
name = "multer"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a15d522be0a9c3e46fd2632e272d178f56387bdb5c9fbb3a36c649062e9b5219"
dependencies = [
"bytes",
"encoding_rs",
"futures-util",
"http 1.1.0",
"httparse",
"log",
"memchr",
"mime",
"spin",
"version_check",
]
[[package]] [[package]]
name = "native-tls" name = "native-tls"
version = "0.2.12" version = "0.2.12"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "apb" name = "apb"
version = "0.2.2" version = "0.3.0"
edition = "2021" edition = "2021"
authors = [ "alemi <me@alemi.dev>" ] authors = [ "alemi <me@alemi.dev>" ]
description = "Traits and types to handle ActivityPub objects" description = "Traits and types to handle ActivityPub objects"

View file

@ -146,3 +146,6 @@ pub use types::{
pub fn new() -> serde_json::Value { pub fn new() -> serde_json::Value {
serde_json::Value::Object(serde_json::Map::default()) serde_json::Value::Object(serde_json::Map::default())
} }
#[cfg(feature = "fetch")]
pub use reqwest;