rust-crypto bindings to nodejs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cargo refactor: make the API to be similar with native crypto Oct 8, 2018
.circleci ci: fix yaml Dec 10, 2018
bench refactor: faster than native forever Jan 7, 2019
src refactor: faster than native forever Jan 7, 2019
tools
.dockerignore
.editorconfig
.gitignore refactor: use slice::from_raw_parts instead of Vec::from_raw_parts Dec 9, 2018
.npmignore chore: update .npmignore Sep 16, 2018
.travis.yml refactor: make the API to be similar with native crypto Oct 8, 2018
Cargo.toml
Dockerfile
README.md
appveyor.yml ci(appveyor): print rustc cfg Jan 7, 2019
build.rs refactor: faster than native forever Jan 7, 2019
google-secret-file.json.enc
index.d.ts refactor: make the API to be similar with native crypto Oct 8, 2018
index.js refactor: faster than native forever Jan 7, 2019
package.json
rustfmt.toml styles: use prettier and rustfmt Oct 8, 2018
test.js
yarn.lock

README.md

crypto-node

Build Status CircleCI Build status

Dependencies

Make sure you have rust installed in your environment. follow this link: https://www.rust-lang.org/en-US/install.html to install rust toolchains.

如果你是中国用户, 执行

cat > $HOME/.cargo/config << EOF
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
EOF

然后

curl https://sh.rustup.rs -sSf | sed "s/https:\/\/static.rust-lang.org\/rustup\/dist/https:\/\/mirrors.ustc.edu.cn\/rust-static\/rustup\/dist/g" | sh

Build

yarn && yarn build