Daniel Porteous (dport)

Results 226 issues of Daniel Porteous (dport)

See this code: ``` use anyhow::{Context as AnyhowContext, Result}; use aptos_api::context::Context; use aptos_protos::api::v2::{ api_v2_server::{ApiV2, ApiV2Server}, GetAccountModuleRequest, GetAccountModuleResponse, }; use poem::{endpoint::TowerCompatExt, IntoEndpoint, Route}; use std::sync::Arc; use tonic::{transport::Server, Request, Response, Status}; #[derive(Clone)]...

question

## Description of the feature Many other Rust servers can be converted into Tower Services. For example: - Tonic: https://docs.rs/tonic/latest/tonic/transport/server/struct.Router.html#method.into_service - Axum: https://docs.rs/axum/latest/axum/handler/trait.HandlerWithoutStateExt.html#tymethod.into_service This is great for interoperability. For example,...

enhancement

Hello again after a while! For the next iteration of our API we're considering using grpc. Currently our API runs exclusively with Poem, at `/v1`. I'd like to use Poem...

enhancement

As in, not build or dev deps, similar to how it works with `cargo tree`: ``` cargo tree -e features,no-build,no-dev ```

enhancement

I just started with `cargo deny` and I'm finding myself overwhelmed by the config. I was sort of hoping that if I just deleted everything it would deny nothing by...

enhancement

## Expected Behavior I'd like to be able to use the `question()` function add when I type, nothing appears, similar to `read -s`. ## Actual Behavior It seems like this...

Currently there is no way to set the page size, so the API will just use the default (30). It'd be nice to add this option.

I'm currently trying all kinds of hacks to make it possible to call self_update with a timeout, but it feels like it would be easiest if the library allowed either...

I've got code that looks like this: ```ts let transport = new GrpcWebFetchTransport({ baseUrl: "http://127.0.0.1:50051", format: "text", }); let client = new RawDataClient(transport); const request = GetTransactionsRequest.create({ starting_version: "0", });...

I have this code at the moment that I use to increase the frame and window sizes: ``` class CustomChannelCred extends ChannelCredentials { constructor(callCredentials?: CallCredentials) { super(); } compose(callCredentials: CallCredentials):...

package: @grpc/grpc-js