Commit graph

8 commits

Author SHA1 Message Date
bunnie
bb7209508b update formatting on the published crates
not doing a reformat of the entire project to match
nightly formatting changes, but capturing the published
crates so we can maybe save a version bump later on to get
the project clean.
2024-09-23 01:43:02 +08:00
bunnie
1917c07a35 format xous-rs 2024-01-14 23:10:29 +08:00
Sean Cross
dd02fce340 xous: remove nearly all dependencies
This removes nearly all of the dependencies from `xous-rs`, making it
mostly self-contained.

There is one remaining dependency tree which is `xous-macros`. This is a
legacy feature from before a time we had main(). Attempts will be made
to remove it as well.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 12:29:23 +08:00
Sean Cross
e900912e58 xous: stringbuffer: fix clippy warnings
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-06 12:04:21 +08:00
Sean Cross
a99839ecd6 xous: mark MemoryRange fields as private
Mark the private fields in a `MemoryRange` struct as being private. This
allows us to perform operations on the memory range armed with the
knowledge that the entire range is valid and unaliased.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-24 17:41:16 +08:00
Sean Cross
977a175bb5 xous: mark MemoryRange::new() as unsafe
This function allows for creating arbitrary memory ranges. Mark this
function as `unsafe` in order to warn users that this can be used to
create invalid memory regions.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-24 17:02:02 +08:00
Sean Cross
7fe10b6463 xous: stringbuffer: fix build in libstd
When building as part of libstd, we need to manually specify flags.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:13:38 +08:00
Sean Cross
04055c1bf5 xous: add StringBuffer
This is a simple lendable StringBuffer variant of String that is
suitable for sending across process boundaries.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:22:15 +08:00