profile
viewpoint

laumann/compiletest-rs 157

An extraction of the compiletest utility from the Rust compiler

SergioBenitez/cookie-rs 148

HTTP cookie parsing and cookie jar management for Rust.

SergioBenitez/homebrew-osxct 56

OS X Cross Compilers

SergioBenitez/Figment 34

A hierarchical configuration library so con-free, it's unreal.

SergioBenitez/Devise 4

Library for devising derives and other procedural macros.

SergioBenitez/hyper-sync-rustls 4

Like hyper-rustls, but for synchronous hyper.

SergioBenitez/bower-send 2

A simple multi-account mail sending script designed for Bower.

SergioBenitez/GoFS 2

A virtual file system written in Go.

SergioBenitez/native_versioning 2

An experiment for simple versioning of C, C++, and assembly symbols in Rust code.

alect/TaskSprint 1

Distributed computation system for performing both deterministic and non-deterministic computations.

startedSergioBenitez/Rocket

started time in 4 hours

startedSergioBenitez/Rocket

started time in 4 hours

startedSergioBenitez/Rocket

started time in 4 hours

fork jbampton/Rocket

A web framework for Rust.

https://rocket.rs

fork in 5 hours

startedSergioBenitez/Rocket

started time in 5 hours

startedSergioBenitez/Rocket

started time in 7 hours

startedSergioBenitez/Rocket

started time in 8 hours

startedSergioBenitez/Rocket

started time in 8 hours

startedSergioBenitez/Rocket

started time in 10 hours

startedSergioBenitez/Rocket

started time in 11 hours

issue openedSergioBenitez/Rocket

Add sticky sidebar to rocket.rs guides

It can be pretty easy to lose the sidebar while passing through rocket guides.

A lot of docs today have a sticky sidebar that helps keep the table of contents in place as you read your doc.

Examples

Site Image
Rust Books image
Cargo Docs image

Applying to rocket.rs

It's only 6 lines of CSS

#sidebar nav {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: auto;
}

Additionally if you want to wide/visible scrollbars (as is common in rust books, & cargo docs, as well as the Rocket API docs), it's just a few more lines of CSS

html, body {
  background-color: #272727;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

I'd make a PR but I can't seem to find where the stylesheet for the site is (it doesn't seem to be in this repo).

See it in action

2020-11-28 23 01 48

created time in 12 hours

fork dchenk/Rocket

A web framework for Rust.

https://rocket.rs

fork in 14 hours

startedSergioBenitez/Rocket

started time in 14 hours

startedSergioBenitez/Rocket

started time in 14 hours

fork ducharmemp/Rocket

A web framework for Rust.

https://rocket.rs

fork in 16 hours

fork ByteSync/Rocket

A web framework for Rust.

https://rocket.rs

fork in 16 hours

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Figment

started time in a day

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Rocket

started time in a day

fork JSextonn/Rocket

A web framework for Rust.

https://rocket.rs

fork in a day

startedSergioBenitez/Rocket

started time in a day

startedSergioBenitez/Rocket

started time in 2 days

startedSergioBenitez/Rocket

started time in 2 days

pull request commentSergioBenitez/Rocket

Supporting Last-Modified Header for StaticFiles

@SergioBenitez, did you have the chance to review this pull request?

schrieveslaach

comment created time in 2 days

issue commentSergioBenitez/Rocket

Uri::Absolute and Uri::Authority

yeah, I get you, but no matter what if I parse a valid uri string that has schema or path I will get an error. So in order for Authority::parse to succeed, I need to be pretty sure that the string contains only Authority.

My original thinking was that Authority::parse will take any uri string and then extract the Authority section from it while stripping all other stuff, which would be handy in my use case.

dawid-nowak

comment created time in 2 days

more