Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.10.4 #92

Merged
merged 46 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
97955ea
fix IntLayout::fits_usize
6293 Jun 17, 2023
2dd35f2
fix display string; destination first
6293 Jun 17, 2023
866f9c8
fix(Cursor::write_unique): early return in case of empty bytes, becau…
6293 Jun 18, 2023
ded6d30
fix(dox): u16 -> a16
6293 Jun 18, 2023
6682504
Merge pull request #81 from 6293/fix-fits-usize
dr-orlovsky Jun 21, 2023
34bc087
fix(BytesOp::Find): fix slice index overflow
6293 Jun 21, 2023
66bd8dd
fix(BytesOp::Find): it never overflows destination register because t…
6293 Jun 21, 2023
b45b2c1
use window function
6293 Jun 21, 2023
6efeb1f
Revert "destination reg first"
6293 Jun 21, 2023
2f7064c
Revert "unify put mnemonic; always value first"
6293 Jun 21, 2023
8c203c2
revert mnemonic order on display derive
6293 Jun 21, 2023
9cc02fe
eq, not cmp
6293 Jun 21, 2023
1f6439c
rm aluasm macro because it is moved to aluasm crate
6293 Jun 21, 2023
9c5bb40
fix(BytesOp::Rev): do not set None to RegA on failure
6293 Jun 24, 2023
3a44520
fix(DigestOp::Ripemd): reverse byte array because RIPEMD-160 is big-e…
6293 Jun 24, 2023
6a1846c
Merge pull request #84 from 6293/revert-mnemonic-order
dr-orlovsky Jun 26, 2023
34b518a
fix(BytesOp::Rev): set dest to None on failure
6293 Jun 26, 2023
9a7d77d
Merge pull request #82 from 6293/fix-fits-usize
dr-orlovsky Jun 26, 2023
dcc656e
fix(Cursor) r/w across bytes
6293 Jun 27, 2023
36d133e
fix(BitwiseOp::Shl): decode differently from shr
6293 Jun 27, 2023
502dbae
test public methods
6293 Jun 27, 2023
0f90610
Merge pull request #87 from 6293/fix-cursor
dr-orlovsky Jun 27, 2023
9283433
fix doc comments for string split operation. Closes #56
dr-orlovsky Jun 29, 2023
8010e3b
chore: fix half version required to maintain MSRV
dr-orlovsky Jun 29, 2023
bcde2e2
chore: bump strict types crate versions
dr-orlovsky Jun 29, 2023
8ae8e71
when step < 0, create Number with -step.as_i8()
6293 Jun 30, 2023
416446a
stop copying large array on R-reg
6293 Jul 2, 2023
7f23be7
BitwiseOp::Shl for R register
6293 Jul 2, 2023
0e5ffc4
get_r -> get_r_mut
6293 Jul 2, 2023
745b1fb
fix(BitwiseOp::ShrA): set `st0` value to the value of the least signi…
6293 Jul 2, 2023
9184fff
fix(BitwiseOp::ShrR): perform operation on byte array
6293 Jul 3, 2023
47a468a
Scl/Scr for R reg
6293 Jul 4, 2023
0d09b09
fix: set st0 based on lsb/msb
6293 Jul 4, 2023
9fa9c1f
get mod of shift value
6293 Jul 5, 2023
4955001
Merge pull request #90 from 6293/fix-stp
dr-orlovsky Jul 5, 2023
82d08b9
Merge pull request #91 from 6293/shl-rreg
dr-orlovsky Jul 8, 2023
158c7b0
regs: add constant ALL enumerating reg types
dr-orlovsky Jul 9, 2023
d62d419
regs: add constant ALL enumerating all reg indexes
dr-orlovsky Jul 9, 2023
a8c46cc
regs: fix Debug implementation for displaying large-size float registers
dr-orlovsky Jul 9, 2023
b9fb593
regs: test memory allocation
dr-orlovsky Jul 9, 2023
da69ac2
ci: add WASM support
dr-orlovsky Jul 9, 2023
342f795
Merge pull request #93 from AluVM/wasm
dr-orlovsky Jul 9, 2023
42081c7
chore: bump strict types dependencies
dr-orlovsky Jul 9, 2023
beb16ab
Merge pull request #94 from AluVM/develop
dr-orlovsky Jul 12, 2023
bd15d23
chore: bump strict_encoding and MSRV
dr-orlovsky Jul 12, 2023
f5ec8b9
release v0.10.4
dr-orlovsky Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [ nightly, beta, stable, 1.66.0 ]
toolchain: [ nightly, beta, stable, 1.67.0 ]
steps:
- uses: actions/checkout@v2
- name: Install rust ${{ matrix.toolchain }}
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@ jobs:
uses: davidB/rust-cargo-make@v1
- name: Test
run: cargo make test
wasm-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v2
- uses: jetli/[email protected]
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Test in headless Chrome
run: wasm-pack test --headless --chrome
146 changes: 138 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 13 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "aluvm"
description = "Functional registry-based RISC virtual machine"
version = "0.10.3"
version = "0.10.4"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
repository = "https://github.com/aluvm/rust-aluvm"
homepage = "https://aluvm.org"
keywords = ["virtual-machine", "emulator", "functional", "risc", "edge-computing"]
categories = ["no-std", "embedded", "compilers", "cryptography", "emulators"]
rust-version = "1.66" # Due to strict encoding library (caused by GAD)
rust-version = "1.67" # Due to strict encoding library
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -20,21 +20,17 @@ name = "aluvm"
name = "aluvm-stl"
required-features = ["stl"]

[[example]]
name = "asm"
required-features = ["all"]

[dependencies]
amplify = { version = "4.0.0", default-features = false, features = ["apfloat", "derive", "hex"] }
paste = "1"
strict_encoding = { version = "2.3.0", default-features = false, features = ["float", "derive"] }
strict_types = { version = "1.3.0", optional = true }
strict_encoding = { version = "2.5.0", default-features = false, features = ["float", "derive"] }
strict_types = { version = "1.5.0", optional = true }
sha2 = "0.10.6"
ripemd = "0.1.3"
baid58 = "0.3.2"
secp256k1 = { version = "0.27.0", optional = true, features = ["global-context"] }
curve25519-dalek = { version = "3.2", optional = true }
half = "2.1.0"
half = "~2.2.0" # Required to maintain MSRV
serde_crate = { package = "serde", version = "1", optional = true }

[features]
Expand All @@ -46,5 +42,13 @@ alloc = ["amplify/alloc"]
curve25519 = ["curve25519-dalek"]
serde = ["serde_crate", "amplify/serde", "std"]

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"

[package.metadata.docs.rs]
features = [ "all" ]
2 changes: 1 addition & 1 deletion MANIFEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Type: Library
Kind: Free software
License: Apache-2.0
Language: Rust
Compiler: 1.66
Compiler: 1.67
Author: Maxim Orlovsky
Maintained: UBIDECO Institute, Switzerland
Maintainers:
Expand Down
Loading
Loading