Ivan's Blog
项目实践

xca9545a-async-rs

Rust embedded-hal driver for PCA9545A/TCA9545A I2C switch with optional async support (embedded-hal 1.0). Evidence: Cargo.toml, src/.

  • embedded-hal driver
  • I2C

目录

技术栈

运行与交付

CI 工作流
  • build.yml
  • release.yml
能力标记
  • cargo_toml
  • github_actions
  • package_json
JSON

Basics

Rust embedded-hal driver for PCA9545A/TCA9545A I2C switch with optional async support (embedded-hal 1.0). Evidence: Cargo.toml, src/.

Taxonomy

  • Tags: embedded-hal driver, I2C

Architecture

  • Library crate wrapping I2C channel switching and status operations behind embedded-hal traits. Evidence: src/lib.rs, Cargo.toml.
  • Async support is optional and feature-gated. Evidence: Cargo.toml.

Conventions

  • Embedded no_std-friendly packaging and category metadata. Evidence: Cargo.toml.
  • Repo tooling (hooks/commitlint) often mirrors other embedded driver repos. Evidence: lefthook.yml, commitlint.config.cjs.

Taste notes

Bus switch drivers are foundational; keeping them feature-gated and minimal avoids pulling an async runtime into projects that don’t need it.