aboutsummaryrefslogtreecommitdiffstats
path: root/rust
Commit message (Collapse)AuthorAgeFilesLines
* FIXUP: codegen scriptBryan Newbold2020-05-101-2/+3
|
* gitignore codegen rust Cargo.toml codegenBryan Newbold2020-05-101-0/+1
|
* codegen patches (using script)Bryan Newbold2020-05-101-12/+10
|
* updated rust codegen scriptBryan Newbold2020-05-101-53/+23
|
* WIP: update rust codegen scriptBryan Newbold2020-05-1056-23973/+50422
| | | | Only Cargo.toml project metadata updated.
* more TODO/proposal cleanupBryan Newbold2020-01-221-0/+4
|
* fatcatd: fix corner-case in abstracts insertionBryan Newbold2020-01-151-1/+4
| | | | | | | | | | | | | Both the release_abstract relation table and the abstracts table inserts were being gated by a check on new abstracts table rows. I *think* the chance of this having caused problems is low. The most likely would have been updates to exiting entities that somehow removed the abstracts content, but not the sha1 keys. This is not the default behavior of the API: either the entire abstract (content and hash) is returned, or the abstracts are hidden entirely (via `hide` flag). Still, best to be careful!
* bump required rust to 1.36Bryan Newbold2019-12-031-1/+1
| | | | | | | | | | | | This isn't a fatcat rust requirement, but instead a diesel requirement, via rust-smallvec, which in v1.0 uses the alloc crate: https://github.com/servo/rust-smallvec/issues/73 I think the reason this came up now is that diesel-cli is an application and doesn't have a Cargo.lock file, and the build was updated. Using some binary mechanism to install these dependencies would be more robust, but feels like a yak shave right now.
* add 'component' as a release_typeBryan Newbold2019-11-041-0/+1
|
* update rust README with fatcat_test db creation noteBryan Newbold2019-10-031-1/+4
|
* update rust README re: opensslBryan Newbold2019-10-011-17/+1
| | | | | | | | | I believe an openssl library is still required locally, but with the SSL/TLS removal it now doesn't matter if it is OpenSSL 1.0 or 1.1. This is only a temporary work-around. When we update rust code generation, we will need to revisit these changes. The current version of swagger-rs still depends on HTTPS and OpenSSL 1.0 (via dependencies).
* entirely remove unused https flag to fatcatdBryan Newbold2019-09-291-15/+6
|
* cargo update fatcat rust after openssl removalBryan Newbold2019-09-291-76/+32
|
* remove 'client' and hyper-openssl options from fatcat-openapi rust crateBryan Newbold2019-09-291-3/+6
|
* rust: use SPDX exact short license namesBryan Newbold2019-09-182-2/+2
|
* rust: remove duplicated copies of API specBryan Newbold2019-09-183-14399/+4
|
* rust codegen (with rustfix, compiles 2018 edition)Bryan Newbold2019-09-188-1000/+1036
|
* update fatcat-openapi crate to 2018 editionBryan Newbold2019-09-181-0/+1
|
* more rust codegen hacksBryan Newbold2019-09-181-0/+24
| | | | Starting to fix problems where crate wouldn't actually build (!)
* rust: improve crate metadataBryan Newbold2019-09-182-1/+5
|
* rust impl token endpoint (and bump crate version)Bryan Newbold2019-09-183-6/+57
|
* codegen rust v0.3.1Bryan Newbold2019-09-1811-58/+460
|
* API docs default to redoc, not swagger-uiBryan Newbold2019-09-132-1/+34
|
* rust codegenBryan Newbold2019-09-1310-2456/+4074
| | | | | This re-ordered a lot of code, because several endpoints had their tags changed, but should be no actual change in behavior/spec.
* update missing rust crate namesBryan Newbold2019-09-053-4/+4
|
* update more rust library name refsBryan Newbold2019-09-053-3/+3
|
* rename rust crate fatcat-api-spec -> fatcat-openapiBryan Newbold2019-09-0532-33/+33
|
* document openssl 1.0/1.1 problemBryan Newbold2019-08-291-1/+18
|
* update required rust to 1.34+Bryan Newbold2019-08-261-1/+1
| | | | | | Will most likely bump to 1.39 or whatever async/await lands in later this year, but for now requiring at least the version debian buster (current stable) ships with.
* cargo fix ('dyn' keywords)Bryan Newbold2019-08-262-30/+30
|
* newer cargo adds a header to Cargo.lockBryan Newbold2019-07-311-0/+2
|
* build deployable artifactsBryan Newbold2019-06-202-0/+12
|
* allow editing of WIP entitiesBryan Newbold2019-06-141-6/+1
|
* truncated oauth_oidc generated usernameBryan Newbold2019-06-071-2/+2
|
* truncated oidc username creationBryan Newbold2019-06-071-1/+2
|
* Revert "allow somewhat longer usernames"Bryan Newbold2019-06-071-3/+1
| | | | This reverts commit 123cc92cadb57e3a9e536e08a66ea54adab660ad.
* allow somewhat longer usernamesBryan Newbold2019-06-071-1/+3
|
* move export README info to sql_dumps docBryan Newbold2019-06-032-18/+1
|
* minor cleanups to SQL migrationBryan Newbold2019-05-231-11/+1
|
* codegen version bumpBryan Newbold2019-05-216-10/+10
| | | | Wow, a surprisingly large commit!
* fix 'releases' tests (to release_ids)Bryan Newbold2019-05-211-3/+3
|
* hide abstracts and refs in release expansionsBryan Newbold2019-05-201-3/+12
|
* rust impl release expansionBryan Newbold2019-05-201-3/+84
| | | | Not very DRY.
* rust fmtBryan Newbold2019-05-201-2/+0
|
* schema: allow releases expansion on file/fileset/webcaptureBryan Newbold2019-05-204-9/+84
| | | | And codegen rust and python
* actually check withdrawn statusBryan Newbold2019-05-201-0/+3
|
* basic controlled vocabulary for withdrawn_stageBryan Newbold2019-05-201-2/+38
|
* include edit_extra on single-entity createsBryan Newbold2019-05-201-0/+1
|
* make some XXX into TODOBryan Newbold2019-05-203-3/+2
|
* allow versioned PMCIDBryan Newbold2019-05-201-2/+5
|