Crates.io | tinypci |
lib.rs | tinypci |
version | 0.1.0 |
source | src |
created_at | 2020-02-20 23:47:02.023571 |
updated_at | 2020-02-20 23:47:02.023571 |
description | A simple, safe, rusty toolset for reading and writing PCI configuration memory |
homepage | |
repository | https://github.com/trashbyte/tinypci |
max_upload_size | |
id | 211059 |
size | 16,964 |
A simple, safe, rusty toolset for reading and writing PCI configuration memory. I'm using it as part of my untitled os project. Currently incomplete and unstable, but feel free to use this as an example or a reference for your own projects.
This crate is designed to have minimal dependencies. It uses stdlib by default,
but with --no-default-features
(or default-features = false
in Cargo.toml
)
it'll work with no_std too. Note that currently it does require alloc
for a
no_std build.
Aside from alloc
in no_std
mode, this crate has no other dependencies by default.
Depends on serde
when the serde
feature is enabled.
This crate must be built with nightly as it uses #![feature(asm)]
.