Skip to content

Commit

Permalink
Merge pull request #64 from drogue-iot/update-stable-rust
Browse files Browse the repository at this point in the history
feat: update to use stable rust
  • Loading branch information
lulf authored Jan 7, 2024
2 parents ab10c14 + 687e491 commit 395d8d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
8 changes: 3 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reqwless"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
resolver = "2"
description = "HTTP client for embedded devices"
Expand All @@ -13,7 +13,7 @@ keywords = ["embedded", "async", "http", "no_std"]
exclude = [".github"]

[dependencies]
buffered-io = { version = "0.4.0", features = ["async"] }
buffered-io = { version = "0.5" }
embedded-io = { version = "0.6" }
embedded-io-async = { version = "0.6" }
embedded-nal-async = "0.7.0"
Expand All @@ -24,9 +24,7 @@ base64 = { version = "0.21.0", default-features = false }
rand_core = { version = "0.6", default-features = true }
log = { version = "0.4", optional = true }
defmt = { version = "0.3", optional = true }
embedded-tls = { version = "0.16", default-features = false, features = [
"async",
], optional = true }
embedded-tls = { version = "0.17", default-features = false, optional = true }
rand_chacha = { version = "0.3", default-features = false }
nourl = "0.1.1"

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Before upgrading check that everything is available on all tier1 targets here:
# https://rust-lang.github.io/rustup-components-history
[toolchain]
channel = "nightly-2023-10-21"
channel = "1.75"
components = ["clippy"]
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#![cfg_attr(not(test), no_std)]
#![allow(unknown_lints, async_fn_in_trait)]
#![allow(stable_features)]
#![feature(async_fn_in_trait)]
#![feature(impl_trait_projections)]
#![doc = include_str!("../README.md")]
#![allow(async_fn_in_trait)]
use core::{num::ParseIntError, str::Utf8Error};

use embedded_io_async::ReadExactError;
Expand Down
2 changes: 0 additions & 2 deletions tests/client.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(async_fn_in_trait)]
#![allow(incomplete_features)]
use embedded_io_async::BufRead;
use hyper::server::conn::Http;
use hyper::service::{make_service_fn, service_fn};
Expand Down

0 comments on commit 395d8d0

Please sign in to comment.