diff options
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) |