Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8b4f417
switch to stable 1.85.1
onur-ozkan Jul 7, 2025
f999117
remove nightly compiler build flag
onur-ozkan Jul 7, 2025
f9b23c9
create `NotStandardStateMachine` and `NotInitialState` markers
onur-ozkan Jul 7, 2025
66ec22a
remove redundant trait implementation
onur-ozkan Jul 7, 2025
8245767
remove auto trait in state_machine
onur-ozkan Jul 7, 2025
d2b0a15
enable rustc_bootstrap
onur-ozkan Jul 8, 2025
01c0ead
make `mm2_p2p` nightly free
onur-ozkan Jul 8, 2025
ea23558
make `mm2_test_helpers` nightly free
onur-ozkan Jul 8, 2025
9c3a5d5
drop outdated `#![feature(stmt_expr_attributes)]`
onur-ozkan Jul 8, 2025
f9199c6
drop `#![feature(hash_raw_entry)]` features
onur-ozkan Jul 8, 2025
b0f8e93
stabilize `mm2_db`
onur-ozkan Jul 8, 2025
43a0704
allow nightly features only on specific crates
onur-ozkan Jul 17, 2025
172d89f
use stable parking lot
onur-ozkan Jul 17, 2025
4449b00
stabilize gstuff
onur-ozkan Jul 17, 2025
6c193bf
fix typo
onur-ozkan Jul 17, 2025
71c2566
document `RUSTC_BOOTSTRAP`
onur-ozkan Jul 17, 2025
a3258e5
re-utilize negative traits
onur-ozkan Jul 17, 2025
7c89569
remove experimental rustfmt feature
onur-ozkan Jul 17, 2025
305462c
handle test crates
onur-ozkan Jul 17, 2025
9adac55
update CI pipelines to install stable compiler
onur-ozkan Jul 17, 2025
e4a08e0
nit
onur-ozkan Jul 21, 2025
6dae698
Merge branch 'dev' of github.com:KomodoPlatform/komodo-defi-framework…
onur-ozkan Jul 22, 2025
3875a5b
remove unstable fmt rules
onur-ozkan Jul 22, 2025
5aea2c5
bless fmt
onur-ozkan Jul 22, 2025
48bc234
explain why `NotSend` is not `Send`
onur-ozkan Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 18 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
[env]
# Enables unstable features for specific crates to take advantage of useful
# functionality not yet stabilized. Remove a crate from the list once all
# required features are stabilized.
#
# # Core crates (used in production)
#
# - mm2_state_machine: Depends on `negative_impls` and `auto_traits`.
# - mm2_err_handle: Depends on `negative_impls`, `auto_traits` and `allocator_api`.
#
# # Test crates (not leaked into the binary)
#
# - mocktopus: nightly only dependency.
# - mocktopus_macros: nightly only dependency.
# - docker_tests_main: Depends on `custom_test_frameworks` and `test`.
# - docker_tests_sia_unique: Depends on `custom_test_frameworks` and `test`.
RUSTC_BOOTSTRAP = "mm2_state_machine,mm2_err_handle,mocktopus,mocktopus_macros,docker_tests_main,docker_tests_sia_unique"

JEMALLOC_SYS_WITH_MALLOC_CONF = "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto"

[target.'cfg(all())']
rustflags = [ "-Zshare-generics=y", '--cfg=curve25519_dalek_backend="fiat"' ]
Comment thread
shamardy marked this conversation as resolved.
rustflags = [ '--cfg=curve25519_dalek_backend="fiat"' ]

# # Install lld using package manager
# [target.x86_64-unknown-linux-gnu]
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -92,8 +92,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add x86_64-apple-darwin

- name: Install build deps
Expand Down Expand Up @@ -144,8 +144,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-apple-darwin

- name: Install build deps
Expand Down Expand Up @@ -196,8 +196,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -247,8 +247,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add x86_64-apple-darwin

- name: Install build deps
Expand Down Expand Up @@ -314,8 +314,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add wasm32-unknown-unknown

- name: Install wasm-pack
Expand Down Expand Up @@ -365,8 +365,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-apple-ios

- name: Install build deps
Expand Down Expand Up @@ -427,8 +427,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-linux-android

- name: Install build deps
Expand Down Expand Up @@ -494,8 +494,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add armv7-linux-androideabi

- name: Install build deps
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fmt-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal --component rustfmt,clippy
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal --component rustfmt,clippy
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand All @@ -45,8 +45,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal --component clippy
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal --component clippy
rustup default 1.85.1
rustup target add wasm32-unknown-unknown

- name: Install build deps
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -87,8 +87,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -135,8 +135,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-apple-darwin

- name: Install build deps
Expand Down Expand Up @@ -184,8 +184,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -232,8 +232,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add x86_64-apple-darwin

- name: Install build deps
Expand Down Expand Up @@ -296,8 +296,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add wasm32-unknown-unknown

- name: Install wasm-pack
Expand Down Expand Up @@ -344,8 +344,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-apple-ios

- name: Install build deps
Expand Down Expand Up @@ -403,8 +403,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add aarch64-linux-android

- name: Install build deps
Expand Down Expand Up @@ -467,8 +467,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add armv7-linux-androideabi

- name: Install build deps
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand All @@ -53,8 +53,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand All @@ -81,8 +81,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand All @@ -109,8 +109,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -138,8 +138,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -170,8 +170,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -206,8 +206,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1

- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -235,8 +235,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2025-01-03 --no-self-update --profile=minimal
rustup default nightly-2025-01-03
rustup toolchain install 1.85.1 --no-self-update --profile=minimal
rustup default 1.85.1
rustup target add wasm32-unknown-unknown

- name: Install build deps
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ futures-timer = "3.0"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
fnv = "1.0.6"
group = "0.8.0"
gstuff = { version = "0.7", features = ["nightly"] }
gstuff = { version = "0.7" }
hash256-std-hasher = "0.15.2"
hash-db = "0.15.2"
hex = "0.4.2"
Expand Down
Loading
Loading