Source code

Revision control

Copy as Markdown

Other Tools

# 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 = "multiversion"
version = "0.8.0"
authors = ["Caleb Zulawski <caleb.zulawski@gmail.com>"]
build = false
include = [
"/Cargo.toml",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
"/tests/**",
"/benches/**",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy function multiversioning"
readme = "README.md"
categories = [
"hardware-support",
"no-std",
]
license = "MIT OR Apache-2.0"
[lib]
name = "multiversion"
path = "src/lib.rs"
[[test]]
name = "async_fn"
path = "tests/async_fn.rs"
[[test]]
name = "attrs"
path = "tests/attrs.rs"
[[test]]
name = "cfg"
path = "tests/cfg.rs"
[[test]]
name = "choose_dispatcher"
path = "tests/choose_dispatcher.rs"
[[test]]
name = "clones"
path = "tests/clones.rs"
[[test]]
name = "destructure"
path = "tests/destructure.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "impl_trait"
path = "tests/impl_trait.rs"
[[test]]
name = "simd"
path = "tests/simd.rs"
[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false
[dependencies.multiversion-macros]
version = "0.8.0"
default-features = false
[dependencies.target-features]
version = "0.1"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.rustversion]
version = "1"
[features]
default = ["std"]
std = ["multiversion-macros/std"]