[package] name = "common_traits" version = "0.11.0" edition = "2021" description = "Traits to write generic functions on different numeric types, with atomic support, and other features." repository = "https://github.com/zommiommy/common_traits" authors = ["Tommaso Fontana", "Sebastiano Vigna"] keywords = ["mathematics", "numerics"] categories = ["algorithms", "science", "no-std"] readme = "README.md" license = "Apache-2.0" [dependencies] half = {version="2.2.1", features=["use-intrinsics"], default-features = false, optional = true} anyhow = {version="1.0.71", default-features = false} impl-tools = "0.10.0" [dev-dependencies] rand = {version="0.8.5", features=["small_rng"]} [features] default = ["std"] half = ["dep:half"] std = ["half/std", "anyhow/std"] alloc = ["half/alloc"] simd = []