README: newer cargo-c can now take the workspace name

Easier to use than the manifest path.
This commit is contained in:
Guillaume Desmottes 2021-09-21 16:28:20 +02:00 committed by Sebastian Dröge
parent 6111d0f4ed
commit 97f45a0f77
2 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ $ cargo install cargo-c
Then you can easily build and test a specific plugin:
```
$ cargo cbuild --manifest-path video/cdg/Cargo.toml
$ cargo cbuild -p gst-plugin-cdg
$ GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec
```
@ -109,8 +109,8 @@ Replace `x86_64-unknown-linux-gnu` with your system's Rust target triple (`rustc
The plugin can also be installed system-wide:
```
$ cargo cbuild --manifest-path video/cdg/Cargo.toml --prefix=/usr
$ cargo cinstall --manifest-path video/cdg/Cargo.toml --prefix=/usr
$ cargo cbuild -p gst-plugin-cdg --prefix=/usr
$ cargo cinstall -p gst-plugin-cdg --prefix=/usr
```
This will install the plugin to `/usr/lib/gstreamer-1.0`.

View file

@ -34,7 +34,7 @@ static = ["gst/v1_14"]
capi = []
[package.metadata.capi]
min_version = "0.8.0"
min_version = "0.9.3"
[package.metadata.capi.header]
enabled = false