Cargo Features
GSW has no features set by default.
[dependencies]
gsw = { version = "0.2.2", features = ["capi", "compat", "invalidasnan", "nodgdz", "std", "cbindgen"] }
- capi = libc, std
- compat = invalidasnan
-
Compatibility with Matlab implementation
- invalidasnan compat?
-
Invalid value returns Ok(f64:NAN) instead of an Error
- nodgdz
-
Depth-independent gravitational acceleration. Useful for numerical models Maybe rename to constg?
- std capi? = thiserror
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- libc capi?
- thiserror std?
-
Enables thiserror ^1.0.24
- cbindgen build implicit feature
-
Enables cbindgen ^0.26.0
cbindgen:
A tool for generating C bindings to Rust code