See cap-std.
This crate will aim to migrate extension APIs from openat-ext.
And also add other helpers for e.g. [Command]. See https://github.com/bytecodealliance/rustix/issues/100