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.
2222# Usage
2323First, add the following to your ` Cargo.toml ` :
2424``` toml
25- kvm-bindings = " 0.1 "
25+ kvm-bindings = " 0.3 "
2626```
2727Next, add this to your crate root:
2828``` rust
@@ -32,7 +32,7 @@ By default `kvm-bindings` will export a wrapper over the latest available kernel
3232version (4.20), but you can select a different version by specifying it in your
3333toml:
3434``` toml
35- kvm-bindings = { version = " 0.1 " , features = [" kvm_v4_20_0" ]}
35+ kvm-bindings = { version = " 0.3 " , features = [" kvm_v4_20_0" ]}
3636```
3737Bindings are generated for each specific Linux kernel version based on the enabled
3838crate features as follows:
@@ -44,7 +44,7 @@ a Flexible Array Member in their definition.
4444These safe wrappers can be used if the ` fam-wrappers ` feature is enabled for
4545this crate. Example:
4646``` 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" ]}
4848```
4949
5050# Dependencies
You can’t perform that action at this time.
0 commit comments