https://github.com/automata-network/sgxlib-thirdparty
https://github.com/automata-network/sgxlib-thirdparty
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/automata-network/sgxlib-thirdparty
- Owner: automata-network
- License: apache-2.0
- Created: 2023-08-22T10:03:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T13:41:35.000Z (12 months ago)
- Last Synced: 2025-02-17T16:45:01.692Z (3 months ago)
- Language: Assembly
- Size: 775 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# SGX Thirdparty Library
[](LICENSE)
This repository contains a large number of third-party libraries, used for various functionalities and development purposes. One of its main features is to provide a unified interface, making it convenient to use a single piece of code simultaneously in both std and tstd environments.
### Unified Interface
The repository offers a unified interface that allows developers to write code that can seamlessly operate within both standard (std) and customized (tstd) environments. This streamlines the development process and enhances code reusability, making it easier to maintain and deploy projects across various platforms.### Benefits
Code Reusability: Write once and run in both std and tstd environments without modification.
Ease of Use: Simplified development through a common interface that abstracts underlying complexities.
Cross-Platform Compatibility: Ensures that your code is compatible with different platforms that adhere to std and tstd specifications.### License Declaration
Please be aware that each third-party library or package within this repository may have its own distinct license. These licenses may include different restrictions and conditions, so it is essential to thoroughly review the accompanying license documentation for any particular library or package before using it.## Usage
```toml
[features]
default = ["std"]
std = ["serde/std", "serde_json/std", "threadpool/std"]
tstd = ["serde/tstd", "serde_json/tstd", "threadpool/tstd"][dependencies]
serde = { git = "https://github.com/automata-network/sgxlib-thirdparty", default-features = false }
serde_json = { git = "https://github.com/automata-network/sgxlib-thirdparty", default-features = false }
threadpool = { git = "https://github.com/automata-network/sgxlib-thirdparty", default-features = false }
```