Commit graph

10340 commits

Author SHA1 Message Date
bunnie
644a52e784 defaults for cargo packaging 2022-10-05 17:18:54 +08:00
bunnie
586f2bddf6 bump xous-rs version to absorb feature flag changes from utralib 2022-10-05 17:15:28 +08:00
bunnie
bcee655dcb fix published package to reflect correct susres API 2022-10-05 17:08:03 +08:00
bunnie
4a8c4498ea fix inconsistency in Cargo.toml file 2022-10-05 17:00:18 +08:00
bunnie
33948e70d6 initial verifier attempt
verification is sort of pointless, because:

The Cargo.toml file is parsed and reformatted by the packaging tool to normalize its contents.
Thus, the Cargo.toml file of the downloaded version never matches the Cargo.toml file that's actually used.

Unfortunately, there doesn't seem to be an easy way to check the equivalence of two Cargo.toml files,
except for recursively and deeply parsing through and comparing all the possibile keys and values of
the abstract key/value tree. This is a much bigger project than I'm prepared to figure out today.

As a hack, we compare to the Cargo.toml.orig file. Which is...kind of OK, but really, this opens us
up to attacks where someone just has to replace a version on a package or even just swap out an
entire package for a malicious one by just using package name re-assignment which is a thing that
the format supports. In other words, all this checking is kind of pointless because it's super-easy
to swap out key crates for whole other crates and have it go undetected.
2022-10-05 05:33:24 +08:00
bunnie
9c5d773cf3 cleanup CargoSpec From trait 2022-10-05 02:54:12 +08:00
bunnie
9dcc0a3386 absorb ticktimer api bump, propagated from susres bump 2022-10-03 04:40:06 +08:00
bunnie
d91ee79b5f absorb susres package bump 2022-10-03 04:38:59 +08:00
bunnie
d2b2383d1a bump susres version 2022-10-03 04:36:32 +08:00
bunnie
2035e54518 fix susres API docs and bump version for upload to crates.io 2022-10-03 04:34:15 +08:00
bunnie
e5a3ff877d bump release notes 2022-10-03 04:21:31 +08:00
bunnie
e4c306d50a remove version from tracking when not packaging 2022-10-03 03:46:04 +08:00
bunnie
0a03782245 bump remote targets in xtask 2022-10-03 03:37:50 +08:00
bunnie
b184bfbe6a move ticktimer to remote api 2022-10-03 03:37:38 +08:00
bunnie
924c0fd802 fix more crates.io issues 2022-10-03 03:27:20 +08:00
bunnie
4fbfd0e686 commit an interim version for crating 2022-10-03 03:21:34 +08:00
bunnie
2b8b74003d set default for crates.io 2022-10-03 03:20:42 +08:00
bunnie
567a408c92 prep ticktimer crate for crates submission 2022-10-03 03:18:38 +08:00
bunnie
21d6f0b4c3 bump rev on ticktimer before publishing 2022-10-03 03:12:06 +08:00
bunnie
efc0c30171 split out ticktimer API 2022-10-03 03:02:38 +08:00
bunnie
0aaf64781f add refs to remote susres 2022-10-03 02:25:00 +08:00
bunnie
89ca75c4bf move over to remote susres api 2022-10-03 02:24:44 +08:00
bunnie
8f6880faf3 fix another default case 2022-10-03 02:20:55 +08:00
bunnie
35aa11bec9 add a default implementation for crates.io 2022-10-03 02:18:28 +08:00
bunnie
34fd38db92 prep susres for crates.io 2022-10-03 02:16:06 +08:00
bunnie
a5bd84f5ca fix missing license and homepage data 2022-10-03 02:07:44 +08:00
bunnie
e52db91a73 bump tts to absorb new xous-names api 2022-10-03 02:05:08 +08:00
bunnie
47f1dc582d bump api rev for xous-names 2022-10-03 01:57:42 +08:00
bunnie
6a14b6d54f add susres to the external APIs 2022-10-03 01:54:31 +08:00
bunnie
679ad9b75f bump remote packages in xtask 2022-10-03 01:18:52 +08:00
bunnie
05803cbffa more xous-names conversion 2022-10-03 01:18:38 +08:00
bunnie
6123e8ff9b xous-names conversion to crates.io 2022-10-03 01:18:20 +08:00
bunnie
be87a92d7a select a default implmeentation for crates.io 2022-10-03 01:16:37 +08:00
bunnie
88af49eaa4 commit removoal of API features 2022-10-03 01:15:00 +08:00
bunnie
34020b4515 prep for push of xous-names implementation to crates.io 2022-10-03 01:14:28 +08:00
bunnie
10cbd762c3 bump docs on xous-names 2022-10-03 01:11:48 +08:00
bunnie
cc5bef5a79 fix non-exhaustive pattern issue 2022-10-03 00:53:31 +08:00
bunnie
94e531f2d2 fix visibility issues in API
API now has to be shared with the crate that implements the
API, so they are now all public structures.

Not exactly great, but, probably also not exactly harmful because
all the source is open and anyone looking to inject messages
can just find the source code and construct them manually.

Mostly we just have to be careful to not abuse the API by reaching
around the lib calls and passing raw xous messages based on
what could be changing data structures.
2022-10-03 00:47:43 +08:00
bunnie
eb7cf0bfbb fix minor nit on package naming in docs. won't push a version for this. 2022-10-03 00:43:00 +08:00
bunnie
73eb121b41 reduce the version number before publishing 2022-10-03 00:34:10 +08:00
bunnie
efc2596013 first cut at xous-names API split-out 2022-10-03 00:32:54 +08:00
bunnie
359d234971 fix some bugs in the remote build process 2022-10-03 00:25:15 +08:00
bunnie
ae079cf504 bump lockfile 2022-10-03 00:25:03 +08:00
bunnie
de514ac66f rename packages in prep for upload to crates.io 2022-10-03 00:24:45 +08:00
bunnie
29ce54635b actually, make hosted the default implementation for crates.io 2022-10-03 00:03:10 +08:00
bunnie
88b059c560 add a default impl so packaging doesn't barf 2022-10-03 00:02:27 +08:00
bunnie
c0b6738b69 prep log server for upload to crates.io 2022-10-02 23:59:34 +08:00
bunnie
c37200c4dc add a README to the log api 2022-10-02 23:29:14 +08:00
bunnie
523361e138 shorten the name of the log-server
the -server suffix is arguably redundant, it's like calling
the `cat` program `cat-program`. Instead, a `xous-` prefix is
added to all xous programs.
2022-10-02 23:21:31 +08:00
bunnie
09b0e93113 bump lock file 2022-10-02 21:50:29 +08:00