Refactored code to use core::*
This commit is contained in:
parent
ca9c82b1f3
commit
843d938677
8
hash.rs
8
hash.rs
|
|
@ -1,8 +1,6 @@
|
||||||
use std;
|
import core::ptr;
|
||||||
|
import core::str;
|
||||||
import std::ptr;
|
import core::vec;
|
||||||
import std::str;
|
|
||||||
import std::vec;
|
|
||||||
|
|
||||||
export hasher;
|
export hasher;
|
||||||
export hashtype;
|
export hashtype;
|
||||||
|
|
|
||||||
10
pkey.rs
10
pkey.rs
|
|
@ -1,9 +1,7 @@
|
||||||
use std;
|
import core::ptr;
|
||||||
|
import core::str;
|
||||||
import std::ptr;
|
import core::unsafe;
|
||||||
import std::str;
|
import core::vec;
|
||||||
import std::unsafe;
|
|
||||||
import std::vec;
|
|
||||||
|
|
||||||
export pkeyrole, encrypt, decrypt, sign, verify;
|
export pkeyrole, encrypt, decrypt, sign, verify;
|
||||||
export pkey, mk_pkey;
|
export pkey, mk_pkey;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue