Skip to content

Cargo.toml: toml crate is in [dependencies] but is only used in off-chain config parsing #544

@Haroldwonder

Description

@Haroldwonder

Problem

The toml crate is listed in [dependencies] and is pulled into the WASM build. The toml crate requires std and will fail to compile for no-std WASM targets. It should only be available for off-chain tooling.

Location

Cargo.toml

Fix

Move toml to a std-gated optional dependency or to [dev-dependencies] if it is only used in tests and examples.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions