[package]
edition = "2021"
name = "cadeau"
version = "0.5.1"
authors = ["Devolutions Inc. <infos@devolutions.net>"]
build = false
include = [
"src/**/*",
"examples/**/*",
"README.md",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic rust bindings to Cadeau library, performance primitives and media foundation functions"
homepage = "https://github.com/Devolutions/cadeau"
readme = "README.md"
keywords = [
"multimedia",
"codec",
"decoder",
"image",
"bindings",
]
categories = ["api-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 = "cadeau"
path = "src/lib.rs"
[[example]]
name = "cut"
path = "examples/cut/main.rs"
[[example]]
name = "remuxer"
path = "examples/remuxer.rs"
[[example]]
name = "transcode"
path = "examples/transcode.rs"
[dependencies.xmf-sys]
version = "0.4"
optional = true
[dev-dependencies.ebml-iterable]
version = "0.6.2"
[dev-dependencies.webm-iterable]
version = "0.6.3"
[features]
default = ["xmf"]
dlopen = ["xmf-sys/dlopen"]
static = ["xmf-sys/static"]
xmf = ["dep:xmf-sys"]
[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"