[package]
edition = "2021"
rust-version = "1.81"
name = "bearingpro"
version = "0.12.0"
authors = ["xvi.xv.xii.ix.xxii.ix.xiv <xvi.xv.xii.ix.xxii.ix.xiv@gmail.com>"]
build = false
exclude = [
".github/",
"deny.toml",
"SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for solving common maritime navigation tasks."
homepage = "https://github.com/xvi-xv-xii-ix-xxii-ix-xiv/bearingpro"
documentation = "https://docs.rs/bearingpro"
readme = "README.md"
keywords = [
"bearing",
"course",
"compass",
"deviation",
"navigation",
]
categories = [
"science",
"no-std",
"algorithms",
]
license = "MIT"
repository = "https://github.com/xvi-xv-xii-ix-xxii-ix-xiv/bearingpro"
[features]
default = ["std"]
libm = ["dep:libm"]
serde = ["dep:serde"]
std = []
[lib]
name = "bearingpro"
path = "src/lib.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "serde_round_trip"
path = "tests/serde_round_trip.rs"
[dependencies.libm]
version = "0.2"
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = [
"alloc",
"derive",
]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"