ballistics-engine 0.13.22

High-performance ballistics trajectory engine with professional physics
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"
name = "ballistics-engine"
version = "0.13.22"
authors = ["Alex Jokela <email@tinycomputers.io>"]
build = false
exclude = [
    "app/",
    "tests/",
    "examples/",
    "ios.png",
    "pkg/",
    "pkg-nodejs/",
    "test_ffi.c",
    "test_monte_carlo.py",
    "ballistics_standalone.rs",
    "ballistics/",
    "ballistics",
    "src/main.rs",
    "src/bin/",
    "ballistics-engine-py/",
    "ballistics-engine-rb/",
    "ballistics-engine-rb.bak/",
    "BallisticsEngine.xcframework/",
    "BallisticsEngine.xcframework.bak/",
    "*.xcframework",
    "doc/",
    "target/",
    "*.bak",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance ballistics trajectory engine with professional physics"
homepage = "https://ballistics.rs/"
documentation = "https://docs.rs/ballistics-engine"
readme = "README.md"
keywords = [
    "ballistics",
    "trajectory",
    "physics",
    "simulation",
]
categories = [
    "science",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ajokela/ballistics-engine"

[features]
default = ["online"]
online = ["dep:ureq"]

[lib]
name = "ballistics_engine"
crate-type = [
    "rlib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.csv]
version = "1.3"

[dependencies.nalgebra]
version = "0.34"

[dependencies.ndarray]
version = "0.15"

[dependencies.ndarray-npy]
version = "0.8"

[dependencies.once_cell]
version = "1.19"

[dependencies.rand]
version = "0.8"

[dependencies.rand_distr]
version = "0.4"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.ureq]
version = "2.12"
features = ["json"]
optional = true

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

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

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["console"]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1