Skip to content

Commit 63d72a8

Browse files
committed
add description to crate & README
1 parent e73c3d5 commit 63d72a8

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name = "adafruit-bluefruit-protocol"
33
version = "0.1.0"
44
edition = "2021"
55

6+
description = "A `no_std` parser for the Adafruit Bluefruit LE Connect controller protocol."
7+
repository = "https://github.com/rursprung/adafruit-bluefruit-protocol-rs"
8+
keywords = ["adafruit", "bluefruit", "protocol", "bluetooth", "embedded", "driver", "no_std"]
69
license = "MIT"
710

811
[dependencies]

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
# Adafruit Bluefruit LE UART Friend Rust Driver
2-
Currently written directly against the stm32f4xx-hal but hopefully this can be rewritten against the embedded-hal traits.
1+
# Adafruit Bluefruit LE Connect Controller Protocol Parser
2+
[![CI](https://github.com/rursprung/adafruit-bluefruit-protocol-rs/actions/workflows/CI.yml/badge.svg)](https://github.com/rursprung/adafruit-bluefruit-protocol-rs/actions/workflows/CI.yml)
3+
4+
This implements the [Adafruit Bluefruit LE Connect controller protocol](https://learn.adafruit.com/bluefruit-le-connect/controller)
5+
which is e.g. used by the [Adafruit Bluefruit LE UART Friend](https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-friend).
6+
7+
Note that this work is not affiliated with Adafruit.
8+
9+
## Optional features
10+
* `defmt`: you can enable the [`defmt`](https://defmt.ferrous-systems.com/) feature to get a `defmt::Format` implementation for all structs & enums and a `defmt::debug!` call for each command being parsed.

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
//! Implements the [Controller Protocol](https://learn.adafruit.com/bluefruit-le-connect/controller) from Adafruit
1+
//! This implements the [Adafruit Bluefruit LE Connect controller protocol](https://learn.adafruit.com/bluefruit-le-connect/controller)
22
//! which is e.g. used by the [Adafruit Bluefruit LE UART Friend](https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-friend).
3+
//!
4+
//! ## Optional features
5+
//! * `defmt`: you can enable the `defmt` feature to get a `defmt::Format` implementation for all structs & enums and a `defmt::debug!` call for each command being parsed.
36
47
#![forbid(unsafe_code)]
58
// use deny instead of forbid due to bogus warnings, see also https://github.com/rust-lang/rust/issues/81670

0 commit comments

Comments
 (0)