Skip to content

Commit

Permalink
feat: add findex impl - client and server sides
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuthor committed Oct 18, 2024
1 parent 222f4cf commit 9027235
Show file tree
Hide file tree
Showing 74 changed files with 2,396 additions and 1,979 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
cargo-lint:
uses: ./.github/workflows/clippy.yml
with:
toolchain: nightly-2024-06-09
toolchain: stable-2024-10-17

build_tests:
uses: ./.github/workflows/build_all.yml
secrets: inherit
with:
toolchain: nightly-2024-06-09
toolchain: stable-2024-10-17
debug_or_release: debug
4 changes: 2 additions & 2 deletions .github/workflows/main_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
cargo-lint:
uses: ./.github/workflows/clippy.yml
with:
toolchain: nightly-2024-06-09
toolchain: stable-2024-10-17

build:
uses: ./.github/workflows/build_all.yml
secrets: inherit
with:
toolchain: nightly-2024-06-09
toolchain: stable-2024-10-17
debug_or_release: release
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: tests_data
exclude: crate/client/datasets/users.json
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
Expand Down Expand Up @@ -107,14 +107,15 @@ repos:
args: [--skip-string-normalization]

- repo: https://github.com/Cosmian/git-hooks.git
rev: v1.0.29
rev: v1.0.30
hooks:
- id: cargo-format
# - id: dprint-toml-fix
# - id: cargo-upgrade
# - id: cargo-update
- id: cargo-machete
- id: docker-compose-up
- id: cargo-build-kms
- id: cargo-test
- id: clippy-autofix-unreachable-pub
- id: clippy-autofix-all-targets-all-features
Expand Down
58 changes: 58 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Specifies which edition is used by the parser.
# Default value: "2015"
edition = "2021"

# How imports should be grouped into use statements. Imports will be merged or split to the configured level of granularity.
# Default value: Preserve
imports_granularity = "Crate"

# Format the metavariable matching patterns in macros.
# Default value: false
format_macro_matchers = true

# Format string literals where necessary
# Default value: false
format_strings = true

# Break comments to fit on the line
# Default value: false
# Possible values: true, false
wrap_comments = true

# Convert /* */ comments to // comments where possible
# Default value: false
# Possible values: true, false
# normalize_comments = true

# Reorder impl items. type and const are put first, then macros and methods.
# Default value: false
reorder_impl_items = true

# Controls the strategy for how imports are grouped together.
# Default value: Preserve
group_imports = "StdExternalCrate"

# Add trailing semicolon after break, continue and return
# Default value: true
trailing_semicolon = false

# Enable unstable features on the unstable channel.
# Default value: false
unstable_features = true

# Use field initialize shorthand if possible.
# Default value: false
use_field_init_shorthand = true

# Which version of the formatting rules to use. Version::One is backwards-compatible with Rustfmt 1.0. Other versions are only backwards compatible within a major version number.
# Default value: "One"
version = "Two"

# # Controls the edition of the Rust Style Guide to use for formatting (RFC 3338)
# # Default value: "2015"
# style_edition = "2021"

# The following rust files listing have been made in october 2021.
# This listing allows us first to ignore all rust files formmatting.
# Then we can remove progressively from this list the files we want to format
ignore = []
Loading

0 comments on commit 9027235

Please sign in to comment.