profile
viewpoint

mbrubeck/android-completion 204

Bash completion for "adb" from the Google Android SDK

mbrubeck/by_address 8

Rust wrapper type that implements hashing and comparison by pointer address

mbrubeck/c-repl 4

a C read-eval-print loop

mbrubeck/agate 3

Very simple server for the Gemini hypertext protocol

mbrubeck/bugwd 2

Readable, memorable URLs to replace long bug numbers

mbrubeck/2048-AI 0

A simple AI for 2048

mbrubeck/actix 0

Actor framework for Rust

mbrubeck/advisory-db 0

Security advisory database for Rust crates published through crates.io

push eventmbrubeck/agate

Matt Brubeck

commit sha 9d5ecf577f6aa8930bfa07c50eef4ada142478e3

WIP

view details

push time in 8 hours

push eventmbrubeck/agate

Matt Brubeck

commit sha 0d74363b6bea51b57e89ef98ccb5398b2c432efa

WIP

view details

Matt Brubeck

commit sha 536155014b38f9bb8875606521744d8cd24318cb

WIP

view details

push time in 15 hours

create barnchmbrubeck/agate

branch : refactor

created branch time in 16 hours

issue commentrust-lang/rfcs

impl PartialEq<Vec<T>> for &'_ [T] / [T; N]

Would it also be possible to impl PartialEq<[B]> for Vec<A> and PartialEq<Vec<B> for [A]>?

Adding these impls to liballoc/vec.rs appears to work fine, without causing any regressions in the compiler code or tests.

sollyucko

comment created time in 2 days

push eventmbrubeck/async-tls

Matt Brubeck

commit sha ad27db7eada13d35ddba6dee17d9026ec12c2d89

Add cargo features "client" and "server" Since many consumers of this library do not need both client and server features, this allows them to shrink their dependencies somewhat.

view details

push time in 3 days

pull request commentasync-rs/async-tls

Add cargo features "client" and "server"

test_0rtt is failing on Travis. I can reproduce this failure locally both on this branch and on master, so I don't think it's related to my changes.

mbrubeck

comment created time in 3 days

issue commentrust-lang/rfcs

impl PartialEq<Vec<T>> for &'_ [T] / [T; N]

I can't see any reason that an impl for Vec<A> and [B] would cause inference problems while the existing impl for Vec<A> and &[B] does not.

sollyucko

comment created time in 3 days

PR opened async-rs/async-tls

Add cargo features "client" and "server"

Since many consumers of this library do not need both client and server features, this allows them to shrink their dependencies somewhat.

I would also suggest making these features disabled by default in a future version, to increase the likeliness that consumers will choose the features they actually need. (This would be a breaking change.)

+21 -5

0 comment

3 changed files

pr created time in 3 days

push eventmbrubeck/async-tls

Matt Brubeck

commit sha 22b48755d03b0b3ea27a5742633d70a139e753c3

Add cargo features "client" and "server" Since many consumers of this library do not need both client and server features, this allows them to shrink their dependencies somewhat.

view details

push time in 3 days

push eventmbrubeck/async-tls

Matt Brubeck

commit sha 60d1502e315f7a1ed44d3f704bbabe54d3a83117

WIP

view details

push time in 3 days

create barnchmbrubeck/async-tls

branch : features

created branch time in 3 days

fork mbrubeck/async-tls

A TLS implementation over AsyncRead and AsyncWrite

https://async.rs

fork in 3 days

PR opened stjepang/smol

Depend on individual crossbeam crates.

This shrinks the dependency graph slightly, as it no longer pulls in the unused crossbeam-channel crate.

+8 -6

0 comment

5 changed files

pr created time in 3 days

create barnchmbrubeck/smol

branch : crossbeam

created branch time in 3 days

fork mbrubeck/smol

A small and fast async runtime for Rust

fork in 3 days

issue commentrust-lang/rfcs

impl PartialEq<Vec<T>> for &'_ [T] / [T; N]

Would it also be possible to impl PartialEq<[B]> for Vec<A> and PartialEq<Vec<B> for [A]>?

sollyucko

comment created time in 3 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 2632bf14be24321c9a532a22b21e0c78a07bb513

Minor cleanup

view details

Matt Brubeck

commit sha 5314e234158d2e6f6d1514fad94d5c2f5493a8a7

Update depedencies

view details

push time in 4 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 798506a03c75032757afe5ebb73e0db8d23ec595

Fix error message when request is too long

view details

push time in 4 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 7588b23fcb2208b76da4b19a65a5438a2851e113

Switch from lazy_static to once_cell

view details

push time in 4 days

push eventmbrubeck/agate

Matt Brubeck

commit sha fbc8e83b36c651990376387b7850dc6de71597c0

Switch from lazy_static to once_cell

view details

push time in 4 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 8e137140111d384f23d72ffbea3df50a9792a0e5

comments

view details

push time in 4 days

push eventmbrubeck/agate

Matt Brubeck

commit sha cac7e394be426388b4ec66d7bcda3dfb073f6f75

Minor cleanup in parse_request

view details

push time in 5 days

push eventmbrubeck/agate

Matt Brubeck

commit sha a049beb66b84a9f120381e48a055042661004bef

Improved request parsing. Only read up to 1024 bytes plus CRLF. This avoids allocations and copies, and prevents malicious/buggy clients from making us allocate unbounded amounts of memory. We also stop if we see a lone LF, rather than timing out until CRLF is received.

view details

push time in 5 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 039057b8dbbb02412f629bd5eded393c08d3b617

Improve request parsing

view details

Matt Brubeck

commit sha 383b2de2c07699e91989470db6d9449d5846cc24

Improved request parsing. Only read up to 1024 bytes plus CRLF. This avoids allocations and copies, and prevents malicious/buggy clients from making us allocate unbounded amounts of memory. We also stop if we see a lone LF, rather than timing out until CRLF is received.

view details

push time in 5 days

push eventmbrubeck/agate

Matt Brubeck

commit sha c987fdb96023ef84aabebac76064d0bc3c686254

Improved request parsing. Only read up to 1024 bytes plus CRLF. This avoids allocations and copies, and prevents malicious/buggy clients from making us allocate unbounded amounts of memory. We also stop if we see a lone LF, rather than timing out until CRLF is received.

view details

push time in 5 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 6b3d52cc8adad5154f933a168fb55ea08def65f3

Improve request parsing

view details

push time in 5 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 0d872688f92a849527595c97f65fe98d2c9ec54c

Use temporary fork of tree_magic

view details

push time in 6 days

create barnchmbrubeck/tree_magic

branch : override

created branch time in 6 days

issue commentaahancoc/tree_magic

Looking for new maintainer

I would be interested in maintaining this crate.

aahancoc

comment created time in 6 days

PR opened aahancoc/tree_magic

Upgrade to nom 4

Fixes #15.

Adding an extra newline at the end of the builtin magic file fixed the problem reported in issue #15. There is probably a better way to do this, but I haven't found it yet.

+3 -9

0 comment

3 changed files

pr created time in 6 days

push eventmbrubeck/tree_magic

Matt Brubeck

commit sha df7c48f0a1236a7b7a3e550835fdee922077d82d

Upgrade to nom 4 Fixes #15. Adding an extra newline at the end of the builtin magic file fixed the problem reported in issue #15. There is probably a better way to do this, but I haven't found it yet.

view details

push time in 6 days

create barnchmbrubeck/tree_magic

branch : cleanup

created branch time in 6 days

push eventmbrubeck/tree_magic

Matt Brubeck

commit sha 303b6eb655156833884f70483bcfd3d90ef02320

Debug logging

view details

push time in 6 days

push eventmbrubeck/tree_magic

Matt Brubeck

commit sha 6e3431515c5a87b42a50f2913e8da675f0aca40c

Code cleanup

view details

push time in 6 days

create barnchmbrubeck/tree_magic

branch : nom4

created branch time in 6 days

push eventmbrubeck/tree_magic

push time in 6 days

fork mbrubeck/tree_magic

Determines the MIME type of a file by traversing a filetype tree.

fork in 6 days

release mbrubeck/agate

v1.1.0

released time in 6 days

created tagmbrubeck/agate

tagv1.1.0

Very simple server for the Gemini hypertext protocol

created time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha ce570fc8c43e2fe68964f1f9f15fc890ee682cf3

Auto-detect MIME types

view details

push time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha db5665b783c3f136f6005960fb1359ec824bebc2

Update dependencies

view details

Matt Brubeck

commit sha 9a9ab092b9118ca0eed325e401e7cf0a3ea093e7

Auto-detect MIME types

view details

push time in 6 days

startedaahancoc/tree_magic

started time in 6 days

release mbrubeck/agate

v1.0.1

released time in 6 days

created tagmbrubeck/agate

tagv1.0.1

Very simple server for the Gemini hypertext protocol

created time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha c0fb6b5716c2cf4a6548c2f1c52b85e55d958925

Update dependencies

view details

