Skip to content

Commit

Permalink
Prepare release (#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 authored Nov 27, 2023
1 parent a38b3ca commit eb4feec
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,3 @@ esp-println = { version = "0.6.0" }
esp-backtrace = { version = "0.8.0", features = ["panic-handler", "exception-handler", "print-uart"] }
embedded-hal-async = { version = "1.0.0-rc.1" }
embedded-io-async = { version = "0.6.0" }

# required until https://github.com/esp-rs/esp-hal/pull/891 is released
[patch.crates-io]
esp32c3-hal = { git = "https://github.com/esp-rs/esp-hal.git", rev = "8eddb9e737a1bfe0a36f90f54103e9167114813a" }
esp-hal-common = { git = "https://github.com/esp-rs/esp-hal.git", rev = "8eddb9e737a1bfe0a36f90f54103e9167114813a" }
21 changes: 21 additions & 0 deletions esp-wifi-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
name = "esp-wifi-sys"
version = "0.1.0"
edition = "2021"
authors = [
"The ESP-RS team",
]
description = "Bindings to Espressif's WiFi and Bluetooth low-level drivers"
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]

Expand All @@ -18,3 +36,6 @@ esp32c3 = []
esp32c6 = []
esp32s2 = []
esp32s3 = []

[package.metadata.docs.rs]
features = ["esp32c3"]
1 change: 1 addition & 0 deletions esp-wifi-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")]

pub mod c_types;

Expand Down
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 eb4feec

Please sign in to comment.