Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Apr 3, 2024
1 parent 9607b13 commit 0d62912
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
13 changes: 10 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vndb"
version = "0.15.0"
version = "0.16.0"
authors = ["Douman <douman@gmx.se>"]
description = "Kawaii VNDB API"
license = "MIT"
Expand All @@ -22,12 +22,13 @@ version = "1"
features = ["derive"]

[dependencies.rustls]
version = "0.22"
version = "0.23"
default-features = false
optional = true

[dependencies.webpki-roots]
version = "0.26"
default-features = false
optional = true

[dependencies.tokio]
Expand All @@ -36,7 +37,8 @@ optional = true
features = ["net", "io-util"]

[dependencies.tokio-rustls]
version = "0.25"
version = "0.26"
default-features = false
optional = true

[dependencies]
Expand All @@ -53,5 +55,10 @@ rustls-on = ["rustls", "webpki-roots"]
version = "1.0"
features = ["rt", "macros"]

[dev-dependencies.rustls]
version = "0.23"
default-features = false
features = ["ring"]

[package.metadata.docs.rs]
features = ["rustls-on", "tokio-on"]
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ vndb.rs
[![Rust](https://github.com/DoumanAsh/vndb.rs/actions/workflows/rust.yml/badge.svg)](https://github.com/DoumanAsh/vndb.rs/actions/workflows/rust.yml)
[![Crates.io](https://img.shields.io/crates/v/vndb.svg)](https://crates.io/crates/vndb)
[![Documentation](https://docs.rs/vndb/badge.svg)](https://docs.rs/crate/vndb/)
[![dependency status](https://deps.rs/crate/vndb/0.15.0/status.svg)](https://deps.rs/crate/vndb/0.15.0)
[![dependency status](https://deps.rs/crate/vndb/0.16.0/status.svg)](https://deps.rs/crate/vndb/0.16.0)

Kawaii VNDB API

## Features

* Tokio support
* Provides protocol requests/responses for user to use directly.
* Optional parsing of get responses into static structs.

## TLS client

Due to bad default choice of underlying crypto library, `rustls` is included with `default-features = false` which essentially makes it unusable until user provides feature.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
//!- `tokio-on` - Enables [tokio](https://tokio.rs/) implementation.
//!- `rustls-on` - Enables TLS implementation, using rustls
//!
//!## TLS client
//!
//!Due to bad default choice of underlying crypto library, `rustls` is included with `default-features = false` which essentially makes it unusable until user provides feature.

#![warn(missing_docs)]
#![cfg_attr(feature = "cargo-clippy", allow(clippy::style))]

Expand Down

0 comments on commit 0d62912

Please sign in to comment.