[package] name = "br-code" version = "0.1.1" edition = "2021" authors = ["Carry <7991156@qq.com>"] keywords = ["code", "uuid", "qrcode", "random"] readme = "README.md" license = "MIT" exclude = ["INSTALL.md", "tests", "examples"] description = "This is an code" [features] br_random = ["rand", "uuid/v4"] br_barcode = ["barcoders", "ril"] br_qrcode = ["qrcode/image", "qrcode/svg", "quircs", "image"] br_gs1 = ["gs1", "hex"] br_regex = ["regex", "br_number"] br_number = [] #default = [] default = ["br_qrcode", "br_barcode", "br_gs1", "br_random", "br_regex"] [dependencies] json = "0.12.4" rand = { version = "0.8.5", optional = true } uuid = { version = "1.11", features = ["v4"], optional = true } image = { version = "0.25", optional = true } qrcode = { version = "0.14.0", features = ["image", "svg"], optional = true } barcoders = { version = "2.0.0", features = ["svg", "image"], optional = true } ril = { version = "0.10", features = ["all"], optional = true } quircs = { version = "0.10.2", optional = true } gs1 = { version = "0.1.6", optional = true } hex = { version = "0.4.3", optional = true } imageproc = "0.25.0" regex = { version = "1.9.3", default-features = false, features = [], optional = true } [dev-dependencies] #tesseract = "0.15.1" #opencv = { version = "0.92.2", features = ["default", "imgcodecs"] }