Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-toolchain: [nightly]
rust-toolchain: [nightly-2025-05-20, nightly]
targets: [x86_64-unknown-linux-gnu, x86_64-unknown-none, riscv64gc-unknown-none-elf, aarch64-unknown-none-softfloat]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -41,6 +41,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2025-05-20
- name: Build docs
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
run: |
Expand Down
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,24 @@ members = [
]

[workspace.package]
authors = ["aarkegz <aarkegz@gmail.com>"]
authors = ["Su Mingxian <aarkegz@gmail.com>"]
edition = "2024"
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPubL-2.0 OR MulanPSL2"
repository = "https://github.com/arceos-hypervisor/axvisor_api"

[package]
name = "axvisor_api"
description = "Basic API for components of the Hypervisor on ArceOS"
version = "0.1.0"
keywords = ["axvisor", "api", "embedded"]
categories = ["embedded", "no-std"]
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
axvisor_api_proc = { path = "axvisor_api_proc", version = "*"}
axvisor_api_proc = { path = "axvisor_api_proc", version = "0.1.0"}

crate_interface = "0.1"
memory_addr = "0.4"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# axvisor\_api (Experimental Next-Generation Axvisor API)
[![CI](https://github.com/arceos-hypervisor/axvisor_api/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/arceos-hypervisor/axvisor_api/actions/workflows/ci.yml)
[![License](https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-blue.svg)]

\> [中文README](README.zh-cn.md) <

Expand Down
5 changes: 5 additions & 0 deletions axvisor_api_proc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
[package]
name = "axvisor_api_proc"
version = "0.1.0"
description = "Procedural macros for the `axvisor_api` crate"
keywords = ["axvisor", "api", "embedded", "macros"]
categories = ["development-tools::procedural-macro-helpers"]
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true


[lib]
proc-macro = true
Expand Down
5 changes: 5 additions & 0 deletions axvisor_api_proc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# axvisor-api-macros

**Attribute Macros for Automated API Trait Generation and Cross-Module Binding**

**DO NOT** use this crate directly, use the [axvisor_api] crate instead.
10 changes: 10 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[toolchain]
profile = "minimal"
channel = "nightly-2025-05-20"
components = ["rust-src", "llvm-tools", "rustfmt", "clippy"]
targets = [
"x86_64-unknown-none",
"riscv64gc-unknown-none-elf",
"aarch64-unknown-none-softfloat",
"loongarch64-unknown-none-softfloat",
]