Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to use stable rust #64

Merged
merged 1 commit into from Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions Cargo.toml
@@ -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
@@ -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
@@ -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
@@ -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