-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (29 loc) · 977 Bytes
/
Copy pathCargo.toml
File metadata and controls
35 lines (29 loc) · 977 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
29
30
31
32
33
34
35
[package]
name = "glsl-lang-quote"
version = "0.8.1"
authors = ["Alixinne <alixinne@pm.me>"]
edition = "2021"
license = "BSD-3-Clause"
description = "Quoting proc-macro for glsl-lang"
homepage = "https://github.com/alixinne/glsl-lang"
documentation = "https://docs.rs/glsl-lang-quote/"
repository = "https://github.com/alixinne/glsl-lang"
readme = "README.md"
keywords = ["glsl", "language", "parser", "ast", "macro"]
categories = ["parser-implementations", "rendering"]
rust-version = "1.82.0"
[lib]
proc-macro = true
path = "src/lib.rs"
[dependencies]
glsl-lang = { version = "=0.8.1", default-features = false, features = ["lexer-full"] }
proc-macro2 = "1"
quote = "1"
[features]
# Default: only translation units can be quoted
default = ["quote-parsable"]
# Additional sub-quotes. Increases compilation time.
quote-expr = ["glsl-lang/parser-expr"]
quote-statement = ["glsl-lang/parser-statement"]
# Allow parsing quoted expressions with parseable
quote-parsable = []