devirt 0.1.0

Transparent devirtualization for Rust trait objects via witness-method dispatch
Documentation
# 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 = "2024"
name = "devirt"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transparent devirtualization for Rust trait objects via witness-method dispatch"
readme = "README.md"
keywords = [
    "devirtualization",
    "vtable",
    "no-std",
    "dispatch",
    "performance",
]
categories = [
    "no-std",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Kab1r/devirt"

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

[[example]]
name = "shapes"
path = "examples/shapes.rs"

[[test]]
name = "kani"
path = "tests/kani.rs"

[[test]]
name = "ui"
path = "tests/ui.rs"

[[bench]]
name = "dispatch"
path = "benches/dispatch.rs"
harness = false

[dependencies.paste]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.trybuild]
version = "1"

[lints.clippy]
allow_attributes = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "deny"
empty_drop = "warn"
error_impl_error = "warn"
exit = "deny"
fn_to_numeric_cast_any = "deny"
if_then_some_else_none = "warn"
infinite_loop = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
missing_assert_message = "warn"
panic_in_result_fn = "deny"
pathbuf_init_then_push = "warn"
precedence_bits = "warn"
print_stderr = "deny"
print_stdout = "deny"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_test_prefix = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
same_name_method = "warn"
suspicious_xor_used_as_pow = "warn"
tests_outside_test_module = "warn"
todo = "deny"
try_err = "warn"
unimplemented = "deny"
unnecessary_self_imports = "warn"
unused_result_ok = "warn"
unwrap_used = "deny"

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.complexity]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]

[lints.rustdoc]
missing_crate_level_docs = "deny"
private_doc_tests = "allow"
unescaped_backticks = "deny"