<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sputnik/examples, branch v0.4.0</title>
<subtitle>A lightweight layer on top of hyper to facilitate building web applications.</subtitle>
<id>http://git.push-f.com/sputnik/atom/examples?h=v0.4.0</id>
<link rel='self' href='http://git.push-f.com/sputnik/atom/examples?h=v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/'/>
<updated>2021-04-09T10:49:02Z</updated>
<entry>
<title>make hyper dependency optional</title>
<updated>2021-04-09T10:49:02Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-04-09T10:32:01Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=9df4a6c0b55b2e680eca4e89489ad4c684bfb127'/>
<id>urn:sha1:9df4a6c0b55b2e680eca4e89489ad4c684bfb127</id>
<content type='text'>
</content>
</entry>
<entry>
<title>upgrade to hyper 0.14</title>
<updated>2021-03-30T08:52:42Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-03-30T08:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=bfeddf5d15ddaa9937ceeba04678ad6c4a4e8aea'/>
<id>urn:sha1:bfeddf5d15ddaa9937ceeba04678ad6c4a4e8aea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove CSRF tokens (SameSite support is good enough)</title>
<updated>2021-01-29T19:35:27Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-29T19:29:42Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=c7d3bd087c49bdd0b33ed23ff583bf58ba705a1c'/>
<id>urn:sha1:c7d3bd087c49bdd0b33ed23ff583bf58ba705a1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move SputnikParts::csrf_token to CsrfToken::from_request</title>
<updated>2021-01-26T15:20:14Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T15:17:01Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=cfb33b7f441e68161032b6505502b6490c4c0a3d'/>
<id>urn:sha1:cfb33b7f441e68161032b6505502b6490c4c0a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>introduce SputnikParts::response_headers</title>
<updated>2021-01-26T14:48:17Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T13:37:04Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=fc15b41a37e123434ec39a277f107b78c1507bd8'/>
<id>urn:sha1:fc15b41a37e123434ec39a277f107b78c1507bd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reintroduce CsrfToken type</title>
<updated>2021-01-25T21:50:40Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-25T21:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=3fd065757f02ebf1d055912e6809fac15c8bf058'/>
<id>urn:sha1:3fd065757f02ebf1d055912e6809fac15c8bf058</id>
<content type='text'>
Raw HTML is potentially dangerous so it's better to provide an
encapsulating type instead of relying on naked strings.

bump version to 0.3.3
</content>
</entry>
<entry>
<title>simplify CSRF API</title>
<updated>2021-01-25T14:06:48Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-25T13:47:47Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=9fa7442e41bc11ab3d62f43f5f6e90b59e160da2'/>
<id>urn:sha1:9fa7442e41bc11ab3d62f43f5f6e90b59e160da2</id>
<content type='text'>
This commit gets rid of the CsrfToken type,
simplifying submission handling:

  // before
  let csrf_token = req.csrf_token(&amp;mut response);
  let msg: FormData = body.into_form_csrf(&amp;csrf_token).await?;

  // after
  let msg: FormData = body.into_form_csrf(req).await?;

As well as HTML input retrieval:

  // before
  req.csrf_token(&amp;mut response).html_input();

  // after
  req.csrf_html_input(&amp;mut response);

This commit also merges the CsrfError type into CsrfProtectedFormError.

bump version to 0.3.1
</content>
</entry>
<entry>
<title>define &amp; impl traits instead of wrapping types</title>
<updated>2021-01-24T21:49:57Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-24T21:37:36Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=76e92d7281b45ce506046a8946b7fde3355c485d'/>
<id>urn:sha1:76e92d7281b45ce506046a8946b7fde3355c485d</id>
<content type='text'>
bump version to 0.3.0
</content>
</entry>
<entry>
<title>completely ditch Sputnik's general Error type</title>
<updated>2021-01-22T20:36:53Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-22T20:34:35Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=4ba2d050bdf1a3c0070f3aa2331c82745611af1f'/>
<id>urn:sha1:4ba2d050bdf1a3c0070f3aa2331c82745611af1f</id>
<content type='text'>
Users also want to short-circuit error types from other crates but they
cannot define a From conversion between two foreign types.

Sputnik's error type also didn't allow for proper error logging.

bump version to 0.2.3
</content>
</entry>
<entry>
<title>introduce Error::Simple and Error::Response</title>
<updated>2021-01-20T10:53:26Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-20T10:41:03Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=b886de1afc0b90d7ca27db9d5c7dabddbe3d7ee0'/>
<id>urn:sha1:b886de1afc0b90d7ca27db9d5c7dabddbe3d7ee0</id>
<content type='text'>
bump version to 0.2.2
</content>
</entry>
</feed>
