# 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 = "gf256" version = "0.3.0" authors = ["Christopher Haster "] description = "A Rust library containing Galois-field types and utilities" license = "BSD-3-Clause" repository = "https://github.com/geky/gf256" resolver = "2" [package.metadata.docs.rs] features = [ "thread-rng", "lfsr", "crc", "raid", "rs", "shamir", ] [[bench]] name = "xmul" harness = false [[bench]] name = "gf" harness = false [[bench]] name = "find-p" harness = false [[bench]] name = "lfsr" harness = false [[bench]] name = "crc" harness = false [[bench]] name = "shamir" harness = false [[bench]] name = "raid" harness = false [[bench]] name = "rs" harness = false [dependencies.cfg-if] version = "1.0.0" [dependencies.gf256-macros] version = "=0.3.0" [dependencies.rand] version = "0.8.3" optional = true default-features = false [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.flate2] version = "1.0.22" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.rand_core] version = "0.6.3" [dev-dependencies.structopt] version = "0.3.25" [features] crc = ["gf256-macros/crc"] lfsr = [ "gf256-macros/lfsr", "rand", ] no-tables = ["gf256-macros/no-tables"] no-xmul = ["gf256-macros/no-xmul"] raid = ["gf256-macros/raid"] rs = ["gf256-macros/rs"] shamir = [ "gf256-macros/shamir", "rand", ] small-tables = ["gf256-macros/small-tables"] thread-rng = [ "rand/std", "rand/std_rng", ]