Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ aes = { version = "0.8.4", optional = true }
ctr = { version = "0.9.2", optional = true }
crypto-mac = { version = "0.11.1", optional = true }
hmac = { version = "0.11.0", optional = true }
sha2 = { version = "0.9.5", optional = true }
sha2 = { version = "0.9.5", optional = true, features = ["asm"] }
hkdf = { version = "0.11.0", optional = true }
pbkdf2 = { version = "0.8.0", optional = true }
rand = { version = "0.8.5", optional = true }
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ Its main use is to be used as a full text search backend for Matrix clients.
Seshat provides JavaScript bindings which can be found in the
[seshat-node](seshat-node) subdir.

### Building the native module (with hardware crypto)

```sh
cd seshat-node

# N.B. aarch64 requires you to explicitly enable hardware AES via RUSTFLAGS
# otherwise seshat uses 10-20x more CPU than it should.
RUSTFLAGS="--cfg aes_armv8" npm run build-bundled
```

## Usage

There are two modes of operation for Seshat, adding live events as they
Expand Down
Loading