This repository was archived by the owner on Nov 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ behaviour.
22
22
# Usage
23
23
First, add the following to your ` Cargo.toml ` :
24
24
``` toml
25
- kvm-bindings = " 0.1 "
25
+ kvm-bindings = " 0.3 "
26
26
```
27
27
Next, add this to your crate root:
28
28
``` rust
@@ -32,7 +32,7 @@ By default `kvm-bindings` will export a wrapper over the latest available kernel
32
32
version (4.20), but you can select a different version by specifying it in your
33
33
toml:
34
34
``` toml
35
- kvm-bindings = { version = " 0.1 " , features = [" kvm_v4_20_0" ]}
35
+ kvm-bindings = { version = " 0.3 " , features = [" kvm_v4_20_0" ]}
36
36
```
37
37
Bindings are generated for each specific Linux kernel version based on the enabled
38
38
crate features as follows:
@@ -44,7 +44,7 @@ a Flexible Array Member in their definition.
44
44
These safe wrappers can be used if the ` fam-wrappers ` feature is enabled for
45
45
this crate. Example:
46
46
``` toml
47
- kvm-bindings = { version = " 0.1 " , features = [" kvm_v4_20_0" , " fam-wrappers" ]}
47
+ kvm-bindings = { version = " 0.3 " , features = [" kvm_v4_20_0" , " fam-wrappers" ]}
48
48
```
49
49
50
50
# Dependencies
You can’t perform that action at this time.
0 commit comments