fgf 1.2.0

Faster Galois Fields: SIMD and portable finite-field arithmetic (binary towers and prime fields) and vector kernels
Documentation
# 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"
rust-version = "1.93"
name = "fgf"
version = "1.2.0"
build = false
include = [
    "src/**",
    "benches/**",
    "examples/**",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Faster Galois Fields: SIMD and portable finite-field arithmetic (binary towers and prime fields) and vector kernels"
homepage = "https://github.com/nanithefkuc/fgf"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nanithefkuc/fgf"

[features]
alloc = []
default = [
    "std",
    "simd",
]
internals = []
simd = [
    "std",
    "dep:archmage",
]
std = [
    "alloc",
    "simdispatch/std",
]

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

[[example]]
name = "perf_p2"
path = "examples/perf_p2.rs"
required-features = [
    "std",
    "simd",
    "internals",
]

[[bench]]
name = "affine"
path = "benches/affine.rs"
harness = false
required-features = [
    "std",
    "simd",
    "internals",
]

[[bench]]
name = "compare"
path = "benches/compare.rs"
harness = false
required-features = [
    "std",
    "simd",
    "internals",
]

[[bench]]
name = "dot_product"
path = "benches/dot_product.rs"
harness = false
required-features = [
    "std",
    "simd",
    "internals",
]

[[bench]]
name = "kernels"
path = "benches/kernels.rs"
harness = false
required-features = [
    "std",
    "simd",
    "internals",
]

[[bench]]
name = "prime_ntt"
path = "benches/prime_ntt.rs"
harness = false
required-features = [
    "std",
    "internals",
]

[dependencies.archmage]
version = "=0.9.29"
optional = true

[dependencies.simdispatch]
version = "=0.1.0"
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.criterion]
version = "0.8"

[profile.bench]
lto = "thin"
codegen-units = 1

[profile.profiling]
debug = 2
inherits = "release"
strip = "none"