# 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 = "2021"
rust-version = "1.65"
name = "crmf"
version = "0.2.0-pre.0"
authors = ["RustCrypto Developers"]
description = """
Pure Rust implementation of the Certificate Request Message Format (CRMF) as
described in RFC 4211
"""
readme = "README.md"
keywords = ["crypto"]
categories = [
    "cryptography",
    "data-structures",
    "encoding",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/crmf"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.cms]
version = "=0.2.0-pre"

[dependencies.der]
version = "0.7"
features = [
    "alloc",
    "derive",
]

[dependencies.spki]
version = "0.7"

[dependencies.x509-cert]
version = "=0.2.0-pre.0"
default-features = false

[dev-dependencies.const-oid]
version = "0.9"

[features]
alloc = ["der/alloc"]
pem = [
    "alloc",
    "der/pem",
]
std = [
    "der/std",
    "spki/std",
]
