chore: migrate call sites off the deprecated feature aliases (tokio-runtime, embassy-runtime, critical-section-std-impl)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
Línea de trabajo
Start by checking each listed Makefile, Cargo.toml manifest, and example call site to identify which crate receives each feature; the issue warns that the same names are valid features on the adapter crates. Replace deprecated connector aliases with the canonical features and check for remaining in-tree uses. Then decide whether aliases should be removed now or retained for one release cycle with a CHANGELOG note.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The connector crates keep feature aliases that their own docs call deprecated:
aimdb-mqtt-connector/src/lib.rs:21— "tokio-runtime: deprecated alias forstd"aimdb-knx-connector/src/lib.rs:22-23— "tokio-runtimeandembassy-runtimeare deprecated aliases forstdandconnectorrespectively, andcritical-section-std-impla deprecated …"aimdb-tcp-connector/Cargo.toml:35-36—tokio-runtime = ["std"],embassy-runtime = ["connector"]aimdb-websocket-connector/Cargo.toml:31-33—tokio-runtime = ["server"], kept for existing users
But the repository itself is still the main consumer of those aliases, so they cannot be removed:
- Makefile: e.g. lines 156, 297, 428, 432, 440, 452–454, 476, 502, 521, 655–675 pass
tokio-runtime,embassy-runtimeorcritical-section-std-implto connector crates. - Manifests:
aimdb-client/Cargo.toml:44,aimdb-bench/Cargo.toml:103,aimdb-knx-connector/Cargo.toml:74,aimdb-mqtt-connector/Cargo.toml(84, 104–107, 125–133, 209),tools/embedded-check-fixture/Cargo.toml:33. - Examples:
tokio-mqtt-connector-demo,tokio-knx-connector-demo,remote-access-demo,sync-api-demo, and the embassy demos.
(tokio-runtime on aimdb-tokio-adapter and embassy-runtime on aimdb-embassy-adapter are real features of those crates, not aliases — those uses are fine and out of scope.)
Suggested work
- Replace alias uses on the connector crates with the canonical features (
std,connector,server) in the Makefile, crate manifests and examples. - Once nothing in-tree uses them, decide on removal: delete in the next breaking release, or keep for one more cycle with a CHANGELOG note.
aimdb-knx-connector'scritical-section-std-impl = []is already an empty feature and can go as soon as its callers are updated.
Notes
Found by grep over manifests, Makefile and workflows at d9c7be0. Each call site needs a check of which crate the feature is being passed to before editing, because the same names are legitimate on the adapter crates.
- Lenguaje dominante
- Rust
- Estrellas
- 101
- Forks
- 20
- Merge medio
- 2 h 33 min
- PR fusionados (30 d)
- 90
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aimdb-dev/aimdb
-
🏷️ good first issue enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de aimdb-dev/aimdb
Issues similares
-
Panic on live viewport resize when unstyled elements exist in display: none subtreePosiblemente ocupada @GoCoder7 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DioxusLabs/blitz#1488 ·
Los mantenedores suelen responder en 1 día
-
S-Needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
vectordotdev/vrl#2042 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día