From ebf8ad371d41f39ff40ab17a41106e2bdd06cf1c Mon Sep 17 00:00:00 2001 From: Deepak Bomjan Date: Tue, 18 Jun 2024 15:32:15 +0545 Subject: [PATCH] ci: configure cargo workspace --- .../build-test-soroban-contracts.yml | 2 +- Cargo.toml | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 Cargo.toml diff --git a/.github/workflows/build-test-soroban-contracts.yml b/.github/workflows/build-test-soroban-contracts.yml index 17dcb88..e81a2ac 100644 --- a/.github/workflows/build-test-soroban-contracts.yml +++ b/.github/workflows/build-test-soroban-contracts.yml @@ -1,4 +1,4 @@ -name: Build and Test Stellar contracts +name: Build and Test Balanced Soroban contracts on: push: branches: diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..d1d5031 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,26 @@ +[workspace] +members = [ + "asset_manager", + "balanced_dollar", + "xcall", + "xcall_manager" +] + +[workspace.package] +authors = ["Balanced"] +repository = "https://github.com/balancednetwork/balanced-soroban-contracts.git" +version="0.1.0" + +[workspace.dependencies] + + +[profile.release] +opt-level = 'z' +debug = false +rpath = false +lto = true +debug-assertions = false +codegen-units = 1 +panic = 'abort' +incremental = false +overflow-checks = true