-
- Downloads
first commit
parents
Branches
No related tags found
Showing
- .gitignore 6 additions, 0 deletions.gitignore
- .gitlab-ci.yml 56 additions, 0 deletions.gitlab-ci.yml
- Cargo.toml 37 additions, 0 deletionsCargo.toml
- LICENSE.txt 0 additions, 0 deletionsLICENSE.txt
- README.md 23 additions, 0 deletionsREADME.md
- src/lib.rs 59 additions, 0 deletionssrc/lib.rs
- src/utils.rs 17 additions, 0 deletionssrc/utils.rs
- tests/web.rs 38 additions, 0 deletionstests/web.rs
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
Cargo.toml
0 → 100644
[package] | |||
name = "dup-tools-wasm" | |||
version = "0.1.0" | |||
authors = ["librelois <elois@ifee.fr>"] | |||
description = "Tools for DUP Protocol." | |||
license = "AGPL-3.0" | |||
[lib] | |||
crate-type = ["cdylib", "rlib"] | |||
[features] | |||
default = ["console_error_panic_hook"] | |||
[dependencies] | |||
cfg-if = "0.1.2" | |||
dup-crypto = "0.4.0-b1" | |||
wasm-bindgen = "0.2" | |||
# The `console_error_panic_hook` crate provides better debugging of panics by | |||
# logging them with `console.error`. This is great for development, but requires | |||
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for | |||
# code size when deploying. | |||
console_error_panic_hook = { version = "0.1.1", optional = true } | |||
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size | |||
# compared to the default allocator's ~10K. It is slower than the default | |||
# allocator, however. | |||
# | |||
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now. | |||
wee_alloc = { version = "0.4.2", optional = true } | |||
[dev-dependencies] | |||
wasm-bindgen-test = "0.2" | |||
[profile.release] | |||
# Tell `rustc` to optimize for small code size. | |||
opt-level = "s" |
LICENSE.txt
0 → 100644
This diff is collapsed.
README.md
0 → 100644
src/lib.rs
0 → 100644
src/utils.rs
0 → 100644
tests/web.rs
0 → 100644
Please sign in to comment