Skip to content

Commit

Permalink
Prepare release (esp-rs#343)
Browse files Browse the repository at this point in the history
* Prepare first release

* Always enable `async` for `bleps`

* Remove obsolete patch
  • Loading branch information
bjoernQ committed May 23, 2024
1 parent be7a1f6 commit f21809b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
24 changes: 22 additions & 2 deletions esp-wifi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,25 @@
name = "esp-wifi"
version = "0.1.0"
edition = "2021"
authors = [
"The ESP-RS team",
]
description = "A WiFi, Bluetooth and ESP-NOW driver for use with Espressif chips and bare-metal Rust"
repository = "https://github.com/esp-rs/esp-wifi"
license = "MIT OR Apache-2.0"

keywords = [
"wifi",
"bluetooth",
"esp",
"no-std",
]
categories = [
"embedded",
"hardware-support",
"no-std",
]

[dependencies]
defmt = { workspace = true, optional = true }
esp32c3-hal = { workspace = true, optional = true }
Expand Down Expand Up @@ -44,7 +61,7 @@ embedded-svc.workspace = true
embassy-executor.workspace = true
embassy-time.workspace = true
futures-util.workspace = true
bleps.workspace = true
bleps = { workspace = true, features = ["async"] }
embedded-hal-async.workspace = true
log.workspace = true
smoltcp.workspace = true
Expand Down Expand Up @@ -78,7 +95,6 @@ async = [
"esp32-hal?/async",
"esp32s2-hal?/async",
"esp32s3-hal?/async",
"bleps/async"
]

embassy-net = ["dep:embassy-net", "async"]
Expand Down Expand Up @@ -126,6 +142,10 @@ log = [
"esp32s3-hal?/log",
]

[package.metadata.docs.rs]
features = ["esp32c3", "wifi", "ble", "async", "embassy-net", "esp32c3-hal/embassy-time-systick", "esp32c3-hal/default"]
default-target = "riscv32imc-unknown-none-elf"

# These examples are used in test automation
[[example]]
name = "test_esp_now"
Expand Down
1 change: 1 addition & 0 deletions esp-wifi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#![cfg_attr(feature = "async", feature(async_fn_in_trait))]
#![cfg_attr(feature = "async", allow(incomplete_features))]
#![doc = include_str!("../../README.md")]
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")]

// MUST be the first module
mod fmt;
Expand Down

0 comments on commit f21809b

Please sign in to comment.