126 lines
2.3 KiB
TOML
126 lines
2.3 KiB
TOML
# 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"
|
|
rust-version = "1.86"
|
|
name = "multiversion"
|
|
version = "0.9.0"
|
|
authors = ["Caleb Zulawski <caleb.zulawski@gmail.com>"]
|
|
build = false
|
|
include = [
|
|
"/Cargo.toml",
|
|
"/LICENSE-APACHE",
|
|
"/LICENSE-MIT",
|
|
"/README.md",
|
|
"/src/**",
|
|
"/tests/**",
|
|
"/benches/**",
|
|
]
|
|
autolib = false
|
|
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"
|
|
repository = "https://github.com/calebzulawski/multiversion"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["target-features"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
nightly = ["multiversion-macros/nightly"]
|
|
std = ["multiversion-macros/std"]
|
|
target-features = ["dep:target-features"]
|
|
|
|
[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 = "hygiene"
|
|
path = "tests/hygiene.rs"
|
|
|
|
[[test]]
|
|
name = "impl_trait"
|
|
path = "tests/impl_trait.rs"
|
|
|
|
[[test]]
|
|
name = "safety"
|
|
path = "tests/safety.rs"
|
|
|
|
[[test]]
|
|
name = "simd"
|
|
path = "tests/simd.rs"
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
path = "benches/benchmark.rs"
|
|
harness = false
|
|
|
|
[dependencies.multiversion-macros]
|
|
version = "0.9.0"
|
|
default-features = false
|
|
|
|
[dependencies.target-features]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.rustversion]
|
|
version = "1"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(docsrs)"]
|