Ondřej Hruška MightyPork

MightyPork commented on issue packages/digest_auth_rs#5

allow non-'static HTTP method names

Good to hear. I like the flexibility of Cow, you can avoid dealing with lifetimes if you have an owned string. I already used Cow a lot in the crate, so it felt natural to continue.

2 months ago

MightyPork commented on issue packages/digest_auth_rs#5

allow non-'static HTTP method names

v0.3.0 is now published

2 months ago

MightyPork pushed tag v0.3.0 to packages/digest_auth_rs

2 months ago

MightyPork commented on issue packages/digest_auth_rs#5

allow non-'static HTTP method names

Okay, I went ahead and did just that, it's now `struct HttpMethod<'a>(Cow<'a, str>)`. I feel much better about this implementation.

2 months ago

MightyPork pushed to master at packages/digest_auth_rs

2 months ago

MightyPork commented on issue packages/digest_auth_rs#5

allow non-'static HTTP method names

Improved it a bit, now the http crate is an optional feature, and I changed OTHER to use Cow instead of `&str` so it better supports owned strings. There's now some other `From` impls and unit tests too.

2 months ago

MightyPork pushed to master at packages/digest_auth_rs

  • bae4c13597 improvements around HttpMethod, more tests

2 months ago

MightyPork merged pull request packages/digest_auth_rs#5

allow non-'static HTTP method names

2 months ago

MightyPork closed pull request packages/digest_auth_rs#5

allow non-'static HTTP method names

2 months ago

MightyPork commented on issue packages/digest_auth_rs#5

allow non-'static HTTP method names

I'll look at this, it looks fine. But what do you think of using the `http` crate's enum instead?

2 months ago

MightyPork commented on issue packages/rocket_session#3

Execute function on expiry

Couldn't you do that in a custom `Drop` impl for your session object?

4 months ago

MightyPork pushed to master at MightyPork/yopa

4 months ago

MightyPork pushed to master at packages/json_dotpath

4 months ago

MightyPork pushed to master at MightyPork/yopa

4 months ago

MightyPork deleted branch prettier-ui from MightyPork/yopa

4 months ago

MightyPork pushed to master at MightyPork/yopa

4 months ago

MightyPork pushed to prettier-ui at MightyPork/yopa

4 months ago

MightyPork pushed to prettier-ui at MightyPork/yopa

  • 4a51f7d3c2 wip new UI with spectre
  • 3997381748 dry some stuff. also lot of yelling at the compiler
  • e810724cd1 names are now a property and can be chosen arbitrarily
  • fbd2a1ed75 fix numeric IDs not working with persistence, use u32 instead of u64, switch to numeric by default
  • 2b510dfda4 add some doc comments

4 months ago

MightyPork pushed to master at MightyPork/yopa

  • 3997381748 dry some stuff. also lot of yelling at the compiler

5 months ago

MightyPork pushed to master at MightyPork/yopa

  • e810724cd1 names are now a property and can be chosen arbitrarily

5 months ago