Merge pull request #1 from boggle/stdcore
Refactored code to use core::*
This commit is contained in:
commit
0963c2bfa4
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