common_traits 0.12.1

Traits to write generic functions on different numeric types, with atomic support, and other features.
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 = "2021"
name = "common_traits"
version = "0.12.1"
authors = [
    "Tommaso Fontana",
    "Sebastiano Vigna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Traits to write generic functions on different numeric types, with atomic support, and other features."
readme = "README.md"
keywords = [
    "mathematics",
    "numerics",
]
categories = [
    "algorithms",
    "science",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/zommiommy/common_traits"

[features]
alloc = ["half/alloc"]
default = ["std"]
half = ["dep:half"]
simd = []
std = [
    "half/std",
    "anyhow/std",
]

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

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

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

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

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

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

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

[[bench]]
name = "fastmod"
path = "benches/fastmod.rs"

[dependencies.anyhow]
version = "1.0.71"
default-features = false

[dependencies.half]
version = "2.2.1"
features = ["use-intrinsics"]
optional = true
default-features = false

[dependencies.impl-tools]
version = "0.11.2"

[dev-dependencies.rand]
version = "0.9.1"
features = ["small_rng"]