diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,7 +57,7 @@ If it works on a system not mentioned here, please open an issue. Also feel free Compiling hunter currently requires a nightly Rust compiler! The easiest way to get a nightly compiler is with [rustup](https://rustup.rs/). If you have rustup installed it will automatically download and use a version that is known to work when you run cargo. -By default it will install a full-featured version with support for media-previews. You can control this using the feature flags ```img```, and ```video```. These can be disabled by calling cargo with ```--features ""```, if you want to disable all media previews, or ```--features=img"``` if you only want to disable video/audio previews. +By default it will install a full-featured version with support for media-previews. You can control this using the feature flags ```img```, and ```video```. These can be disabled by calling cargo with ```--no-default-features```. You can then enable image previews with ```--features=img``` and add video/audio with ```--feature=img,video```. Note that video requires img! Note that this only works if hunter can find the "preview-gen" tool somewhere in $PATH! @@ -71,7 +71,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ### Build with cargo ``` -cargo install (--features=...) hunter +cargo install (--no-default-features --features=...) hunter ``` @@ -85,10 +85,10 @@ git clone https://github.com/rabite0/hunter.git cd {source_dir}/hunter/ // (Optional) Build -// cargo build --release (--features=...) +// cargo build --release (--no-default-features --features=...) // Install -cargo install (--features=...) --path . +cargo install (--no-default-features --features=...) --path . ``` ## NOTE: |