Commit graph

13 commits

Author SHA1 Message Date
Changyuan Lyu
15c727f8d1 build(deps): bump dependencies by cargo update
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-06-14 22:43:49 -07:00
Changyuan Lyu
1a93102f9f build(deps): bump mio from 0.8.11 to 1
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-06-14 22:43:49 -07:00
Changyuan Lyu
f10a1367e2 feat(cli): track error sources with snafu (2/n)
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-06-09 10:11:22 -07:00
Changyuan Lyu
089a7a2e67 feat(hv)!: track error sources with snafu (1/n)
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-06-09 10:11:22 -07:00
Changyuan Lyu
3c241aa63e chore: bump version to 0.2.0
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-05-24 13:56:06 -07:00
Changyuan Lyu
6a66b2d299 feat(cli)!: use serde-aco to parse cli options
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-05-22 00:00:14 -07:00
Changyuan Lyu
6e97023603 feat(cli): add a new crate for parsing cli opts
`serde-aco` is for parsing complex data structures from command line.
Nested structures can be expressed by multiple key-value pair
strings.

This crate is inspired by QEMU's `-object` flag.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-05-22 00:00:14 -07:00
Changyuan Lyu
d18924b3a7 feat(pci): emulate read/write to config space
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-05-05 21:46:44 -07:00
Changyuan Lyu
4d337ee78a feat: proc macro to generate struct layout consts
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-05-05 21:46:44 -07:00
Changyuan Lyu
b44bb87b87 feat!: use RwLock and Mutex from parking_lot
`RwLock` is used a lot and the feature `hardware-lock-elision` looks
very promising.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-27 12:54:06 -07:00
Changyuan Lyu
0fa9d8ca61 tests: use crate assert_matches for stable rust
The assert_matches in std still requres nightly rust.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-24 22:06:25 -07:00
Changyuan Lyu
22b4c65b3e build: update dependencies
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-24 22:06:25 -07:00
Changyuan Lyu
7f2e3bf287 Initial release
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-24 19:34:14 -07:00