-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
41 lines (33 loc) · 910 Bytes
/
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
[package]
name = "glsl2wgsl"
version = "0.0.1"
license = "BSD-3-Clause"
authors = ["Eliot Bolduc <[email protected]>"]
description = "Translates GLSL code to WGSL."
keywords = ["GLSL", "WGSL", "parser", "transpiler", "translator"]
categories = ["parsing", "rendering"]
homepage = "https://eliotbo.github.io/"
repository = "https://eliotbo.github.io/"
readme = "README.md"
edition = "2018"
[features]
spirv = ["shaderc"]
[dependencies]
nom = { version = "7", default-features = false, features = ["std"] }
shaderc = { version = "0.6", optional = true }
wasm-bindgen = "0.2"
nom_locate = "4.0"
itertools = "0.10"
# wasm-pack build --target web
# # uncomment if compiling for wasm
# [lib]
# crate-type = ["cdylib"]
[[example]]
name = "ex"
path = "examples/ex.rs"
[[example]]
name = "add_span_to_str"
path = "examples/add_span_to_str.rs"
[[example]]
name = "parse_file"
path = "examples/parse_file.rs"