# 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 = "float8" version = "0.1.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "8-bit floating point types for Rust" homepage = "https://github.com/EricLBuehler/float8" readme = "README.md" keywords = [ "float8", "f8e4m3", "fp8e5m2", "no_std", ] categories = ["science"] license = "MIT" repository = "https://github.com/EricLBuehler/float8" [lib] name = "float8" path = "src/lib.rs" [[test]] name = "close" path = "tests/close.rs" [[test]] name = "f8e4m3" path = "tests/f8e4m3.rs" [[test]] name = "f8e5m2" path = "tests/f8e5m2.rs" [[test]] name = "rand_distr" path = "tests/rand_distr.rs" [dependencies.bytemuck] version = "1.4.1" features = ["derive"] optional = true default-features = false [dependencies.cudarc] version = "0.12.1" features = [ "std", "cublas", "cublaslt", "curand", "driver", "nvrtc", "f16", "cuda-version-from-build-system", "dynamic-linking", ] optional = true default-features = false [dependencies.half] version = "2.4.1" [dependencies.num-traits] version = "0.2.14" features = ["libm"] optional = true default-features = false [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", ] optional = true default-features = false [dependencies.rand_distr] version = "0.4.3" optional = true default-features = false [dependencies.rkyv] version = "0.7" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.zerocopy] version = "0.6.0" optional = true default-features = false [features] all = [ "std", "num-traits", "rand_distr", "bytemuck", "zerocopy", "rkyv", "serde", "cuda", ] bytemuck = ["dep:bytemuck"] cuda = ["dep:cudarc"] default = ["std"] num-traits = ["dep:num-traits"] rand_distr = [ "dep:rand_distr", "dep:rand", "std", ] rkyv = ["dep:rkyv"] serde = ["dep:serde"] std = [] zerocopy = ["dep:zerocopy"]