[dependencies.libc]
version = "^0"
[lib]
name = "foreign"
path = "src/lib.rs"
[lints.clippy]
as_ptr_cast_mut = "deny"
borrow_as_ptr = "deny"
borrow_deref_ref = "deny"
cast_ptr_alignment = "deny"
ptr_arg = "deny"
ptr_as_ptr = "deny"
ptr_cast_constness = "deny"
return_self_not_must_use = "deny"
should_implement_trait = "deny"
too_many_arguments = "allow"
transmute_ptr_to_ptr = "deny"
transmute_ptr_to_ref = "deny"
transmutes_expressible_as_ptr_casts = "deny"
unnecessary_fallible_conversions = "deny"
unnecessary_lazy_evaluations = "deny"
unnecessary_mut_passed = "deny"
useless_vec = "deny"
wrong_self_convention = "deny"
[lints.rust]
unknown_lints = "allow"
unsafe_op_in_unsafe_fn = "allow"
warnings = "deny"
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
private_intra_doc_links = "allow"
redundant_explicit_links = "deny"
unescaped_backticks = "deny"
[package]
authors = ["Paolo Bonzini <pbonzini@redhat.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::ffi", "rust-patterns"]
description = "Conversion between foreign and Rust types"
edition = "2021"
keywords = ["ffi"]
license = "MIT OR Apache-2.0"
name = "foreign"
readme = "README.md"
repository = "https://gitlab.com/bonzini/foreign-rs"
resolver = "2"
rust-version = "1.63.0"
version = "0.1.2"