# 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 = "2024"
name = "fp2"
version = "0.4.5"
authors = ["Giacomo Pope <giacomopope@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient, flexible and constant time Rust implementation of the extension field Fp^2 with modulus x^2 + 1"
homepage = "https://github.com/GiacomoPope/fp2/"
readme = "README.md"
keywords = [
    "finite",
    "field",
    "isogeny",
    "isogenies",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GiacomoPope/fp2/"

[features]
default = ["test-utils"]
test-utils = []

[lib]
name = "fp2"
path = "src/lib.rs"

[[test]]
name = "test_dlp"
path = "tests/test_dlp.rs"

[[test]]
name = "test_fields"
path = "tests/test_fields.rs"

[[bench]]
name = "bench_util"
path = "benches/bench_util.rs"

[[bench]]
name = "benchmark_fp2"
path = "benches/fp2_bench.rs"
harness = false

[dependencies.rand_core]
version = "0.9"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.num-bigint]
version = "0.4.3"

[dev-dependencies.sha2]
version = "0.10.2"
