Skip to content

Commit 3fbfcb8

Browse files
committed
feat: add findex impl - client and server sides
1 parent 222f4cf commit 3fbfcb8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2156
-1835
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
cargo-lint:
1616
uses: ./.github/workflows/clippy.yml
1717
with:
18-
toolchain: nightly-2024-06-09
18+
toolchain: stable-2024-10-17
1919

2020
build_tests:
2121
uses: ./.github/workflows/build_all.yml
2222
secrets: inherit
2323
with:
24-
toolchain: nightly-2024-06-09
24+
toolchain: stable-2024-10-17
2525
debug_or_release: debug

.github/workflows/main_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push:
66
# any tags, including tags with / like v1.0/alpha
77
tags:
8-
- '**'
8+
- "**"
99
schedule:
1010
# every day at 1 AM
1111
- cron: 00 1 * * *
@@ -22,11 +22,11 @@ jobs:
2222
cargo-lint:
2323
uses: ./.github/workflows/clippy.yml
2424
with:
25-
toolchain: nightly-2024-06-09
25+
toolchain: stable-2024-10-17
2626

2727
build:
2828
uses: ./.github/workflows/build_all.yml
2929
secrets: inherit
3030
with:
31-
toolchain: nightly-2024-06-09
31+
toolchain: stable-2024-10-17
3232
debug_or_release: release

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# See https://pre-commit.com for more information
99
# See https://pre-commit.com/hooks.html for more hooks
10-
exclude: tests_data
10+
exclude: crate/client/datasets/users.json
1111
repos:
1212
- repo: https://github.com/compilerla/conventional-pre-commit
1313
rev: v3.4.0
@@ -107,14 +107,15 @@ repos:
107107
args: [--skip-string-normalization]
108108

109109
- repo: https://github.com/Cosmian/git-hooks.git
110-
rev: v1.0.29
110+
rev: v1.0.30
111111
hooks:
112112
- id: cargo-format
113113
# - id: dprint-toml-fix
114114
# - id: cargo-upgrade
115115
# - id: cargo-update
116116
- id: cargo-machete
117117
- id: docker-compose-up
118+
- id: cargo-build-kms
118119
- id: cargo-test
119120
- id: clippy-autofix-unreachable-pub
120121
- id: clippy-autofix-all-targets-all-features

.rustfmt.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Specifies which edition is used by the parser.
2+
# Default value: "2015"
3+
edition = "2021"
4+
5+
# How imports should be grouped into use statements. Imports will be merged or split to the configured level of granularity.
6+
# Default value: Preserve
7+
imports_granularity = "Crate"
8+
9+
# Format the metavariable matching patterns in macros.
10+
# Default value: false
11+
format_macro_matchers = true
12+
13+
# Format string literals where necessary
14+
# Default value: false
15+
format_strings = true
16+
17+
# Break comments to fit on the line
18+
# Default value: false
19+
# Possible values: true, false
20+
# wrap_comments = true
21+
22+
# Convert /* */ comments to // comments where possible
23+
# Default value: false
24+
# Possible values: true, false
25+
# normalize_comments = true
26+
27+
# Reorder impl items. type and const are put first, then macros and methods.
28+
# Default value: false
29+
reorder_impl_items = true
30+
31+
# Controls the strategy for how imports are grouped together.
32+
# Default value: Preserve
33+
group_imports = "StdExternalCrate"
34+
35+
# Add trailing semicolon after break, continue and return
36+
# Default value: true
37+
trailing_semicolon = false
38+
39+
# Enable unstable features on the unstable channel.
40+
# Default value: false
41+
unstable_features = true
42+
43+
# Use field initialize shorthand if possible.
44+
# Default value: false
45+
use_field_init_shorthand = true
46+
47+
# 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.
48+
# Default value: "One"
49+
# version = "Two"
50+
51+
# Controls the edition of the Rust Style Guide to use for formatting (RFC 3338)
52+
# Default value: "2015"
53+
style_edition = "2021"
54+
55+
# The following rust files listing have been made in october 2021.
56+
# This listing allows us first to ignore all rust files formmatting.
57+
# Then we can remove progressively from this list the files we want to format
58+
ignore = []

0 commit comments

Comments
 (0)