mirror of
https://codeberg.org/icewind/php-literal-parser.git
synced 2026-06-03 18:44:07 +02:00
make colors optional feature
This commit is contained in:
parent
dac7a79701
commit
ccc50cb289
1 changed files with 7 additions and 3 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "php-literal-parser"
|
name = "php-literal-parser"
|
||||||
description = "parser for php literals"
|
description = "parser for php literals"
|
||||||
version = "0.2.7"
|
version = "0.2.8"
|
||||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
@ -11,10 +11,14 @@ documentation = "https://docs.rs/php-literal-parser"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
logos = "0.12"
|
logos = "0.12"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
source-span = "2.2"
|
source-span = { version = "2.2", default-features = false }
|
||||||
memchr = "2.3.4"
|
memchr = "2.3.4"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
maplit = "1.0.2"
|
maplit = "1.0.2"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["colors"]
|
||||||
|
colors = ["source-span/colors"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue