NeoRust v4.0.0, the latest version of R3E Network’s Rust SDK for Neo N3 and Neo X, moves the SDK onto current versions of its cryptography libraries. Released Nov. 22, it includes three breaking API changes and also carries Neo N3 v3.11.2 support added earlier the same day.
NeoRust is maintained by Jimmy Liao, Neo core developer and R3E Network founder, and is distributed as the neo3 crate. NNT last covered the crate at v3.0.0 in September.
v4.0.0 is a new major version of neo3. It is separate from the neo-primitives and neo-protocol crates, which were built on a different development branch and released as NeoRust SDK v3.4.0 in late September.
Dependency upgrades
The SDK’s elliptic-curve, k256, and p256 libraries move from v0.13 to v0.14, along with related RustCrypto packages for signatures, random number generation, and scrypt key derivation.
The jsonwebtoken library moves to v12.0, and the chrono date library has been removed as a direct dependency of the SDK, its CLI, and its examples, with the time library now handling dates.
The upgrades address several Rust security advisories. The SDK’s own cryptography no longer uses a version of crypto-bigint affected by a timing side-channel advisory, and a long-standing exception for the “Marvin” timing advisory in the rsa crate has been removed.
The crypto-bigint advisory is not fully cleared, as two third-party dependencies still pull in the older version while awaiting upstream releases: alloy, a required dependency the SDK uses for Neo X, and the optional yubihsm hardware security module library.
The release also updates the url crate to fix a stack overflow advisory, a change not listed in the release notes.
Breaking changes
Most users can upgrade by changing the version number. Code changes are needed in three main areas:
- NeoFS timestamps, such as token expirations and container and object creation times, now use
time::OffsetDateTimeinstead ofchronotypes. - The
YubiWallettype now wraps a newYubiHsmSigner, because theyubihsmlibrary’s own signer does not support the updated curve libraries. Signing still takes place on the device. Secp256r1PrivateKey::randomaccepts any cryptographically secure random number generator.Secp256r1PrivateKey::new_random()is the recommended way to generate a key from system entropy.
Some public types are also renamed to follow RustCrypto v0.14, such as EncodedPoint becoming Sec1Point.
According to the release notes, 734 library tests and 240 doctests pass, with no Clippy warnings and clean cargo audit and cargo-deny checks.
On X, a developer flagged the switch from chrono to time as the riskiest change, because differences in timestamp parsing show up at runtime rather than at compile time. Liao responded: “That’s why the 734 lib tests + 240 doctests matter more than the bump.”
Earlier releases on Nov. 22
v4.0.0 followed two releases earlier the same day, and their changes are included in it for anyone upgrading from an earlier version.
v3.3.2 aligns the SDK with Neo N3 v3.11.2. It adds the Huyao, Iara, and Jackalope hard forks, and marks Huyao as the last hard fork activated through node configuration.
The Policy contract client gains get_hardfork_activation_height and activate_hardfork for the new on-chain hard fork activation (PR #4726), plus getters and setters for the maximum TemporaryStorage lifetime. These Policy calls only work on a network once Huyao is active there. ContractManagement gains get_contract_id, a lookup that skips loading the full contract state.
The SDK’s built-in MainNet and TestNet configurations also gain the Faun and Gorgon activation heights, matching Neo-CLI, and no Huyao height is set. The workspace moves to Rust edition 2024 with a minimum Rust version of 1.99.
The same release hardens SGX attestation checks, rejecting malformed quotes and untrusted certificate chains, and fixes pagination in NEP-91 account event queries. The changelog now describes the SDK’s SGX certificate validation as an experimental foundation that requires Intel’s DCAP verification library for production use.
v3.3.2 was not published to crates.io, so its changes reach crates.io users through v3.3.3 and v4.0.0.
v3.3.3 was a security update. It moves rustls to v0.23.46, and the OpenTelemetry packages move to v0.33 to fix an unbounded memory allocation issue. According to the changelog, it resolves all open Dependabot alerts in the repository. Later fixes before it shipped updated tokio, quinn-proto, and certificate verification packages for further advisories.
Availability
neo3 v4.0.0 is available on crates.io and requires Rust 1.99 or later, although the repository’s README still referred to v3.3.x at the time of writing.
The full release notes can be found at the link below:
https://github.com/R3E-Network/neo-rust-sdk/releases/tag/v4.0.0





About The Author: Dean Jeffs
Dean is a digital project manager who has worked extensively with start ups and agencies in the marketing space. Fascinated by the potential applications of blockchain technology, Dean has a passion for realising the new smart economy.
More posts by Dean Jeffs