# 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"
rust-version = "1.85"
name = "ff"
version = "0.14.0-pre.1"
authors = [
    "Sean Bowe <ewillbefull@gmail.com>",
    "Jack Grigg <thestr4d@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for building and interfacing with finite fields"
homepage = "https://github.com/zkcrypto/ff"
documentation = "https://docs.rs/ff/"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/zkcrypto/ff"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
alloc = []
bits = [
    "bitvec",
    "ff_derive?/bits",
]
default = [
    "bits",
    "std",
]
derive = [
    "byteorder",
    "ff_derive",
]
std = ["alloc"]

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

[[test]]
name = "derive"
path = "tests/derive.rs"
required-features = ["derive"]

[dependencies.bitvec]
version = "1"
optional = true
default-features = false

[dependencies.byteorder]
version = "1"
optional = true
default-features = false

[dependencies.ff_derive]
version = "=0.14.0-pre.1"
optional = true

[dependencies.rand_core]
version = "0.10"
default-features = false

[dependencies.subtle]
version = "2.2.1"
features = ["i128"]
default-features = false

[dev-dependencies.blake2b_simd]
version = "1"

[dev-dependencies.getrandom]
version = "0.4"
features = ["sys_rng"]
