Skip to content

Commit

Permalink
Add mc-sgx-sync crate
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mobilecoin committed Jan 11, 2023
1 parent 6204553 commit 7c3ce9a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.github/ @jcape @nick-mobilecoin
/io/ @nick-mobilecoin
/panic/ @nick-mobilecoin
/sync/ @nick-mobilecoin
/test_enclave/ @nick-mobilecoin
/LICENSE @jcape
/*.* @jcape
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ members = [
"alloc",
"io",
"io/untrusted",
"panic"
"panic",
"sync",
]
exclude = [
"panic/abort",
Expand Down
14 changes: 14 additions & 0 deletions sync/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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]
21 changes: 21 additions & 0 deletions sync/README.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions sync/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright (c) 2023 The MobileCoin Foundation

#![doc = include_str!("../README.md")]
#![deny(missing_docs, missing_debug_implementations, unsafe_code)]

0 comments on commit 7c3ce9a

Please sign in to comment.