# 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 = "lambdaworks-math" version = "0.11.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Modular math library for cryptography" readme = "README.md" license = "Apache-2.0" [lib] name = "lambdaworks_math" path = "src/lib.rs" [[bench]] name = "criterion_elliptic_curve" path = "benches/criterion_elliptic_curve.rs" harness = false [[bench]] name = "criterion_fft" path = "benches/criterion_fft.rs" harness = false [[bench]] name = "criterion_field" path = "benches/criterion_field.rs" harness = false [[bench]] name = "criterion_metal" path = "benches/criterion_metal.rs" harness = false required-features = ["metal"] [[bench]] name = "criterion_msm" path = "benches/criterion_msm.rs" harness = false required-features = ["parallel"] [[bench]] name = "criterion_polynomial" path = "benches/criterion_polynomial.rs" harness = false [[bench]] name = "iai_elliptic_curve" path = "benches/iai_elliptic_curve.rs" harness = false [[bench]] name = "iai_fft" path = "benches/iai_fft.rs" harness = false [[bench]] name = "iai_field" path = "benches/iai_field.rs" harness = false [[bench]] name = "iai_polynomial" path = "benches/iai_polynomial.rs" harness = false [dependencies.cudarc] version = "0.9.7" optional = true [dependencies.lambdaworks-gpu] version = "0.11.0" optional = true [dependencies.metal] version = "0.24.0" optional = true [dependencies.miden-core] version = "0.7" optional = true default-features = false package = "miden-core" [dependencies.objc] version = "0.2.7" optional = true [dependencies.proptest] version = "1.1.0" optional = true [dependencies.rayon] version = "1.7" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] optional = true default-features = false [dependencies.winter-math] version = "0.6.4" optional = true default-features = false package = "winter-math" [dev-dependencies.const-random] version = "0.1.15" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.iai-callgrind] version = "0.3.1" [dev-dependencies.pprof] version = "0.13.0" features = [ "criterion", "flamegraph", ] [dev-dependencies.proptest] version = "1.1.0" [dev-dependencies.rand] version = "0.8.5" features = ["std"] [dev-dependencies.rand_chacha] version = "0.3.1" [features] alloc = [] cuda = [ "dep:cudarc", "dep:lambdaworks-gpu", ] default = [ "parallel", "std", ] instruments = [] lambdaworks-serde-binary = [ "dep:serde", "alloc", ] lambdaworks-serde-string = [ "dep:serde", "dep:serde_json", "alloc", ] metal = [ "dep:metal", "dep:objc", "dep:lambdaworks-gpu", "lambdaworks-gpu?/metal", ] parallel = ["dep:rayon"] proptest = ["dep:proptest"] std = [ "alloc", "serde?/std", "serde_json?/std", ] winter_compatibility = [ "winter-math", "miden-core", ]