add svg output ability (behind flag)

This commit is contained in:
Henry Schimke
2023-01-12 10:54:58 -06:00
parent 7ddeb49064
commit a17a33e7e3
3 changed files with 88 additions and 23 deletions

View File

@@ -29,12 +29,14 @@ codepage-437 = "0.1.0"
rxing-one-d-proc-derive = "0.3.0"
#rxing-one-d-proc-derive = {path ="../rxing-one-d-proc-derive"}
num = "0.4.0"
svg = {version = "0.13", optional = true}
[dev-dependencies]
java-properties = "1.4.1"
java-rand = "0.2.0"
[features]
default = ["image"]
default = ["image", "svg_write"]
image = ["dep:image", "dep:imageproc"]
allow_forced_iso_ied_18004_compliance = []
svg_write = ["dep:svg"]