Jake Goulding

Results 119 issues of Jake Goulding

From the documentation: > which may be absolute or relative to the current working directory. I'd like to be able to say something like `glob_from(path_like_thing, "glob_pattern")`.

# Motivation One of the best aspects of docs.rs is that it encourages developers to create high-quality API-focused documentation by removing roadblocks around building and hosting the generated content. I...

S-needs-design
E-hard
C-enhancement

```rust #[tokio::main] async fn main() {} ``` fails with this error ([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=cdbd1b9a36de7ee2eafe1938c4aebda3)): (Updated on 2022-07-06) ``` error: unsupported operation: can't call foreign function: epoll_create1 --> /playground/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.3/src/sys/unix/selector/epoll.rs:34:9 | 34 | syscall!(epoll_create1(flag)).map(|ep|...

C-project
A-shims
A-unix
A-files

Steps to reproduce: Check out https://github.com/shepmaster/sxd-string-slab/commit/8bf847eff2a8a1609c818cae68d227156f5f3dc1, then run Miri: ```zsh time MIRIFLAGS='-Zmiri-disable-isolation -Zmiri-disable-stacked-borrows -Zmiri-disable-data-race-detector' \ CARGO_TARGET_DIR=target/miri \ cargo miri test -- --nocapture # Reports ~23 seconds on my machine time...

C-bug
A-concurrency
I-slow

I’d like to include module-level documentation.

After adding ```rust #[macro_use] extern crate tower_web; ``` I now get this on my import of `serde_derive` ``` warning: unused `#[macro_use]` import --> src/main.rs:14:1 | 14 | #[macro_use] | ^^^^^^^^^^^^...

I have an endpoint that is `/evaluate.json` which does not guarantee that the request has a content type. This is triggering the assert: https://github.com/carllerche/tower-web/blob/d35f6e4af0d36220dcee5e3f108f657645292096/src/extract/serde.rs#L98-L107 What kind of transformation do we...

question

One usage in context: ```rust let cors = if config.cors_enabled { let cors = CorsBuilder::new() .allow_origins(AllowedOrigins::Any { allow_null: true }) .allow_headers(vec![header::CONTENT_TYPE]) .allow_methods(vec![Method::GET, Method::POST]) .allow_credentials(false) .max_age(Duration::from_secs(ONE_HOUR_IN_SECONDS as u64)) .prefer_wildcard(true) .build(); Either::A(cors)...

I have some endpoints like this clipped example: ```rust impl Index { #[get("/")] fn index(&self) -> impl Future + Send {} #[get("/help")] fn help(&self) -> impl Future + Send {}...

enhancement
question

`Resource` uses multiple `Clone` bounds: ```rust pub trait Resource: Clone { type Destination: Clone + Send + Sync + 'static; ``` For implementors, it would be nice to know a...

enhancement