summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2021-03-11use sys_util and tempfile from crosvmDylan Reid
Adjust dependencies to use the crosvm-local crates. The tempfile interface is subtly different use the crosvm implementation to avoid a dependency on `rand`. Using a temporary directory avoids any chance of name collision with using rand to generate a string for a socket name. Some of the ScmSocket interfaces have changed and needed updating on both ends. BUG=b:181227406 TEST=cargo test Change-Id: Idee69f0c561642954ac1fa05c2951949e3b74fb5 Cq-Depend: chromium:2740533 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust-vmm/vhost/+/2717529 Tested-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-03-01Prepare for publishing to crates.ioLiu Jiang
Prepare for publishing to crates.io, 1) update README.md 2) update Cargo.toml 3) set code owners It should be ready for publishing now. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2021-03-01Upgrade to rust 2018 editionLiu Jiang
Upgrade Cargo.toml to rust edition 2018. Also introduce a helper feature flag "vhost-user" to simplify code. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2020-09-04Define communication messages of vhost-user specLiu Jiang
Only basic messages are defined, and the vhost-user spec is also under development. So feel free to add needed messages. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com> Signed-off-by: Daniel Prilik <daniel@prilik.com>
2020-09-04Simplify the auto-generated vhost bindingLiu Jiang
The auto-generated vhost binding is small, it would be better to include it into the vhost crate instead of building another dedicated crate for it. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2020-09-04Add traits to support vhost backend devicesLiu Jiang
These interfaces are derived from the firecracker and crosvm projects. They may be extended when enable support of vhost-user protocol. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2020-09-04Add license files for BSD-Alibaba, BSD-GoogleLiu Jiang
Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2019-04-03Initial commitLiu Jiang