quantrs2-symengine-pure 0.1.2

Pure Rust symbolic mathematics for quantum computing - a replacement for C++-based symengine
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 = "2021"
rust-version = "1.86.0"
name = "quantrs2-symengine-pure"
version = "0.1.2"
authors = ["COOLJAPAN OU"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust symbolic mathematics for quantum computing - a replacement for C++-based symengine"
readme = "README.md"
keywords = [
    "quantum",
    "symbolic",
    "algebra",
    "differentiation",
    "pure-rust",
]
categories = [
    "science",
    "mathematics",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cool-japan/quantrs"

[features]
default = [
    "simd",
    "parallel",
]
parallel = ["scirs2-core/parallel"]
serde = [
    "dep:serde",
    "egg/serde-1",
]
simd = ["scirs2-core/simd"]

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

[[example]]
name = "qaoa_maxcut"
path = "examples/qaoa_maxcut.rs"

[[example]]
name = "quantum_gates"
path = "examples/quantum_gates.rs"

[[example]]
name = "symbolic_math"
path = "examples/symbolic_math.rs"

[[example]]
name = "vqe_gradient"
path = "examples/vqe_gradient.rs"

[[example]]
name = "vqe_h2"
path = "examples/vqe_h2.rs"

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

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

[dependencies.dashmap]
version = "6.1"

[dependencies.egg]
version = "0.11"

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-rational]
version = "0.4"

[dependencies.ordered-float]
version = "5.1"

[dependencies.oxicode]
version = "0.1.1"
features = [
    "std",
    "derive",
    "serde",
]

[dependencies.rustc-hash]
version = "2.1"

[dependencies.scirs2-autograd]
version = "0.1.2"
default-features = false

[dependencies.scirs2-core]
version = "0.1.2"
features = [
    "serialization",
    "linalg",
    "simd",
    "parallel",
    "cache",
    "profiling",
    "memory_management",
    "random",
    "array",
]
default-features = false

[dependencies.scirs2-linalg]
version = "0.1.2"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1.15"
features = ["const_generics"]

[dependencies.thiserror]
version = "2.0.18"

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

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.tempfile]
version = "3.24"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
enum_glob_use = "warn"
float_cmp = "allow"
items_after_statements = "allow"
many_single_char_names = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
ptr_eq = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unwrap_used = "allow"
wildcard_imports = "allow"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
ambiguous_glob_reexports = "allow"
dead_code = "allow"
deprecated = "allow"
elided_lifetimes_in_paths = "allow"
missing_debug_implementations = "allow"
missing_docs = "allow"
private_bounds = "allow"
private_interfaces = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_assignments = "allow"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1