Skip to content

Commit a514dbc

Browse files
authored
Merge pull request #175 from burgerdev/rust-squashed
Add a Rust library
2 parents a00cf30 + c09b6ee commit a514dbc

File tree

6 files changed

+740
-0
lines changed

6 files changed

+740
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rust/target

rust/Cargo.lock

+369
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "glome"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[features]
7+
default = [ "dalek" ]
8+
dalek = [ "dep:x25519-dalek" ]
9+
openssl = [ "dep:openssl" ]
10+
11+
[dependencies]
12+
sha2 = "0.10"
13+
hmac = "0.12"
14+
x25519-dalek = { version = "2.0", features = ["getrandom", "static_secrets"], optional = true }
15+
openssl = { version = "0.10", optional = true }
16+
17+
[dev-dependencies]
18+
# test
19+
hex-literal = "0.3"
20+
21+
[lib]
22+
name = "glome"
23+
path = "src/lib.rs"

0 commit comments

Comments
 (0)