Skip to content

Commit f8b7306

Browse files
authored
Merge pull request #97 from cipherstash/bug-110-prefixer-case
Updated to cipherstash-client 0.14.0, prefixer case insensitive tests
2 parents 26c3e3f + c5b86c2 commit f8b7306

File tree

5 files changed

+525
-480
lines changed

5 files changed

+525
-480
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords = ["cryptography", "security", "databases", "encryption", "dynamodb"]
1313
categories = ["cryptography", "database"]
1414

1515
[dependencies]
16-
cipherstash-client = { version = "0.13.0-pre.1" }
16+
cipherstash-client = { version = "0.14.0" }
1717
cipherstash-dynamodb-derive = { version = "0.8", path = "cipherstash-dynamodb-derive" }
1818

1919
aws-sdk-dynamodb = "1.3.0"

cipherstash-dynamodb-derive/src/settings/index_type.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl IndexType {
100100
let index_type = Self::type_to_ident(index_type)?;
101101

102102
Ok(quote! {
103-
Box::new(cipherstash_dynamodb::encryption::compound_indexer::#index_type::new(vec![]))
103+
Box::new(cipherstash_dynamodb::encryption::compound_indexer::#index_type::default())
104104
})
105105
}
106106

@@ -111,9 +111,9 @@ impl IndexType {
111111
Ok(quote! {
112112
Box::new(
113113
cipherstash_dynamodb::encryption::compound_indexer::CompoundIndex::new(
114-
cipherstash_dynamodb::encryption::compound_indexer::#index_a::new(vec![])
114+
cipherstash_dynamodb::encryption::compound_indexer::#index_a::default()
115115
).and(
116-
cipherstash_dynamodb::encryption::compound_indexer::#index_b::new(vec![])
116+
cipherstash_dynamodb::encryption::compound_indexer::#index_b::default()
117117
))
118118
})
119119
}

0 commit comments

Comments
 (0)