Market fields deprecated in 2025-04 schema update

The new schema for 2025-04 contains the following deprecation of market:

market: Market @deprecated(reason: "This `market` field will be removed in a future version of the API.")

For anyone using this field, you can remove the warnings, by allowing deprecated to pass linting with:

#[allow(deprecated)]

We were using actions-rust-lang/setup-rust-toolchain@v1 to setup a Rust environment in a Github action, and our deployments failed. The reason is that this action has a default rustflags value of -Dwarnings (deny lint warnings). This can be overridden with an empty string, e.g:

- uses: actions-rust-lang/setup-rust-toolchain@v1
        with:
          toolchain: stable
          rustflags: ""
          target: wasm32-wasip1
          cache-workspaces: |
            extensions/function_one
            extensions/function_two

Hope that helps folks who run into this :slight_smile:

On a separate note, considering the language, I assume another field will exist in future to replace the existing one.

1 Like

Thanks for sharing this bkspace!

1 Like