-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (23 loc) · 744 Bytes
/
Cargo.toml
File metadata and controls
28 lines (23 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "expr_rs"
authors = ["Cryptex"]
description = " A safe and simple math evaluator for Rust and Python."
repository = "https://github.com/Cryptex-github/expr.rs"
keywords = ["math", "evaluator", "safe", "rust", "python"]
categories = ["command-line-utilities", "parsing"]
license = "MIT"
version = "0.0.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "expr"
path = "src/bin/expr.rs"
[lib]
name = "expr_rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
chumsky = "0.8"
pyo3 = { version = "0.16.4", features = ["extension-module"], optional = true }
rust_decimal = { version = "1.23", features = ["maths"] }
[features]
python = ["dep:pyo3"]