0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
32 stars 28 forks source link

Make `rust-client` crate `no_std` by default #425

Closed tomyrd closed 3 months ago

tomyrd commented 3 months ago

We should make the crate no_std and optionally enable std when std feature is enabled. It would look like so:

#![no_std]

#[macro_use]
extern crate alloc;

#[cfg(feature = "std")]
extern crate std;

_Originally posted by @bobbinth in https://github.com/0xPolygonMiden/miden-client/pull/416#discussion_r1665199965_

bobbinth commented 3 months ago

This is kind of a duplicate of #383 - so, will close this in favor of that one.