Skip to content

Commit

Permalink
feat: Enable impl Trait in associated types.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sycrosity committed Aug 13, 2024
1 parent 35d1668 commit 3c2d528
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![no_std]
#![no_main]
#![feature(impl_trait_in_assoc_type)]
#![feature(type_alias_impl_trait)]
#![feature(error_in_core)]
#![allow(clippy::unused_unit)]
Expand All @@ -23,6 +24,7 @@ pub mod volume;
pub mod prelude {

pub const SSID: &str = env!("SSID");

pub const PASSWORD: &str = env!("PASSWORD");
pub const CLIENT_ID: &str = env!("CLIENT_ID");

Expand Down
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use embassy_executor::Spawner;
use embassy_net::{
Expand All @@ -19,13 +20,14 @@ use esp_hal::{
peripherals::{Peripherals, ADC1},
rng::Rng,
sha::{Sha, ShaMode},
timer::timg::TimerGroup,
timer::{OneShotTimer, PeriodicTimer},
};
use esp_println::println;
use reqwless::{
client::{HttpClient, TlsConfig, TlsVerify},
request::{Method, RequestBuilder},
};
use static_cell::make_static;
use teeny::{
auth::AuthParams,
blink::blink,
Expand Down

0 comments on commit 3c2d528

Please sign in to comment.