Skip to content

Commit 251c400

Browse files
committed
Bump version to 0.6.0
1 parent 7c6d4a2 commit 251c400

File tree

5 files changed

+964
-2933
lines changed

5 files changed

+964
-2933
lines changed

Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rusty_ffmpeg"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = ["ldm0 <[email protected]>"]
55
edition = "2018"
66

@@ -14,11 +14,7 @@ readme = "README.md"
1414
keywords = ["ffmpeg", "ffi", "binding", "video", "audio"]
1515
categories = ["external-ffi-bindings", "multimedia"]
1616

17-
exclude = [
18-
".github",
19-
# Should we exclude examples file? I see <https://github.com/rust-lang/git2-rs/> haven't exclude it.
20-
# "examples"
21-
]
17+
exclude = [".github"]
2218
build = "build.rs"
2319

2420
# Doc test of generated binding is non-sense https://github.com/rust-lang/cargo/issues/3720

LICENSE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Copyright <YEAR> <COPYRIGHT HOLDER>
2-
31
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
42

53
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Cross platform FFI bindings for FFmpeg inner libraries. This is a crate that:
1010
1. Linking FFmpeg libraries for you.
1111
2. Generates Rust binding for FFmpeg libraries.
1212

13-
## Usage
13+
## Getting started:
1414

1515
To use this crate, you need to set several environment variables.
1616

@@ -28,7 +28,7 @@ Set no environment variable, then `rusty_ffmpeg` will help you download, compile
2828

2929
### Fine-grained usage:
3030

31-
You need to set environment variables for both linking and binding generating procedure.
31+
You need to set several environment variables for both linking and binding generating procedure.
3232

3333
#### To link:
3434

@@ -40,8 +40,8 @@ You need to set environment variables for both linking and binding generating pr
4040

4141
1. Compile-time binding generation([requires the `Clang` dylib](https://github.com/KyleMayes/clang-sys/blob/c9ae24a7a218e73e1eccd320174349eef5a3bd1a/build.rs#L23)): Set `FFMPEG_INCLUDE_DIR` to the path to the header files for binding generation.
4242

43-
2. Use pre-built binding: Set `FFMPEG_BINDING_PATH` to the prebuilt binding file.
43+
2. Use your pre-built binding: Set `FFMPEG_BINDING_PATH` to the pre-built binding file. The pre-built binding is usually copied from the `OUT_DIR` of the compile-time binding generation, by using it you don't need to regenerate the same binding file again and again.
4444

4545
## Attention
4646

47-
FFI is not that easy, especially when you are dealing with a big old C project. Don't feel depressed when there are some problems. The CI check already have some typical use cases, you can check it. File an issue if you still have some problem.
47+
FFI is not that easy, especially when you are dealing with a big old C project. Don't feel depressed when there are some problems. The CI check already have some typical ffmpeg compilation and use cases for you to check. File an issue if you still have any problem.

rustfmt.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)