Commit graph

11 commits

Author SHA1 Message Date
Changyuan Lyu
d574a2c83a chore: bump version to 0.5.0
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-09-02 20:20:23 -07:00
Changyuan Lyu
54549ce6b6 feat(aco): add trait Help and the derive macro
Trait `Help` returns a description of a type. It is used to generate
the help message for the command line interface.

The derive macro implements `Help` for enums and structs and
includes inline documentation in the description.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-07-28 13:45:39 -07:00
Changyuan Lyu
225fb2ab7a chore: bump version to 0.4.0
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-07-23 23:13:03 -07:00
Changyuan Lyu
e4197f056f build: move common values to workspace Cargo.toml
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-07-23 23:13:03 -07:00
dependabot[bot]
0240c28bd2 build(deps): bump snafu from 0.8.3 to 0.8.4
Bumps [snafu](https://github.com/shepmaster/snafu) from 0.8.3 to 0.8.4.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shepmaster/snafu/compare/0.8.3...0.8.4)

---
updated-dependencies:
- dependency-name: snafu
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 22:57:30 -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
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
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
5479762c7e chore(cargo): update package metadata
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-29 09:45:08 -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
7f2e3bf287 Initial release
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2024-04-24 19:34:14 -07:00