[package]
name = "sgxs"
version = "0.8.0"
authors = ["Fortanix, Inc."]
license = "MPL-2.0"
description = """
Library for working with the SGX stream format.
"""
repository = "https://github.com/fortanix/rust-sgx"
documentation = "https://edp.fortanix.com/docs/api/sgxs/"
homepage = "https://edp.fortanix.com/"
keywords = ["sgx", "enclave", "sgxs"]
categories = ["parsing", "encoding"]
[dependencies]
sgx-isa = { version = "0.4.0", path = "../sgx-isa" }
byteorder = "1.0"
time = { version = "0.3", features = ["formatting", "local-offset", "macros", "std"] }
thiserror = "1.0"
anyhow = "1.0"
openssl = { version = "0.10", optional = true }
openssl-sys = { version = "0.9.24", optional = true }
foreign-types = { version = "0.3", optional = true }
sha2 = { version = "0.8", optional = true }
[features]
crypto-openssl = ["openssl", "openssl-sys", "foreign-types"]
[target.'cfg(not(target_env = "sgx"))'.dev-dependencies]
crypto-hash = "0.3"