blob: c102d446ed3dc261dd4bda8c5c70cfc7a6172f0a [file] [log] [blame]
[package]
name = "teaclave_executor"
version = "0.1.0"
authors = ["Teaclave Contributors <dev@teaclave.apache.org>"]
description = "Teaclave executor"
license = "Apache-2.0"
edition = "2018"
[lib]
name = "teaclave_executor"
crate-type = ["staticlib", "rlib"]
[features]
default = []
mesalock_sgx = [
"sgx_tstd",
"teaclave_types/mesalock_sgx",
"teaclave_function/mesalock_sgx",
]
cov = ["sgx_cov"]
enclave_unit_test = [
"teaclave_test_utils/mesalock_sgx",
"teaclave_runtime/mesalock_sgx"
]
# Enable builtin functions for the builtin executor
full_builtin_function = [
"builtin_echo",
"builtin_gbdt_predict",
"builtin_gbdt_train",
"builtin_logistic_regression_predict",
"builtin_logistic_regression_train",
"builtin_online_decrypt",
"builtin_private_join_and_compute",
"builtin_rsa_sign",
]
builtin_echo = []
builtin_gbdt_predict = []
builtin_gbdt_train = []
builtin_logistic_regression_predict = []
builtin_logistic_regression_train = []
builtin_online_decrypt = []
builtin_private_join_and_compute = []
builtin_rsa_sign = []
[dependencies]
log = { version = "0.4.6", features = ["release_max_level_info"] }
anyhow = { version = "1.0.26" }
serde_json = { version = "1.0.39" }
serde = { version = "1.0.92", features = ["derive"] }
thiserror = { version = "1.0.9" }
gbdt = { version = "0.1.0", features = ["input", "enable_training"] }
rusty-machine = { version = "0.5.4" }
itertools = { version = "0.8.0", default-features = false }
teaclave_types = { path = "../types" }
teaclave_crypto = { path = "../crypto" }
teaclave_runtime = { path = "../runtime", optional = true }
teaclave_test_utils = { path = "../tests/utils", optional = true }
teaclave_function = { path = "../function" }
sgx_cov = { version = "1.1.2", optional = true }
sgx_tstd = { version = "1.1.2", features = ["net", "thread", "backtrace"], optional = true }
sgx_types = { version = "1.1.2" }