Modship

Results 11 comments of Modship

I have use this ```rust let mut filename: Option = None; // iterate over multipart stream while let Ok(Some(mut field)) = payload.try_next().await { let content_type = field.content_disposition(); let name =...

@aoudiamoncef i think in your case you can do it like this : .any() stop iter() if one respect the condition : ```rust if operations.iter().any(|operation| { operation.serialized_size() > self.config.max_serialized_operations_size_per_block })...

According to the tests I conducted, the peer was correctly removed from active connections when disconnected. But upon a quick look at the code, it seems that the peerID used...

Draft PR is here ~~#3411~~ #3435

I never used it but i think we can replace cargo-script by rust-script (https://crates.io/crates/rust-script). Python is a good way too

> Problem with rust script is that you need to import some dependencies in order to perform simple task. > > As an example in https://github.com/massalabs/massa/blob/main/tools/setup_test.rs, we need: > >...

@aoudiamoncef I should update openrpc.json file manually ?

> I think that this is nearly fully covered by the metrics dashboard and can be close. @modship what do you think ? yes ! it can be closed

Hi, Possible solution is to script that with cargo make : https://github.com/sagiegurari/cargo-make It provide CARGO_MAKE_PROJECT_VERSION and CARGO_MAKE_CRATE_VERSION