# 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 = "gfold-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "G-FOLD convex powered-descent guidance solver"
readme = "README.md"
license = "MIT"
repository = "https://github.com/samutoljamo/g-fold"

[features]
python = ["dep:pyo3"]
wasm = [
    "dep:tsify",
    "dep:wasm-bindgen",
]

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

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

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

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

[dependencies.clarabel]
version = "0.11"

[dependencies.pyo3]
version = "0.29"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tsify]
version = "0.5"
features = ["js"]
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

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

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

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