Neo Rust SDK v4.0.0 Drops chrono, Bumps RustCrypto to 0.14
neo3 v4.0.0 bumps RustCrypto to v0.14, drops chrono and needs Rust 1.99, but alloy and yubihsm still carry the crypto-bigint timing advisory for Neo X builds.

Outputs
neo3 v4.0.0 reached crates.io on Nov. 22, requiring Rust 1.99 or later and Rust edition 2024.
The release reports 734 library tests and 240 doctests passing, with clean cargo audit and cargo-deny checks.
The crypto-bigint timing advisory remains open in alloy, a required Neo X dependency, and in the optional yubihsm library.
v3.3.2 adds the Huyao, Iara and Jackalope hard forks, plus on-chain activation calls in the Policy client (PR #4726).
v3.3.3 moves rustls to v0.23.46 and OpenTelemetry to v0.33, resolving all open Dependabot alerts.
The Neo Rust SDK shipped version 4.0.0 on crates.io on Nov. 22, requiring Rust 1.99 or later and moving the workspace to Rust edition 2024. The release clears several Rust security advisories inside the SDK's own cryptography, though two third-party dependencies still pull a crypto-bigint version affected by a timing side-channel advisory.
Most developers upgrading only change a version number. Three areas need code edits, and the release notes put the passing test count at 734 library tests and 240 doctests, with no Clippy warnings and clean cargo audit and cargo-deny checks.
Cryptography and dependency upgrades
- The elliptic-curve, k256 and p256 libraries move from v0.13 to v0.14, with related RustCrypto packages for signatures, random number generation and scrypt key derivation.
- jsonwebtoken moves to v12.0.
- The chrono date library is removed as a direct dependency of the SDK, its CLI and its examples, with the time library now handling dates.
- The SDK's own cryptography no longer uses a crypto-bigint version affected by a timing side-channel advisory, and a long-standing exception for the "Marvin" timing advisory in the rsa crate is gone.
- The url crate is updated to fix a stack overflow advisory, a change the release notes do not list.
The crypto-bigint advisory is not fully cleared. alloy, a required dependency the SDK uses for Neo X, and the optional yubihsm hardware security module library still pull the older version while awaiting upstream releases.
Breaking changes for integrators
- NeoFS timestamps, including token expirations and container and object creation times, now use time::OffsetDateTime instead of chrono types.
- The YubiWallet type now wraps a new YubiHsmSigner, because the yubihsm library's own signer does not support the updated curve libraries. Signing still takes place on the device.
- Secp256r1PrivateKey::random accepts any cryptographically secure random number generator, and Secp256r1PrivateKey::new_random() is the recommended way to generate a key from system entropy.
Some public types also take RustCrypto v0.14 names, with EncodedPoint becoming Sec1Point.
On X, a developer flagged the chrono-to-time switch 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."
What the earlier Nov. 22 releases changed
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 on-chain hard fork activation (PR #4726), plus getters and setters for the maximum TemporaryStorage lifetime. Those Policy calls work only on a network once Huyao is active there.
ContractManagement gains get_contract_id, a lookup that skips loading full contract state. The built-in MainNet and TestNet configurations gain the Faun and Gorgon activation heights, matching Neo-CLI, and no Huyao height is set.
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 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.
What does this change for developers?
It moves the dependency baseline and reshapes two API surfaces, while leaving one advisory open. NeoFS teams migrate timestamp handling from chrono to time, where the type change appears at compile time but parsing and expiry differences appear at runtime. Yubi-based signers change type, with the private key remaining on the device. Neo X integrators, who already depend on alloy, inherit the older crypto-bigint build until upstream ships a fix.
Hard-fork operations change as well. With Huyao the last fork activated through node configuration, later activation runs on-chain through Policy calls that function only once Huyao is live on the network, shifting coordination for node operators and contract deployers from configuration files to the chain itself.
neo3 v4.0.0 sits on crates.io, though the repository README still referenced v3.3.x at the time of writing. The next test comes upstream: alloy and yubihsm must publish crypto-bigint releases before the advisory closes for Neo X users, and SGX certificate validation stays experimental until an Intel DCAP integration is production-ready.
via cryptonews.net (Source)
More from Nathan Brooks
Show full bio
Market editor covering money, funding and market shifts around crypto and web3 industry at Mempool Brief.
1,857 articles