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

Refactor Arklib into Separate Crates #5

Merged
merged 64 commits into from
Mar 1, 2024
Merged

Refactor Arklib into Separate Crates #5

merged 64 commits into from
Mar 1, 2024

Conversation

tareknaser
Copy link
Collaborator

@tareknaser tareknaser commented Feb 21, 2024

This PR refactors Arklib into three separate crates for better organization and modularity:

  1. fs-atomic-versions: Manages the app_id file
  2. fs-index: Handles resource index management
  3. fs-utils: Contains utility functions and common code used across the project.

Additionally, this PR relocates the README.md, fonts/, and testdata/ directories to the project's root directory

  • Change target of the PR from monorepo to main before merging

gwendalF and others added 13 commits December 14, 2023 19:18
Co-authored-by: Kirill Taran <kirill@taran.space>
Co-authored-by: Gwendal Fernet <gfernet@thebrandcollector.com>
* Replacing machine-id with custom stored uuid.

* Changed Name From device_id to app_id

* Made Function Public

* Loaded App Id On Remaining Tests

* Fixed Tests

* Renamed Folder
This commit introduces a new benchmark file, benches/hash_benchmark.rs. The file includes the compute_bytes_benchmark function, which has three benchmarks for different use cases:
- compute_bytes_small: Benchmarks with small input data.
- compute_bytes_medium: Evaluates medium-sized input data.
- compute_bytes_large: Measures large input data performance.

Criterion is configured as a dev dependency with the `html_reports` feature for detailed HTML reports in `target/criterion/`.

Signed-off-by: Tarek <tareknaser360@gmail.com>
@tareknaser
Copy link
Collaborator Author

Note: Run benchmarks check is failing because the main branch still doesn't have benchmarks

data-resource/src/lib.rs Outdated Show resolved Hide resolved
fs-index/src/pdf.rs Outdated Show resolved Hide resolved
fs-index/src/link.rs Outdated Show resolved Hide resolved
fs-index/src/lib.rs Outdated Show resolved Hide resolved
fs-utils/src/lib.rs Outdated Show resolved Hide resolved
Signed-off-by: Tarek <tareknaser360@gmail.com>
Signed-off-by: Tarek <tareknaser360@gmail.com>
tareknaser and others added 3 commits March 1, 2024 18:48
Signed-off-by: Tarek <tareknaser360@gmail.com>
Signed-off-by: Tarek <tareknaser360@gmail.com>
- data-pdf
- data-error
- data-json
- data-link
- fs-storage
- fs-atomic-light
- data-json (ex fs-utils)
- data-error (ex fs-utils)
@kirillt kirillt changed the base branch from monorepo to main March 1, 2024 15:49
Copy link
Member

@kirillt kirillt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tareknaser

@kirillt kirillt merged commit d42300d into main Mar 1, 2024
@tareknaser tareknaser deleted the crate-org branch March 1, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants