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 std::ptr;
|
||||
import std::str;
|
||||
import std::vec;
|
||||
import core::ptr;
|
||||
import core::str;
|
||||
import core::vec;
|
||||
|
||||
export hasher;
|
||||
export hashtype;
|
||||
|
|
|
|||
10
pkey.rs
10
pkey.rs
|
|
@ -1,9 +1,7 @@
|
|||
use std;
|
||||
|
||||
import std::ptr;
|
||||
import std::str;
|
||||
import std::unsafe;
|
||||
import std::vec;
|
||||
import core::ptr;
|
||||
import core::str;
|
||||
import core::unsafe;
|
||||
import core::vec;
|
||||
|
||||
export pkeyrole, encrypt, decrypt, sign, verify;
|
||||
export pkey, mk_pkey;
|
||||
|
|
|
|||
Loading…
Reference in New Issue