Initial commit



To preserve performance only 1000 of 1000+ files are displayed.
version: 2
- image: circleci/rust:stretch
resource_class: xlarge
- checkout
- run:
name: Version Information
command: rustc --version; cargo --version; rustup --version
- run:
name: Install Dependencies
command: |
sudo sh -c 'echo "deb stretch-backports main" > /etc/apt/sources.list.d/backports.list'
sudo apt-get update
sudo apt-get install -y protobuf-compiler/stretch-backports cmake golang curl
sudo apt-get clean
sudo rm -r /var/lib/apt/lists/*
rustup component add clippy rustfmt
- run:
name: Setup Env
command: |
echo 'export TAG=0.1.${CIRCLE_BUILD_NUM}' >> $BASH_ENV
echo 'export IMAGE_NAME=myapp' >> $BASH_ENV
- run:
name: Linting
command: |
cargo fmt -- --check
- run:
name: Build All Targets
command: RUST_BACKTRACE=1 cargo build -j 16 --all --all-targets
- run:
name: Run All Unit Tests
command: cargo test --all --exclude testsuite
- run:
name: Run All End to End Tests
command: RUST_TEST_THREADS=2 cargo test --package testsuite
# Ensure that text files that any contributor introduces to the repository
# have their line endings normalized to LF
* text=auto
# All known text filetypes
*.md text
*.proto text
*.rs text
*.sh text eol=lf
*.toml text
*.txt text
*.yml text
name: "\U0001F41B Bug report"
about: Create a bug report to help improve Libra Core
title: "[Bug]"
labels: bug
assignees: ''
# 🐛 Bug
<!-- A clear and concise description of what the bug is.
To report a security issue, please email -->
## To reproduce
** Code snippet to reproduce **
# Your code goes here
# Please make sure it does not require any external dependencies
** Stack trace/error message **
// Paste the output here
## Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
## System information
**Please complete the following information:**
- <!-- Libra Version -->
- <!-- Rust Version -->
- <!-- Computer OS -->
## Additional context
Add any other context about the problem here.
name: "\U0001F680 Feature request"
about: Suggest a new feature in Libra Core
title: "[Feature Request]"
labels: enhancement
assignees: ''
# 🚀 Feature Request
<!-- A clear and concise description of the feature you are requesting -->
## Motivation
**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
<!-- Please link to any relevant issues or other PRs! -->
## Pitch
**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->
**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
**Are you willing to open a pull request?** (See [CONTRIBUTING](../
## Additional context
<!-- Add any other context or screenshots about the feature request here. -->
name: ❓ Questions/Help
about: If you have questions, please check Discourse
## ❓ Questions and Help
### Please note that this issue tracker is not a help form and this issue will be closed.
Please contact the development team on [Discourse](
Thank you for sending a PR. We appreciate you spending time to help improve the Libra project.
The project is undergoing daily changes. Pull Requests will be reviewed and responded to as time permits.
## Motivation
(Write your motivation for proposed changes here.)
### Have you read the [Contributing Guidelines on pull requests](
(Write your answer here.)
## Test Plan
(Share your test plan here. If you changed code, please provide us with clear instrutions for verifying that your changes work.)
## Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at, and link to your PR here.)
# Rust specific ignores
# Cargo.lock is needed for deterministic testing and repeatable builds.
# Having it in the repo slows down development cycle.
# More information here