[package]
edition = "2024"
name = "ivp"
version = "0.6.0"
authors = ["Ryan D. Gast <ryan.d.gast@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for solving initial value problems (IVPs) for ordinary differential equations (ODEs)."
homepage = "https://github.com/Ryan-D-Gast/ivp"
documentation = "https://docs.rs/ivp"
readme = "README.md"
keywords = [
"differential",
"equations",
"solve_ivp",
"ode",
"ivp",
]
categories = [
"science",
"mathematics",
"algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/Ryan-D-Gast/ivp"
[features]
default = ["f64"]
f32 = []
f64 = []
python = [
"dep:pyo3",
"dep:numpy",
]
[lib]
name = "ivp"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[example]]
name = "bouncing_ball"
path = "examples/bouncing_ball.rs"
[[example]]
name = "cr3bp"
path = "examples/cr3bp.rs"
[[example]]
name = "exponential_decay"
path = "examples/exponential_decay.rs"
[[example]]
name = "first_order_decay"
path = "examples/first_order_decay.rs"
[[example]]
name = "hamiltonian_oscillator"
path = "examples/hamiltonian_oscillator.rs"
[[example]]
name = "harmonic_symplectic"
path = "examples/harmonic_symplectic.rs"
[[example]]
name = "second_order_oscillator"
path = "examples/second_order_oscillator.rs"
[[example]]
name = "van_der_pol"
path = "examples/van_der_pol.rs"
[[test]]
name = "accuracy"
path = "tests/accuracy.rs"
[[test]]
name = "backward_and_bounds"
path = "tests/backward_and_bounds.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "ivp"
path = "tests/ivp.rs"
[[test]]
name = "symplectic"
path = "tests/symplectic.rs"
[dependencies.bon]
version = "3.7.2"
[dependencies.numpy]
version = "0.27"
optional = true
[dependencies.pyo3]
version = "0.27.1"
features = [
"extension-module",
"abi3-py39",
"generate-import-lib",
]
optional = true
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
[profile.release.build-override]
opt-level = 3