jid: Add optional quote support

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-10-29 13:51:23 +01:00
commit ec969a78fc
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 38 additions and 0 deletions

View file

@ -23,7 +23,12 @@ memchr = "2.5"
minidom = { version = "0.15", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
stringprep = "0.1.3"
quote = { version = "1.0", optional = true }
proc-macro2 = { version = "1.0", optional = true }
[dev-dependencies]
serde_test = "1"
jid = { path = ".", features = [ "serde" ] }
[features]
quote = ["dep:quote", "dep:proc-macro2"]