~tdeo

Edmonton, Canada

https://tadeo.ca

~tdeo/serde_bare

Last active 3 months ago
View more

Recent activity

[PATCH libscfg v2] Install headers 24 days ago

From Tadeo Kondrak to ~emersion/public-inbox

---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index a82333e..b8aecfb 100644
--- a/meson.build
+++ b/meson.build
@@ -19,6 +19,8 @@ add_project_arguments(cc.get_supported_arguments([
	'-Wno-unused-parameter',
]), language: 'c')

install_headers('include/scfg.h')

[message trimmed]

[PATCH libscfg] Install headers 24 days ago

From Tadeo Kondrak to ~emersion/public-inbox

---
The libscfg header doesn't seem to get installed, this should fix
that.

I'm not sure whether install_subdir is the cleanest way to do this,
but it's what wlroots seems to use.

 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index a82333e..7181bc3 100644
--- a/meson.build
+++ b/meson.build
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 24 days ago

From Tadeo Kondrak to ~sircmpwn/email-test-drive

---
 tadeo-kondrak | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tadeo-kondrak

diff --git a/tadeo-kondrak b/tadeo-kondrak
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/tadeo-kondrak
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.33.1
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 24 days ago

From Tadeo Kondrak to ~sircmpwn/email-test-drive

---
 tadeo-kondrak | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tadeo-kondrak

diff --git a/tadeo-kondrak b/tadeo-kondrak
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/tadeo-kondrak
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.33.1
[message trimmed]

Re: [PATCH serde_bare] Add support for using serde_bare in no_std + alloc crates 3 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

On Tue Sep 28, 2021 at 12:29 PM MDT, Antoine van Gelder wrote:
> Looking good on my side, all tests are green!
Thanks for testing, published!

Re: [PATCH serde_bare] Add support for using serde_bare in no_std + alloc crates 3 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

On Tue Sep 28, 2021 at 9:51 AM MDT, Antoine van Gelder wrote:
> > Hi, thanks for your patch!
> > Unfortunately it looks like the code section been wrapped to a column
> > limit, so it's not possible to apply it.
>
> Oh dear. My email address is unfortunately reliant on one of those
> non-compliant mail clients mentioned in the FAQ!
>
> > I think, rather than trying to expose the same API for std and alloc
> > through core2 which imitates std::io, we could use a similar approach as
> > serde_json does, where we define our own sealed and stripped-down Read
> > and maybe Write traits, and use that as the input to the Deserializer.
> >
> > This allows us to avoid having std::io types in the public API except

Re: [PATCH serde_bare] Add support for using serde_bare in no_std + alloc crates 3 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

On Tue Sep 28, 2021 at 8:13 AM MDT, Antoine van Gelder wrote:
> This patch makes it possible to use serde_bare in environments that
> don't provide the rust std library.
>
> e.g. embedded targets, web.
>
> This patch does require that the target include the alloc library and
> provide a suitable allocator.

Hi, thanks for your patch!
Unfortunately it looks like the code section been wrapped to a column
limit, so it's not possible to apply it.

I think, rather than trying to expose the same API for std and alloc

Re: [PATCH v2] Do not accept sequences with no length information 9 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

On Wed Mar 17, 2021 at 3:19 AM MDT, Enrico Lumetti wrote:
> ---
> src/error.rs | 2 ++
> src/ser.rs | 29 ++++++++++++++++++++++++-----
> 2 files changed, 26 insertions(+), 5 deletions(-)
>
> diff --git a/src/error.rs b/src/error.rs
> index a89c41c..28937cc 100644
> --- a/src/error.rs
> +++ b/src/error.rs
> @@ -16,6 +16,7 @@ pub enum Error {
> InvalidUtf8,
> InvalidChar,
>  

Re: [PATCH serde_bare] Do not accept sequences with no length information 10 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

On Tue Mar 16, 2021 at 8:47 AM MDT, Enrico Lumetti wrote:
> ---
> A little fix to serialization of iterators that have possibly infinite elements.
> BARE needs to prefix the number of elements written, but this can only be possible
> if all the elements are read from the iterator and then serialized.
> I opted for a stricter policy where an error is given to the user in such cases.
> 
>  src/error.rs |  2 ++
>  src/ser.rs   | 29 ++++++++++++++++++++++++-----
>  2 files changed, 26 insertions(+), 5 deletions(-)
> 
> diff --git a/src/error.rs b/src/error.rs
> index a89c41c..28937cc 100644
> --- a/src/error.rs

Re: [PATCH serde_bare v3] Add Criterion benchmarks 1 year, 6 months ago

From Tadeo Kondrak to ~tdeo/serde_bare

Thanks! Applied.