# 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]
name = "sgxs"
version = "0.8.2"
authors = ["Fortanix, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Library for working with the SGX stream format.
"""
homepage = "https://edp.fortanix.com/"
documentation = "https://edp.fortanix.com/docs/api/sgxs/"
readme = "README.md"
keywords = [
    "sgx",
    "enclave",
    "sgxs",
]
categories = [
    "parsing",
    "encoding",
]
license = "MPL-2.0"
repository = "https://github.com/fortanix/rust-sgx"
resolver = "2"

[features]
crypto-openssl = [
    "openssl",
    "openssl-sys",
    "foreign-types",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.byteorder]
version = "1.0"

[dependencies.foreign-types]
version = "0.3"
optional = true

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.openssl-sys]
version = "0.9.24"
optional = true

[dependencies.sgx-isa]
version = ">=0.4.0, <0.6.0"

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

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "local-offset",
    "macros",
    "std",
]

[target.'cfg(not(target_env = "sgx"))'.dev-dependencies.crypto-hash]
version = "0.3"
