westyx-nexus. There is no custom registry - cargo resolves the crate directly from crates.io.
Install
Features
Requirements
- Rust 1.88 or newer. The floor is measured against the crate’s real dependency set and the language features it uses, and a CI job builds and tests with exactly that toolchain on every pipeline.
- Network access to
crates.io(or a mirror) at build time, and to<your-slug>.api.westyx.devat runtime.
aws-iam enabled, the AWS crates resolve against the same floor. The SDK repository sets resolver.incompatible-rust-versions = "fallback"; add the same option to your .cargo/config.toml if you enable that feature while pinning an older toolchain, so the newest AWS releases - which require a far newer compiler - are not selected for you.
TLS
TLS isrustls, reqwest 0.13’s default backend, so the SDK has no OpenSSL system dependency and certificate verification uses the platform trust store.
Dependencies
The SDK brings in a focused set:
With
aws-iam: aws-config, aws-credential-types, aws-sigv4, aws-smithy-runtime-api.
Async and blocking
The client is async. In an axum or actix handler, clone it and use it directly:get_config, get_flag, get_secret, …) are synchronous because they read in-memory state; they never block on the network, so no spawn_blocking wrapper is needed - if you have one from v0.10.x, remove it.
Without a runtime of your own, enable the blocking feature:
OpenFeature provider
Verifying installation
Verifying connectivity
configs, secrets and flags. An HTTP 401 means the key is wrong; HTTP 404 means the slug is wrong.
To watch the live SSE stream:
event:resync arrive within a second, then a : ping keepalive every 30 seconds. Press Ctrl+C to stop.
Troubleshooting
error[E0432]: unresolved import- ensure the dependency is inCargo.tomland runcargo buildat least once.could not find 'westyx-nexus' in the registry- check network access tocrates.io, or runcargo update.package requires rustc 1.88- upgrade your toolchain:rustup update stable.`create` is not async, or missing.await- v0.11 made the client async; see Async migration.
