[package] name = "sgx" version = "0.6.1" authors = ["The Enarx Project Developers"] license = "Apache-2.0" edition = "2021" rust-version = "1.67" homepage = "https://github.com/enarx/sgx" repository = "https://github.com/enarx/sgx" description = "Library for Intel SGX" readme = "README.md" keywords = ["intel", "sgx"] categories = ["os", "os::linux-apis", "parsing", "network-programming", "hardware-support"] exclude = [ ".gitignore", ".github/*" ] [badges] # See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section github = { repository = "enarx/sgx", workflow = "test" } #github = { repository = "enarx/sgx", workflow = "lint" } maintenance = { status = "actively-developed" } is-it-maintained-issue-resolution = { repository = "enarx/sgx" } is-it-maintained-open-issues = { repository = "enarx/sgx" } [features] rcrypto = ["rand", "rsa", "sha2", "num-integer", "num-traits", "const-oid", "der", "x509",] [dependencies] x86_64 = { version = "^0.14.11", default-features = false } openssl = { version = "^0.10.59", optional = true } bitflags = "^2.4.1" # Used by the rcrypto feature (see above). num-integer = { version = "^0.1.45", optional = true } num-traits = { version = "^0.2.16", optional = true } rand = { version = "^0.8.5", optional = true } sha2 = { version = "0.10.8", features = ["oid"], optional = true } rsa = { version = "^0.9.3", features = ["sha2"], optional = true } const-oid = { version = "^0.9.5", default-features = false, optional = true } der = { version = "^0.7.8", optional = true } x509 = { version = "^0.2.4", package = "x509-cert", default-features = false, optional = true } [target.'cfg(target_arch = "x86_64")'.dependencies] xsave = { version = "^2.0.2", default-features = false } [dev-dependencies] testaso = "0.1"