calc_rational

CLI calculator for rational numbers.
git clone https://git.philomathiclife.com/repos/calc_rational
Log | Files | Refs | README

commit a1dab87fd33a89f7ca6ac8d72890609b8201c7b0
parent 36a5f22255497cd55e078d59055aaac0f8a6713b
Author: Zack Newman <zack@philomathiclife.com>
Date:   Tue, 26 Aug 2025 09:05:46 -0600

fix macos compile. docs. deps

Diffstat:
MCargo.toml | 19+++++++++++++------
MREADME.md | 11++---------
2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml @@ -10,7 +10,7 @@ name = "calc_rational" readme = "README.md" repository = "https://git.philomathiclife.com/repos/calc_rational/" rust-version = "1.87.0" -version = "2.4.0" +version = "2.4.1" [lib] name = "calc_lib" @@ -23,19 +23,25 @@ path = "src/main.rs" [lints.rust] ambiguous_negative_literals = { level = "deny", priority = -1 } closure_returning_async_block = { level = "deny", priority = -1 } +deprecated_safe = { level = "deny", priority = -1 } deref_into_dyn_supertrait = { level = "deny", priority = -1 } ffi_unwind_calls = { level = "deny", priority = -1 } future_incompatible = { level = "deny", priority = -1 } +#fuzzy_provenance_casts = { level = "deny", priority = -1 } impl_trait_redundant_captures = { level = "deny", priority = -1 } -keyword-idents = { level = "deny", priority = -1 } +keyword_idents = { level = "deny", priority = -1 } let_underscore = { level = "deny", priority = -1 } -linker_messages = { level = "deny", priority = -1 } +#linker_messages = { level = "deny", priority = -1 } +#lossy_provenance_casts = { level = "deny", priority = -1 } macro_use_extern_crate = { level = "deny", priority = -1 } meta_variable_misuse = { level = "deny", priority = -1 } missing_copy_implementations = { level = "deny", priority = -1 } missing_debug_implementations = { level = "deny", priority = -1 } missing_docs = { level = "deny", priority = -1 } +#multiple_supertrait_upcastable = { level = "deny", priority = -1 } +#must_not_suspend = { level = "deny", priority = -1 } non_ascii_idents = { level = "deny", priority = -1 } +#non_exhaustive_omitted_patterns = { level = "deny", priority = -1 } nonstandard_style = { level = "deny", priority = -1 } redundant_imports = { level = "deny", priority = -1 } redundant_lifetimes = { level = "deny", priority = -1 } @@ -45,11 +51,12 @@ rust_2018_idioms = { level = "deny", priority = -1 } rust_2021_compatibility = { level = "deny", priority = -1 } rust_2024_compatibility = { level = "deny", priority = -1 } single_use_lifetimes = { level = "deny", priority = -1 } +#supertrait_item_shadowing_definition = { level = "deny", priority = -1 } trivial_casts = { level = "deny", priority = -1 } trivial_numeric_casts = { level = "deny", priority = -1 } unit_bindings = { level = "deny", priority = -1 } -unknown_lints = { level = "deny", priority = -1 } unnameable_types = { level = "deny", priority = -1 } +#unqualified_local_imports = { level = "deny", priority = -1 } unreachable_pub = { level = "deny", priority = -1 } unsafe_code = { level = "deny", priority = -1 } unstable_features = { level = "deny", priority = -1 } @@ -97,8 +104,8 @@ num-bigint = { version = "0.4.6", default-features = false } num-integer = { version = "0.1.46", default-features = false } num-rational = { version = "0.4.2", default-features = false, features = ["num-bigint"] } num-traits = { version = "0.2.19", default-features = false } -priv_sep = { version = "3.0.0-alpha.1.1", default-features = false, optional = true } -rand = { version = "0.9.1", default-features = false, features = ["thread_rng"], optional = true } +priv_sep = { version = "3.0.0-alpha.1.3", default-features = false, optional = true } +rand = { version = "0.9.2", default-features = false, features = ["thread_rng"], optional = true } ### FEATURES ################################################################# diff --git a/README.md b/README.md @@ -196,15 +196,8 @@ and it can be built with `cargo build --release`. Additionally, ### Status -This package will be actively maintained until it is deemed “feature complete”. -There are really only two properties that will always be true. First, -the grammar that generates a “reasonable” superset of the language will -be an unambiguous context-free grammar with expression precedence and binary operator -associativity embedded within. Last, the language will only deal with the field of -rational numbers. - -The crate is only tested on `x86_64-unknown-linux-gnu` and `x86_64-unknown-openbsd` targets, but it should work -on most platforms. +The crate is only tested on the `x86_64-unknown-linux-gnu`, `x86_64-unknown-openbsd`, and `aarch64-apple-darwin` +targets; but it should work on most platforms. #### Formal language specification