optee-teec 0.9.0

TEE client API.
Documentation
// 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.

#![cfg_attr(doc, doc = concat!(
    env!("CARGO_PKG_DESCRIPTION"),
    "\n",
    "## Feature flags\n",
    document_features::document_features!(),
))]

pub use self::context::Context;
pub use self::error::{Error, ErrorKind, ErrorOrigin, Result};
pub use self::extension::*;
pub use self::operation::Operation;
pub use self::parameter::{Param, ParamNone, ParamTmpRef, ParamType, ParamTypes, ParamValue};
pub use self::session::{ConnectionMethods, Session};
pub use self::uuid::Uuid;
// Re-export optee_teec_sys so developers don't have to add it to their cargo
// dependencies.
pub use optee_teec_sys as raw;

// Re-export optee_teec_macros so developers don't have to add it as a separate
// cargo dependency.
// Gate it behind a feature flag to avoid unnecessary build-time overhead when
// it’s not needed (see #283).
#[cfg(feature = "macros")]
pub use optee_teec_macros as macros;

mod context;
mod error;
mod extension;
mod operation;
mod parameter;
mod session;
mod uuid;