Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document a good portion of the code #167

Merged
merged 5 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
In Development
--------------
- Reduced the sizes of a number of streams & futures
- Added doc comments to much of the code

v0.4.0 (2024-07-09)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ itertools = "0.13.0"
memory-stats = "1.2.0"
moka = { version = "0.12.8", features = ["future"] }
percent-encoding = "2.3.1"
pin-project-lite = "0.2.14"
pin-project = "1.1.5"
reqwest = { version = "0.12.5", default-features = false, features = ["json", "rustls-tls-native-roots"] }
reqwest-middleware = "0.3.2"
reqwest-retry = "0.6.0"
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,16 @@ Features

- Hierarchies served:

- `/dandisets/`: A view of Dandisets & assets (including Zarr entries, and
including version metadata as virtual `dandiset.yaml` files) in Dandi
Archive, retrieved via the Dandi Archive and S3 APIs
- `/dandisets/`: A view of Dandisets & assets in Dandi Archive, retrieved
via the Dandi Archive and S3 APIs

- Dandiset versions include a `dandiset.yaml` file as a top-level
resource.

- Zarr assets are represented as collections of their entries.

- HTML views of collections include links to version & asset metadata
on the API server.

- `/zarrs/`: A view of all Zarrs in the Dandi Archive at various points in
time, as recorded by/at <https://github.com/dandi/zarr-manifests>
Expand Down
1 change: 1 addition & 0 deletions src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Constants and program-wide compile-time configuration
use time::{format_description::FormatItem, macros::format_description};

/// The "User-Agent" value sent in outgoing HTTP requests
Expand Down
Loading