Update Cargo.toml (again) (#42)

* Move dependencies to top

* Add LICENSE symlink to sys crate, update Cargo.toml

* sys: Move features around a bit

* Move features around a bit

* Replace package `exclude` with `include` list

* Remove Cargo.lock.MSRV from crate package
This commit is contained in:
FreezyLemon
2024-04-30 03:39:18 +02:00
committed by GitHub
parent fd2d71c92b
commit a3837aeb2b
3 changed files with 64 additions and 45 deletions

View File

@ -11,6 +11,12 @@ authors = [
]
license = "WTFPL"
include = [
"LICENSE",
"build.rs",
"src/"
]
description = "FFI bindings to FFmpeg"
repository = "https://github.com/shssoichiro/ffmpeg-the-third"
keywords = ["audio", "video"]
@ -46,11 +52,27 @@ default = [
]
static = []
build = ["static"]
# mark enums in generated bindings as #[non_exhaustive]
non-exhaustive-enums = []
# components
avcodec = []
avdevice = ["avformat"]
avfilter = []
avformat = ["avcodec"]
avresample = []
postproc = []
swresample = []
swscale = []
#
# Build-related features
#
# build FFmpeg when building this crate
build = ["static"]
# licensing
build-license-gpl = ["build"]
build-license-nonfree = ["build"]
@ -114,13 +136,3 @@ build-lib-xvid = ["build"]
# protocols
build-lib-smbclient = ["build"]
build-lib-ssh = ["build"]
# components
avcodec = []
avdevice = ["avformat"]
avfilter = []
avformat = ["avcodec"]
avresample = []
postproc = []
swresample = []
swscale = []

View File

@ -0,0 +1 @@
../LICENSE