Skip to content

Commit

Permalink
Merge pull request #100 from Cosmian/eprint
Browse files Browse the repository at this point in the history
E-print submission.
  • Loading branch information
tbrezot authored Jan 15, 2025
2 parents bc5043a + ca03be0 commit 76f40b5
Show file tree
Hide file tree
Showing 61 changed files with 2,201 additions and 26,805 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benches.yml
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:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ target/
**/Cargo.lock
perf*
flamegraph.svg
**/*.tgz
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

197 changes: 0 additions & 197 deletions CHANGELOG.md

This file was deleted.

64 changes: 22 additions & 42 deletions Cargo.toml
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"]
1 change: 0 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ A copy of this license is available below.
# Commercial License

All usages, not covered by the Open Source License, are covered by a commercial license.
Please contact Cosmian for pricing and details.

# Affero GPL/v3 License

Expand Down
Loading

0 comments on commit 76f40b5

Please sign in to comment.