# 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 = "ffnt" version = "0.8.0" authors = ["Andreas Maier "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Finite fields for number theory" readme = "Readme.md" keywords = [ "finite-fields", "number-theory", ] categories = ["mathematics"] license = "GPL-3.0-or-later" [lib] name = "ffnt" path = "src/lib.rs" [[example]] name = "add_all" path = "examples/add_all.rs" [[example]] name = "add_all_32" path = "examples/add_all_32.rs" [[example]] name = "add_ptimes" path = "examples/add_ptimes.rs" [[example]] name = "add_ptimes_32" path = "examples/add_ptimes_32.rs" [[example]] name = "factorial" path = "examples/factorial.rs" [[example]] name = "factorial_32" path = "examples/factorial_32.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.num-traits] version = "0.2" optional = true [dependencies.paste] version = "1.0" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.once_cell] version = "1.13" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_xoshiro] version = "0.6" [dev-dependencies.rug] version = "1.16" features = [ "gmp-mpfr-sys", "integer", ] default-features = false [features] num-traits = [ "dep:num-traits", "dep:paste", ] rand = [ "dep:rand", "dep:paste", ]