-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
57 lines (45 loc) · 1.37 KB
/
Cargo.toml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
categories = ["parser-implementations", "wasm"]
description = "A library for creating, parsing and evaluating lambda calculus"
documentation = "https://docs.rs/lamcalc/"
edition = "2021"
exclude = ["/pkg", "/web", "/scripts"]
homepage = "https://sshwy.github.io/lamcalc/"
keywords = ["lambda_calculus", "De_Bruijn_encoding", "parser"]
license = "MIT"
name = "lamcalc"
readme = "README.md"
repository = "https://github.com/sshwy/lamcalc"
version = "1.2.0"
[lib]
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pest = "2"
pest_derive = "2"
serde = { version = "1.0", features = ["derive"], optional = true }
serde-wasm-bindgen = { version = "0.4", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
web-sys = { optional = true, version = "0.3", features = [ "console" ] }
[features]
wasm = ["serde", "serde-wasm-bindgen", "wasm-bindgen", "web-sys"]
experimental = []
[package.metadata.docs.rs]
features = ["wasm"]
[profile.release]
lto = true
[[example]]
name = "y_combinator"
path = "examples/y_combinator.rs"
[[example]]
name = "parser"
path = "examples/parser.rs"
[[example]]
name = "church_encoding"
path = "examples/church_encoding.rs"
[[example]]
name = "beta_reduce"
path = "examples/beta_reduce.rs"
[[example]]
name = "eta_reduce"
path = "examples/eta_reduce.rs"