push time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 6f490876cd3e5057f5e9bf903a7e8e5701a34923

Check URL schemes

view details

push time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 8d018b7cb3ec54f3016ff8a4a0561f0b3288a2b4

Check URL schemes

view details

push time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha f568ea1f7cac3d22744840e2089643c50bb85231

Check URL schemes

view details

push time in 6 days

push eventmbrubeck/agate

Matt Brubeck

commit sha ca858423694ba9c2201f333ad3a6dc816c54763b

Fix error response codes

view details

Matt Brubeck

commit sha 3a41f40775a803790ba934a35ded010d7ccf9421

Redirect on URLs without trailing slash

view details

push time in 6 days

created tagmbrubeck/agate

tagv1.0.0

Very simple server for the Gemini hypertext protocol

created time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha eaebcb20460d01a29d191b933d3737973f2f2321

Update dependencies

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 2b26ed91674665dc68d7e4976ad4f07de2449cd9

README

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 81a84a62058314e25953853bc18744997f7e98bd

README

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 3ccbac274cf0002428fd642f7a269c7aa5e863d8

README

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha b74940ee1474020c361cb11fcf5eea7c7cc4549e

README

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 131b07f40d4c29bf086c36e7ad51c404b3f972cd

README

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 45d2e8cf8081032b35cba9704a3665b0706b3f43

Use async filesystem I/O

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 85ea736eb21c42ca1550d2c5b78cd5c704123802

Don't panic on cannot-be-a-base URLs

view details

Matt Brubeck

commit sha 73fa0e0f01e5a6cc43ea39a111a75bfab09ceb01

Code cleanup

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha b728df0ee855a8d45549ff554be398c6d07df655

Code cleanup

view details

Matt Brubeck

commit sha 0872e3d1fef562c0631e005d8995e01e4c9c5a04

Remove unnecessary path check

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha db0785c4b9de2a7c9e4244f84af2185a74177042

Use index.gemini instead of dir listings

view details

push time in 7 days

pull request commentreem/rust-ordered-float

Add Sum/Product impls for NotNan

Thanks!

bennofs

comment created time in 7 days

push eventreem/rust-ordered-float

Benno Fünfstück

commit sha eae40333bd122dc5d74566f142f3351e1e618ffc

Add Sum/Product impls for NotNan

view details

Matt Brubeck

commit sha 90f4ca8d63b6271c9594260a92ddf588af94c862

Merge pull request #65 from bennofs/master Add Sum/Product impls for NotNan

view details

push time in 7 days

PR merged reem/rust-ordered-float

Add Sum/Product impls for NotNan

These are straightforward, just like Add/Mul

+60 -0

0 comment

2 changed files

bennofs

pr closed time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha d6cb2e831b68497610afe63d93a978ed92a824d5

Directory listing

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 259a190a9c898ce4afeaa47e387b3de88e61fc75

Command-line args

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 8d36a9026640336b29250a4f34f89463971ca313

Command-line args

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha b952adb165d8d6184ceba13122aa37f580c8258a

Command-line args

view details

push time in 7 days

push eventmbrubeck/agate

Matt Brubeck

commit sha a165e8e142daeacac9c2ee03beb2bbb71046965f

Make TLS config global

view details

push time in 8 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 8d09b268f962f8e70bf16967ba9806e34c4830bd

More error handling

view details

push time in 8 days

push eventmbrubeck/agate

Matt Brubeck

commit sha edec8f08bc178f0c8db725a30a7394ed8c09859a

Switch to pkcs8 key file

view details

push time in 9 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 7eeba3959e4b18b90ceb618235f044653990a4f3

Path validation

view details

Matt Brubeck

commit sha b5ce7382403e038551f1a986da1df01262caa910

File serving

view details

push time in 9 days

push eventmbrubeck/agate

Matt Brubeck

commit sha e911d7e38d1ed2ad22243086499aec2d7dcc320c

Add test key

view details

Matt Brubeck

commit sha 0e6163dcd9c5a8f42e16503d6071cf474bc0bb5d

Url parsing

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha ece2f20305f3cef57d33aab9d25686db394129a0

Fix MIME type

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 9e039177df4bcc3ebebe00ba55b5a2b00c0209a4

Code cleanup

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha bf09e83d53f2059e961939d6a323a8de57b017cd

Minor changes

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha a0c20258cb027df98c6995507eb25f20ec594fc4

Working echo server

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha bf439b4c526fa0d19b7128f5e2aca84b86271fd7

