ax-driver-base 0.3.6

Common interfaces for all kinds of device drivers
Documentation
  • Coverage
  • 100%
    22 out of 22 items documented0 out of 6 items with examples
  • Size
  • Source code size: 8.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.07 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 34s Average build duration of successful builds.
  • all releases: 48s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rcore-os/tgoskits
    11 28 17
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • github:rcore-os:crates-io ZCShou

Crates.io Docs.rs Rust License

English | 中文

Introduction

ax-driver-base provides Common interfaces for all kinds of device drivers. It is maintained as part of the TGOSKits component set and is intended for Rust projects that integrate with ArceOS, AxVisor, or related low-level systems software.

ax-driver-base was derived from https://github.com/arceos-org/axdriver_crates

Quick Start

Installation

Add this crate to your Cargo.toml:

[dependencies]
ax-driver-base = "0.3.4"

Run Check and Test

# Enter the crate directory
cd components/axdriver_crates/axdriver_base

# Format code
cargo fmt --all

# Run clippy
cargo clippy --all-targets --all-features

# Run tests
cargo test --all-features

# Build documentation
cargo doc --no-deps

Integration

Example

use ax_driver_base as _;

fn main() {
    // Integrate `ax-driver-base` into your project here.
}

Documentation

Generate and view API documentation:

cargo doc --no-deps --open

Online documentation: docs.rs/ax-driver-base

Contributing

  1. Fork the repository and create a branch
  2. Run local format and checks
  3. Run local tests relevant to this crate
  4. Submit a PR and ensure CI passes

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.