[package] name = "rustgf" version = "0.1.1" edition = "2018" license = "Apache-2.0" description = "This library implements several galois field operation in Rust, as well as gaussian elimination in Galois Field." [lib] crate-type = ["lib", "staticlib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] name = "testbin" path = "src/example.rs" [dependencies] rand = "0.8.4" rand_pcg = "0.3.1" [target.'cfg(target_arch = "x86_64")'.dependencies] galois_2p8 = { version = "0.1.2", features = ["simd"] } [target.'cfg(not(target_arch = "x86_64"))'.dependencies] galois_2p8 = { version = "0.1.2", features = [] }