From 00de6fc9191a9f0ae11a361bb29e365380839d47 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Tue, 31 Dec 2024 11:54:25 +0100 Subject: [PATCH] feat: Normalize keyword and categories for most of the pacakges --- esp-alloc/Cargo.toml | 13 ++----------- esp-backtrace/Cargo.toml | 2 ++ esp-hal-embassy/Cargo.toml | 2 ++ esp-ieee802154/Cargo.toml | 2 ++ esp-lp-hal/Cargo.toml | 15 ++------------- esp-println/Cargo.toml | 2 ++ esp-riscv-rt/Cargo.toml | 4 ++-- esp-storage/Cargo.toml | 16 ++-------------- esp-wifi/Cargo.toml | 5 ++--- 9 files changed, 18 insertions(+), 43 deletions(-) diff --git a/esp-alloc/Cargo.toml b/esp-alloc/Cargo.toml index 17e20420926..3319fa7692c 100644 --- a/esp-alloc/Cargo.toml +++ b/esp-alloc/Cargo.toml @@ -4,20 +4,11 @@ version = "0.5.0" edition = "2021" rust-version = "1.68" description = "A heap allocator for Espressif devices" +keywords = ["allocator", "embedded", "embedded-hal", "esp32", "espressif", "memory"] +categories = ["embedded", "memory-management", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" -keywords = [ - "allocator", - "esp32", - "riscv", - "xtensa", -] -categories = [ - "memory-management", - "no-std", -] - [package.metadata.docs.rs] default-target = "riscv32imc-unknown-none-elf" features = ["nightly"] diff --git a/esp-backtrace/Cargo.toml b/esp-backtrace/Cargo.toml index ae141039121..83fd02d4464 100644 --- a/esp-backtrace/Cargo.toml +++ b/esp-backtrace/Cargo.toml @@ -4,6 +4,8 @@ version = "0.14.2" edition = "2021" rust-version = "1.76.0" description = "Bare-metal backtrace support for Espressif devices" +keywords = ["backtrace", "embedded", "esp32", "espressif"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" diff --git a/esp-hal-embassy/Cargo.toml b/esp-hal-embassy/Cargo.toml index 651c47f6222..222c7a1c11e 100644 --- a/esp-hal-embassy/Cargo.toml +++ b/esp-hal-embassy/Cargo.toml @@ -4,6 +4,8 @@ version = "0.5.0" edition = "2021" rust-version = "1.83.0" description = "Embassy support for esp-hal" +keywords = ["async", "embedded", "esp32", "espressif"] +categories = ["asynchronous", "embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" diff --git a/esp-ieee802154/Cargo.toml b/esp-ieee802154/Cargo.toml index 231167b3710..ea019cfd68f 100644 --- a/esp-ieee802154/Cargo.toml +++ b/esp-ieee802154/Cargo.toml @@ -4,6 +4,8 @@ version = "0.4.0" edition = "2021" rust-version = "1.83.0" description = "Low-level IEEE 802.15.4 driver for the ESP32-C6 and ESP32-H2" +keywords = ["embedded", "ieee802154", "esp32", "espressif", "wpan"] +categories = ["embedded", "network-programming", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" diff --git a/esp-lp-hal/Cargo.toml b/esp-lp-hal/Cargo.toml index 9ea3c5e4908..cd3bd6aa240 100644 --- a/esp-lp-hal/Cargo.toml +++ b/esp-lp-hal/Cargo.toml @@ -4,22 +4,11 @@ version = "0.1.0" edition = "2021" rust-version = "1.76.0" description = "HAL for low-power RISC-V coprocessors found in ESP32 devices" +keywords = ["embedded", "embedded-hal", "esp32", "espressif", "hal"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" -keywords = [ - "embedded", - "embedded-hal", - "esp", - "esp32", - "no-std", -] -categories = [ - "embedded", - "hardware-support", - "no-std", -] - [lib] bench = false test = false diff --git a/esp-println/Cargo.toml b/esp-println/Cargo.toml index 06a0cba29f6..a8aac86aa78 100644 --- a/esp-println/Cargo.toml +++ b/esp-println/Cargo.toml @@ -4,6 +4,8 @@ version = "0.12.0" edition = "2021" rust-version = "1.76.0" description = "Provides `print!` and `println!` implementations various Espressif devices" +keywords = ["defmt", "embedded", "esp32", "espressif", "logging"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" links = "esp-println" diff --git a/esp-riscv-rt/Cargo.toml b/esp-riscv-rt/Cargo.toml index a90e0f74ac7..2cc537150fb 100644 --- a/esp-riscv-rt/Cargo.toml +++ b/esp-riscv-rt/Cargo.toml @@ -4,10 +4,10 @@ version = "0.9.1" edition = "2021" rust-version = "1.65" description = "Minimal runtime / startup for RISC-V CPUs from Espressif" +keywords = ["esp32", "espressif", "riscv", "runtime", "startup"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" -keywords = ["esp32", "riscv", "runtime", "startup"] -categories = ["embedded", "no-std"] [dependencies] document-features = "0.2.10" diff --git a/esp-storage/Cargo.toml b/esp-storage/Cargo.toml index d47da8e306e..3cf282d302f 100644 --- a/esp-storage/Cargo.toml +++ b/esp-storage/Cargo.toml @@ -3,24 +3,12 @@ name = "esp-storage" version = "0.4.0" edition = "2021" rust-version = "1.76.0" -authors = [ - "The ESP-RS team", - "Björn Quentin ", -] description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash" +keywords = ["embedded-storage", "esp32", "espressif", "no-std"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-storage" license = "MIT OR Apache-2.0" -keywords = [ - "embedded-storage", - "esp", - "no-std", -] -categories = [ - "embedded", - "hardware-support", - "no-std", -] [dependencies] embedded-storage = "0.3.1" diff --git a/esp-wifi/Cargo.toml b/esp-wifi/Cargo.toml index 0925bf50377..c2d0b4152b3 100644 --- a/esp-wifi/Cargo.toml +++ b/esp-wifi/Cargo.toml @@ -3,14 +3,13 @@ name = "esp-wifi" version = "0.11.0" edition = "2021" rust-version = "1.83.0" -authors = ["The ESP-RS team"] description = "A WiFi, Bluetooth and ESP-NOW driver for use with Espressif chips and bare-metal Rust" documentation = "https://docs.esp-rs.org/esp-hal/" +keywords = ["wifi", "bluetooth", "esp-now", "esp32", "no-std"] +categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" -keywords = ["wifi", "bluetooth", "esp", "no-std"] -categories = ["embedded", "hardware-support", "no-std"] [dependencies] defmt = { version = "0.3.8", optional = true }