[package] name = "angulus" version = "0.6.0" edition = "2021" authors = ["Tristan Guichaoua "] description = "Unit agnostic angle" rust-version = "1.61" repository = "https://github.com/tguichaoua/angulus" license = "MIT OR Apache-2.0" keywords = ["utility", "angle", "math", "wrapper"] categories = ["data-structures", "mathematics", "value-formatting"] exclude = [".github/"] # ---------------------------------------------------------------------------- # [features] default = ["std"] std = [] # ---------------------------------------------------------------------------- # [dependencies] libm = { version = "0.2", optional = true, default-features = false } rand = { version = "0.8", optional = true, default-features = false } serde = { version = "1", optional = true, default-features = false } [dev-dependencies] float_eq = "1" rand = "0.8" serde = { version = "1", features = ["derive"] } serde_json = "1" # ---------------------------------------------------------------------------- # [package.metadata.docs.rs] # To build locally: # RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open all-features = true rustdoc-args = ["--cfg", "docsrs"] # ---------------------------------------------------------------------------- # [lints.rust] absolute_paths_not_starting_with_crate = "warn" let_underscore_drop = "warn" missing_docs = "warn" non_ascii_idents = "warn" unsafe_code = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" unused_tuple_struct_fields = "warn" variant_size_differences = "warn" [lints.clippy] cargo = "warn" pedantic = "warn" module_name_repetitions = { level = "allow", priority = 1 } # ---------------------------------------------------------------------------- #