-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from Cosmian/eprint
E-print submission.
- Loading branch information
Showing
61 changed files
with
2,201 additions
and
26,805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
name: Benches | ||
|
||
on: [workflow_dispatch, pull_request] | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
bench: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ target/ | |
**/Cargo.lock | ||
perf* | ||
flamegraph.svg | ||
**/*.tgz |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,47 @@ | ||
[package] | ||
name = "cosmian_findex" | ||
version = "6.0.0" | ||
version = "7.0.0" | ||
authors = [ | ||
"Chloé Hébant <[email protected]>", | ||
"Bruno Grieder <[email protected]>", | ||
"Célia Corsin <[email protected]>", | ||
"Emmanuel Coste <[email protected]>", | ||
"Théophile Brézot <[email protected]>", | ||
"Chloé Hébant <[email protected]>", | ||
"Bruno Grieder <[email protected]>", | ||
"Célia Corsin <[email protected]>", | ||
"Emmanuel Coste <[email protected]>", | ||
"Théophile Brézot <[email protected]>", | ||
] | ||
categories = ["cosmian::crypto"] | ||
edition = "2021" | ||
keywords = ["SSE"] | ||
license-file = "LICENSE.md" | ||
license = "BUSL-1.1" | ||
repository = "https://github.com/Cosmian/findex/" | ||
description = "Symmetric Searchable Encryption" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "lib", "staticlib"] | ||
name = "cosmian_findex" | ||
path = "src/lib.rs" | ||
|
||
[features] | ||
in_memory = ["cosmian_crypto_core/ser"] | ||
bench = [] | ||
|
||
[dependencies] | ||
# Once available in stable Rust (presumably 1.74), use std async fn in trait | ||
# <https://rust-lang.github.io/rfcs/3185-static-async-fn-in-trait.html> | ||
async-trait = "0.1.74" | ||
base64 = "0.21.5" | ||
cosmian_crypto_core = { version = "9.3.0", default-features = false, features = [ | ||
"aes", | ||
"sha3", | ||
] } | ||
# Once available in stable Rust, use `!` std primitive | ||
# <https://doc.rust-lang.org/std/primitive.never.html> | ||
never = "0.1.0" | ||
tiny-keccak = { version = "2.0.2", features = ["kmac", "sha3"] } | ||
tracing = "0.1" | ||
zeroize = "1.7.0" | ||
aes = "0.8.4" | ||
rand = "0.8.5" | ||
rand_chacha = "0.3.1" | ||
rand_core = "0.6.4" | ||
tiny-keccak = { version = "2.0.2", features = ["sha3"] } | ||
xts-mode = "0.5.1" | ||
zeroize = { version = "1.8.1", features = ["derive"] } | ||
|
||
[dev-dependencies] | ||
actix-rt = "2.9.0" | ||
criterion = "0.5.1" | ||
futures = "0.3.29" | ||
rand = "0.8.5" | ||
futures = "0.3.30" | ||
lazy_static = "1.5.0" | ||
tokio = {version = "1.38.0", features = ["rt", "macros", "rt-multi-thread", "time"]} | ||
|
||
[[bench]] | ||
harness = false | ||
name = "benches" | ||
required-features = ["in_memory"] | ||
|
||
[[test]] | ||
name = "test_in_memory" | ||
required-features = ["in_memory"] | ||
|
||
[[test]] | ||
name = "non_regression" | ||
required-features = ["in_memory"] | ||
|
||
[[example]] | ||
name = "search" | ||
required-features = ["in_memory"] | ||
harness = false | ||
required-features = ["bench"] | ||
|
||
[[example]] | ||
name = "upsert" | ||
required-features = ["in_memory"] | ||
name = "insert" | ||
required-features = ["bench"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.