[package] name = "arithmetic-typing" version.workspace = true edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true repository.workspace = true readme = "README.md" description = "Hindley-Milner type inference for arithmetic expressions." categories = ["mathematics", "no-std"] keywords = ["typing", "type-system", "arithmetic", "scripting", "language"] [dependencies] arithmetic-parser.workspace = true anyhow.workspace = true nom.workspace = true num-traits.workspace = true # Optional dependencies hashbrown = { workspace = true, optional = true } [dev-dependencies] assert_matches.workspace = true hex.workspace = true pulldown-cmark.workspace = true version-sync.workspace = true [features] default = ["std"] # Enables support of types from `std`, such as the `Error` trait. std = ["anyhow/std", "arithmetic-parser/std"]