blob: bd8503f21154702a62c339a1bdcab99d2619b6f8 [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 = "ta"
version = "0.2.0"
authors = ["Teaclave Contributors <dev@teaclave.apache.org>"]
license = "Apache-2.0"
repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
description = "An example of Rust OP-TEE TrustZone SDK."
edition = "2018"
[dependencies]
libc = { path = "../../../rust/libc" }
proto = { path = "../proto" }
optee-utee-sys = { path = "../../../optee-utee/optee-utee-sys" }
optee-utee = { path = "../../../optee-utee" }
rustls = { git = "https://github.com/DemesneGH/rustls.git", branch = "veracruz" }
webpki = { git = "https://github.com/veracruz-project/webpki.git", branch = "veracruz", features = ["default"] }
webpki-roots = { git = "https://github.com/veracruz-project/webpki-roots.git", branch = "veracruz", features = ["default"] }
lazy_static = {version = "1.4.0", features=["spin_no_std"] }
[build_dependencies]
uuid = { version = "0.8" }
proto = { path = "../proto" }
[profile.release]
lto = true
# Patch optee-utee for webpki
[patch."https://github.com/veracruz-project/rust-optee-trustzone-sdk.git"]
optee-utee = { path = "../../../optee-utee" }
# Patch optee-utee for rustls
[patch."https://github.com/apache/incubator-teaclave-trustzone-sdk.git"]
optee-utee = { path = "../../../optee-utee" }