Go to file
KtorZ c711a97e69 Throttle calls to package registry for version resolution
The 'HEAD' call that is done to resolve package revisions from
  unpinned versions is already quite cheap, but it would still be better
  to avoid overloading Github with such calls; especially for users of a
  language-server that would compile on-the-fly very often. Upstream
  packages don't change often so there's no need to constantly check the
  etag.

  So we now keep a local version of etags that we fetched, as well as a
  timestamp from the last time we fetched them so that we only re-fetch
  them if more than an hour has elapsed. This should be fairly resilient
  while still massively improving the UX for people showing up after a
  day and trying to use latest 'main' features.

  This means that we now effectively have two caching levels:

  - In the manifest, we store previously fetched etags.
  - In the filesystem, we have a cache of already downloaded zip archives.

  The first cache is basically invalidated every hour, while the second
  cache is only invalidated when a etag changes. For pinned versions,
  nothing is invalidated as they are considered immutable.
2023-09-13 17:17:32 -04:00
.github Add CODEOWNERS 2023-09-08 10:21:33 +02:00
aikup Bump versions to 1.0.0-alpha, update CHANGELOG. 2023-04-13 17:35:21 +02:00
crates Throttle calls to package registry for version resolution 2023-09-13 17:17:32 -04:00
examples Throttle calls to package registry for version resolution 2023-09-13 17:17:32 -04:00
.editorconfig rename examples/tests/{a,b,c,d,e,f} into examples/acceptance_tests/00{1,2,3,4,5,6} 2022-12-14 09:45:24 +01:00
.gitattributes Add support for Nix flakes. 2023-02-07 13:16:17 +01:00
.gitignore chore: re-add nix stuff from @waalge 2023-06-07 17:16:56 -04:00
CHANGELOG.md Preserve escape sequence after formatting 2023-09-08 12:12:15 +02:00
CONTRIBUTING.md chore: add release instructions in contributing.md 2023-08-24 15:43:26 -06:00
Cargo.lock chore: Release 2023-08-24 15:05:12 -06:00
Cargo.toml chore: update resolver in virtual workspace 2023-08-24 15:51:39 -06:00
LICENSE chore: adjustment cargo.toml 2023-05-23 10:40:26 -04:00
README.md chore: add stats to readme 2023-07-18 19:28:07 -04:00
flake.lock chore: update flake 2023-07-27 10:23:10 -04:00
flake.nix chore[nix]: remove unused cargoBuildFlags 2023-07-27 10:23:10 -04:00

README.md

Aiken Aiken

A modern smart contract platform for Cardano

Licence Crates.io Tests


Installation

How to use

For more information please see the user manual.

Contributing

Want to contribute? See CONTRIBUTING.md to know how.


Note

The name comes from Howard Aiken, an American physicist and a pioneer in computing.

Stats

Alt