[package]
edition = "2021"
name = "dfe"
version = "0.6.1"
build = false
exclude = [
"dfe/manuais_sefaz/*",
"dfe/shema/*",
"dfe/thirdparty/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DFE - Documentos Fiscais EletrĂ´nicos Brasileiros"
homepage = "https://github.com/GustavoOta/dfe"
readme = "README.md"
keywords = [
"rust",
"nfe",
"dfe",
]
categories = [
"api-bindings",
"parsing",
]
license = "MIT"
repository = "https://github.com/GustavoOta/dfe"
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
branch = "master"
install = ["libxml2"]
[package.metadata.vcpkg.target.x86_64-pc-windows-msvc]
triplet = "x64-windows-static"
install = ["libxml2"]
[lib]
name = "dfe"
path = "src/lib.rs"
[[bin]]
name = "mod"
path = "src/bin/mod.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.chrono]
version = "0.4.38"
[dependencies.chrono-tz]
version = "0.10.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.libxml]
version = "=0.3.3"
[dependencies.quick-xml]
version = "0.37.1"
features = [
"encoding",
"serialize",
]
[dependencies.rand]
version = "0.8.5"
[dependencies.regex]
version = "1.11.1"
[dependencies.reqwest]
version = "0.12.9"
features = [
"native-tls",
"json",
"gzip",
"blocking",
]
[dependencies.rust_decimal]
version = "1.38.0"
[target.'cfg(target_os = "windows")'.dependencies.barcoders]
version = "2.0.0"
[target.'cfg(target_os = "windows")'.dependencies.flate2]
version = "1.0"
[target.'cfg(target_os = "windows")'.dependencies.font8x8]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.image]
version = "0.24"
features = [
"png",
"jpeg",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.printpdf]
version = "0.7.0"
[target.'cfg(target_os = "windows")'.dependencies.qrcodegen]
version = "1.8"
[target.'cfg(target_os = "windows")'.dependencies.serde]
version = "1.0.215"
features = ["derive"]
[target.'cfg(target_os = "windows")'.dependencies.serde_json]
version = "1.0.133"
[target.'cfg(target_os = "windows")'.dependencies.sha1]
version = "0.10.6"
[target.'cfg(target_os = "windows")'.dependencies.sha2]
version = "0.10.8"
[target.'cfg(target_os = "windows")'.dependencies.tokio]
version = "1.41.1"
features = ["full"]
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Security_Cryptography",
"Win32_Foundation",
"Win32_Graphics_Printing",
"Win32_Graphics_Gdi",
]
[profile.release]
debug = 0