mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 19:45:46 +00:00
d5f5648b37
We use cargo vendor to generate a .cargo/config file and the vendor directory. Vendoring allows us to lock our dependencies and to modify them easily from the top level Cargo.toml. We vendor all dependencies, including the crates.io ones, which allows for network isolated builds. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
25 lines
437 B
Markdown
25 lines
437 B
Markdown
bitflags
|
|
========
|
|
|
|
A Rust macro to generate structures which behave like a set of bitflags
|
|
|
|
[![Build Status](https://travis-ci.org/rust-lang-nursery/bitflags.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/bitflags)
|
|
|
|
[Documentation](https://docs.rs/bitflags)
|
|
|
|
## Usage
|
|
|
|
Add this to your `Cargo.toml`:
|
|
|
|
```toml
|
|
[dependencies]
|
|
bitflags = "0.9"
|
|
```
|
|
|
|
and this to your crate root:
|
|
|
|
```rust
|
|
#[macro_use]
|
|
extern crate bitflags;
|
|
```
|