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

Prepare release #343

Merged
merged 3 commits into from
Nov 27, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading