# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "numbat" version = "1.14.0" authors = ["David Peter "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A statically typed programming language for scientific computations with first class support for physical dimensions and units." homepage = "https://numbat.dev/" readme = "README.md" keywords = [ "language", "compiler", "physics", "units", "calculation", ] categories = [ "science", "mathematics", "compilers", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sharkdp/numbat" [lib] name = "numbat" path = "src/lib.rs" [[example]] name = "inspect" path = "examples/inspect.rs" [[example]] name = "unit_graph" path = "examples/unit_graph.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "interpreter" path = "tests/interpreter.rs" [[test]] name = "prelude_and_examples" path = "tests/prelude_and_examples.rs" [[bench]] name = "prelude" path = "benches/prelude.rs" harness = false [dependencies.codespan-reporting] version = "0.11" [dependencies.heck] version = "0.4.1" features = ["unicode"] [dependencies.html-escape] version = "0.2.13" optional = true [dependencies.indexmap] version = "2.2.6" [dependencies.itertools] version = "0.12" [dependencies.jiff] version = "0.1.3" features = ["js"] [dependencies.libc] version = "0.2.152" [dependencies.mendeleev] version = "0.8.1" [dependencies.num-format] version = "0.4.4" [dependencies.num-integer] version = "0.1.45" [dependencies.num-rational] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.numbat-exchange-rates] version = "0.5.0" [dependencies.plotly] version = "0.10.0" [dependencies.pretty_dtoa] version = "0.3" [dependencies.rand] version = "0.8.5" [dependencies.rust-embed] version = "8.2.0" features = [ "interpolate-folder-path", "debug-embed", ] [dependencies.strfmt] version = "0.2.4" [dependencies.strsim] version = "0.11.0" [dependencies.termcolor] version = "1.4.1" optional = true [dependencies.thiserror] version = "1" [dependencies.unicode-ident] version = "1.0.12" [dependencies.unicode-width] version = "0.1.11" [dependencies.walkdir] version = "2" [dev-dependencies.approx] version = "0.5" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.glob] version = "0.3" [dev-dependencies.insta] version = "1.34.0" [dev-dependencies.once_cell] version = "1.19.0" [dev-dependencies.percent-encoding] version = "2.3.1" [features] default = ["fetch-exchangerates"] fetch-exchangerates = ["numbat-exchange-rates/fetch-exchangerates"] html-formatter = [ "termcolor", "html-escape", ]