Trying to fix TLS

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 9d1e5f1d21ffed8f29b42e81c6ac611afb0f4227

WIP: Basic echo

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 45faee45a7a3c88050df3cd0f3e7ec9744d8c8db

Start of handle_connection

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha dc417324867be91d9e9972fdac1b087e6e438d29

panic=abort

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha f89d2179a9e3978d2c7d609e016e07b99ea0be69

Use async-std

view details

Matt Brubeck

commit sha bbd0035eb417fd1ffe5401203d502eed218bc75b

WIP: Add SSL config

view details

push time in 10 days

push eventmbrubeck/agate

Matt Brubeck

commit sha 2954a96c89fd0ce14baf3e0c9f0d914bc9300078

Enable LTO for release

view details

push time in 10 days

create barnchmbrubeck/agate

branch : master

created branch time in 10 days

created repositorymbrubeck/agate

created time in 10 days

push eventmbrubeck/rust-smallvec

Matt Brubeck

commit sha f31528e732a8974a51921281c1f2795efa78fd53

Silence unused_mut warning on smallvec! macro with no args

view details

push time in 11 days

create barnchmbrubeck/rust-smallvec

branch : unused_mut

created branch time in 11 days

push eventmbrubeck/rust-smallvec

Matt Brubeck

commit sha 5fb10de33e1b13e3f601e346648427bd7051edc0

Revert "Revert "Make use of NonNull"" This reverts commit 0e8f5e90cba6e3f860e392db7daf0cf9d24e0b40.

view details

Matt Brubeck

commit sha 6b8d4932d1aac334994bc3dadd4aad0c6930736c

WIP

view details

push time in 11 days

create barnchmbrubeck/rust-smallvec

branch : variance

created branch time in 11 days

push eventmbrubeck/rust-smallvec

Matt Brubeck

commit sha 82eeecebf8f357b92c78ebcc4b77994c02674d7c

Fix leak on panic in `insert_many`. Fixes #208.

view details

push time in 13 days

push eventmbrubeck/rust-smallvec

Matt Brubeck

commit sha 31a4e89ba232c945799ec2e28976a68e5dc5840e

Fix leak on panic in `insert_many`. Fixes #208.

view details

push time in 13 days

pull request commentservo/rust-smallvec

Fix leak on panic in `insert_many`.

r? @SimonSapin

mbrubeck

comment created time in 13 days

Pull request review commentservo/rust-smallvec

Fix leak on panic in `insert_many`.

 impl<A: Array> SmallVec<A> {                     ptr = self.as_mut_ptr().add(index);                     cur = ptr.add(num_added);                     ptr::copy(cur, cur.add(1), old_len - index);++                    guard.ptr = self.as_mut_ptr();

Updated the code to avoid invalidating raw pointers before using them, and shadowed the as_ptr and as_mut_ptr methods (as in std::vec::Vec) to avoid dereferencing to slice while the contents may be invalid.

mbrubeck

comment created time in 14 days

push eventmbrubeck/rust-smallvec

Matt Brubeck

commit sha e58f0c1a50e4a3d81a4f9aa7f3228f29ce29434f

Fix leak on panic in `insert_many`. Fixes #208.

view details

push time in 14 days

issue commentrust-lang/rust

Tracking issue for `std::io::{BufReader, BufWriter}::capacity`

Can I nominate this for stabilization? It's a straightforward API with no real alternatives possible, and I had a real-world use case for it recently.

JohnTitor

comment created time in 19 days

pull request commentservo/rust-smallvec

Make sure smallvec! is usable without being in scope

@bors-servo r+

Thanks!

cuviper

comment created time in 21 days

issue commentservo/rust-smallvec

Adding SmallSet

I'm considering this. If the size of the code is a small as your estimate, then seems worthwhile. But I worry that this would eventually grow to include all the methods provided by types like std::collections::HashSet, and then it would add a lot more code to this crate.

For example, the smallset crate currently lacks get, take, replace, drain, retain, intersection, union, difference, symmetric_difference, IntoIterator, FromIterator, Debug, Display, PartialEq, Extend, and more. In addition to the code size, there's also the maintenance work of reviewing patches and feature requests to add all the APIs that people want.

Also, I think that keeping a separate crate in sync with this one should be much easier these days, because we plan to make breaking changes very rarely compared to the pre-1.0 releases.

dhardy

comment created time in 22 days

pull request commentservo/rust-smallvec

Add resize_with

@bors-servo r+

Thank you!

l0calh05t

comment created time in a month

release servo/rust-smallvec

v1.4.0

released time in a month

more