# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "efr"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "efr (EFile Rust)"
readme = "README.md"
keywords = ["efr"]
license = "MIT"
repository = "https://github.com/williamcparks/efr"

[features]
codes = [
    "efr-macros/codelist",
    "dep:cms",
    "dep:const-oid",
    "dep:der",
    "rsa/sha2",
    "dep:sha2",
    "dep:x509-cert",
    "dep:zip",
]
metadata = ["efr-macros/metadata"]

[lib]
name = "efr"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.bitflags]
version = "2.11.0"

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]

[dependencies.cms]
version = "0.2.3"
features = ["builder"]
optional = true

[dependencies.const-oid]
version = "0.9.6"
features = ["db"]
optional = true

[dependencies.der]
version = "0.7.10"
optional = true

[dependencies.efr-macros]
version = "0.1.4"
features = [
    "partial-xml",
    "xml",
]

[dependencies.quick-xml]
version = "0.39.2"
features = ["serialize"]

[dependencies.rsa]
version = "0.9.10"
features = ["sha1"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.uuid]
version = "1.21.0"
features = ["v4"]

[dependencies.x509-cert]
version = "0.2.5"
optional = true

[dependencies.zip]
version = "8.1.0"
optional = true
