blob: 5c5888394eeb4dc48ef82a12151fb67f8bb18e11 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[package]
name = "sgx_serialize"
version = "2.0.0"
authors = ["The Teaclave Authors"]
repository = "https://github.com/apache/teaclave-sgx-sdk"
license-file = "LICENSE"
documentation = "https://teaclave.apache.org/sgx-sdk-docs/"
description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
edition = "2021"
[lib]
name = "sgx_serialize"
crate-type = ["rlib"]
[features]
default = ["tserialize"]
tserialize = ["sgx_tstd"]
userialize = []
derive = ["sgx_serialize_derive"]
[target.'cfg(not(target_vendor = "teaclave"))'.dependencies]
sgx_tstd = { path = "../sgx_tstd", optional = true }
sgx_types = { path = "../sgx_types" }
[dependencies]
sgx_serialize_derive = { path = "./derive", optional = true }