xmf-sys 0.4.0

Bindings to XMF native library: eXtreme Media Foundation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "xmf-sys"
version = "0.4.0"
authors = ["Devolutions Inc. <infos@devolutions.net>"]
build = "build.rs"
links = "xmf"
include = [
    "src/**/*",
    "README.md",
    "build.rs",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to XMF native library: eXtreme Media Foundation"
homepage = "https://github.com/Devolutions/cadeau"
readme = "README.md"
keywords = [
    "multimedia",
    "codec",
    "decoder",
    "image",
    "bindings",
]
categories = ["external-ffi-bindings"]
license = "MIT/Apache-2.0"
repository = "https://github.com/Devolutions/cadeau"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "xmf_sys"
path = "src/lib.rs"

[dependencies.dlib]
version = "0.5"

[features]
dlopen = []
static = []

[lints.clippy]
alloc_instead_of_core = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
collection_is_never_read = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
empty_drop = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
inline_always = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
multiple_unsafe_ops_per_block = "warn"
or_fun_call = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_cast_constness = "warn"
range_plus_one = "warn"
redundant_clone = "warn"
return_self_not_must_use = "warn"
self_named_module_files = "warn"
semicolon_outside_block = "warn"
separated_literal_suffix = "warn"
similar_names = "warn"
str_to_string = "warn"
string_add = "warn"
string_to_string = "warn"
trait_duplication_in_bounds = "warn"
transmute_ptr_to_ptr = "warn"
type_repetition_in_bounds = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_box_returns = "warn"
unused_self = "warn"
unwrap_used = "warn"
useless_let_if_seq = "warn"
wildcard_dependencies = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
invalid_reference_casting = "warn"
keyword_idents = "warn"
noop_method_call = "warn"
single_use_lifetimes = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"