Compare commits

..

No commits in common. "7c09814bba8f879d57c7b26fe68e21acb8c68424" and "7d0055e30b11b7069897b689dea373359494a1ad" have entirely different histories.

4 changed files with 2 additions and 23 deletions

View File

@ -7,7 +7,7 @@ members = [
]
[workspace.package]
version = "1.2.2"
version = "1.2.1"
license = "MIT/Apache-2.0"
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>", "D. Scott Boggs <scott@tams.tech>"]
edition = "2021"
@ -75,7 +75,6 @@ features = ["serde"]
[dependencies.reqwest]
version = "0.11"
features = ["multipart", "json", "stream"]
default-features = false
[dependencies.serde]
version = "1"

View File

@ -25,14 +25,6 @@ Alternatively, run the following command:
$ cargo add mastodon-async
~~~
### Use Rustls instead of OpenSSL
To use Rustls instead of OpenSSL for HTTPS request, define the dependency as follows
```toml
mastodon-async = { version = "1", default-features = false, features = ["rustls-tls"] }
```
## A Note on Debugging
This library offers structured logging. To get better information about bugs or
how something is working, I recommend adding the femme crate as a dependency,

View File

@ -25,7 +25,7 @@ version = "1"
features = ["derive"]
[dependencies.time]
version = ">=0.3.16"
version = "0.3"
features = ["parsing", "serde", "formatting"]
[dev-dependencies]

View File

@ -1,12 +0,0 @@
# nix requires using nix-shell since native-tls requires pkg-config to
# configure openssl
#
# See also:
# https://nixos.wiki/wiki/C#pkg-config
# https://github.com/NixOS/nixpkgs/issues/64530
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "mastodon-async";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
}