diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ffdd2b5..aca4818 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,6 +2,7 @@ /.github/ @jcape @nick-mobilecoin /io/ @nick-mobilecoin /panic/ @nick-mobilecoin +/sync/ @nick-mobilecoin /test_enclave/ @nick-mobilecoin /LICENSE @jcape /*.* @jcape diff --git a/Cargo.toml b/Cargo.toml index 96f6de5..18263ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,8 @@ members = [ "alloc", "io", "io/untrusted", - "panic" + "panic", + "sync", ] exclude = [ "panic/abort", diff --git a/sync/Cargo.toml b/sync/Cargo.toml new file mode 100644 index 0000000..4f556aa --- /dev/null +++ b/sync/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "mc-sgx-sync" +version = "0.1.0" +edition = "2021" +authors = ["MobileCoin"] +rust-version = "1.62.1" +license = "Apache-2.0" +readme = "README.md" +repository = "https://github.com/mobilecoinfoundation/sgx-std" +description = "Synchronization primitives for SGX enclaves" +categories = ["hardware-support", "no-std"] +keywords = ["sgx", "no-std"] + +[dependencies] diff --git a/sync/README.md b/sync/README.md new file mode 100644 index 0000000..7ba3aa5 --- /dev/null +++ b/sync/README.md @@ -0,0 +1,21 @@ +# MobileCoin: Synchronization primitives for SGX enclaves + +[![Project Chat][chat-image]][chat-link]![License][license-image]![Target][target-image][![Crates.io][crate-image]][crate-link][![Docs Status][docs-image]][docs-link][![Dependency Status][deps-image]][deps-link] + +Synchronization primitives for SGX enclaves + +[chat-image]: https://img.shields.io/discord/844353360348971068?style=flat-square +[chat-link]: https://mobilecoin.chat +[license-image]: https://img.shields.io/crates/l/mc-sgx-sync?style=flat-square +[target-image]: https://img.shields.io/badge/target-sgx-red?style=flat-square +[crate-image]: https://img.shields.io/crates/v/mc-sgx-sync.svg?style=flat-square +[crate-link]: https://crates.io/crates/mc-sgx-sync +[docs-image]: https://img.shields.io/docsrs/mc-sgx-sync?style=flat-square +[docs-link]: https://docs.rs/crate/mc-sgx-sync +[deps-image]: https://deps.rs/crate/mc-sgx-sync/0.1.0/status.svg?style=flat-square +[deps-link]: https://deps.rs/crate/mc-sgx-sync/0.1.0 diff --git a/sync/src/lib.rs b/sync/src/lib.rs new file mode 100644 index 0000000..1f0ac37 --- /dev/null +++ b/sync/src/lib.rs @@ -0,0 +1,4 @@ +// Copyright (c) 2023 The MobileCoin Foundation + +#![doc = include_str!("../README.md")] +#![deny(missing_docs, missing_debug_implementations, unsafe_code)]