diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 23:00:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 23:00:00 -0700 |
commit | d45370efef0aee5063b8290ee4c5ded9c2e11671 (patch) | |
tree | 55c87631b3b830b935f04feba6118dccd8d71d5d /rust | |
parent | ba722671b4791524384010705bef0aaa83c22c0b (diff) | |
download | fatcat-d45370efef0aee5063b8290ee4c5ded9c2e11671.tar.gz fatcat-d45370efef0aee5063b8290ee4c5ded9c2e11671.zip |
update more rust library name refs
Diffstat (limited to 'rust')
-rw-r--r-- | rust/HACKING.md | 2 | ||||
-rw-r--r-- | rust/README.md | 2 | ||||
-rw-r--r-- | rust/TODO | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rust/HACKING.md b/rust/HACKING.md index 1a33f9c8..c321cded 100644 --- a/rust/HACKING.md +++ b/rust/HACKING.md @@ -16,7 +16,7 @@ swagger API spec on one side and the SQL schema on the other. - `./src/endpoints.rs`: hand- and macro-generated wrapper functions, one per API endpoint, that map between API request and return types, and rust-idiomatic request and return types (plus API models). -- `./fatcat-api-spec`: autogenerated API models and endpoint types/signatures +- `./fatcat-openapi`: autogenerated API models and endpoint types/signatures - `../fatcat-openapi2.yaml`: OpenAPI 2 specification of API models and endpoints diff --git a/rust/README.md b/rust/README.md index 86c25d29..2f67c1f8 100644 --- a/rust/README.md +++ b/rust/README.md @@ -7,7 +7,7 @@ Rust implementation of fatcat API server. Commands include: - `fatcat-export`: high-speed JSON export tool, which talks directly to the database (instead of going through the API). -The `fatcat-api-spec` crate is generated from the openapi/swagger spec and +The `fatcat-openapi` crate is generated from the openapi/swagger spec and contains Rust models, response types, and endpoint definitions (but not implementations). @@ -10,7 +10,7 @@ huge compile times: - duplicated libs: 3 syn, 4 uuid, 3 crossbeam (etc), 2 hyper, 2 iron (wait, what?), 3x serde, 4x rand, 2x error-chain => rg '^name =' Cargo.lock | uniq -cd | sort -n -- try: removing deps from fatcat-api-spec +- try: removing deps from fatcat-openapi - uuid: could now switch to v0.7; needs code changes - tweak crossbeam-channel version (used in fatcat-export) |