diff options
| author | elly <[email protected]> | 2011-12-15 12:12:37 -0800 |
|---|---|---|
| committer | elly <[email protected]> | 2011-12-15 12:12:37 -0800 |
| commit | 0963c2bfa448129227c81b0ba5617126ef44b359 (patch) | |
| tree | 3c310e546805c9fc1a3dd4ae425a938ed22713d7 | |
| parent | Add manifest for rust-pkg. (diff) | |
| parent | Refactored code to use core::* (diff) | |
| download | rust-openssl-0963c2bfa448129227c81b0ba5617126ef44b359.tar.xz rust-openssl-0963c2bfa448129227c81b0ba5617126ef44b359.zip | |
Merge pull request #1 from boggle/stdcore
Refactored code to use core::*
| -rw-r--r-- | hash.rs | 8 | ||||
| -rw-r--r-- | pkey.rs | 10 | ||||
| -rw-r--r-- | symm.rs | 8 |
3 files changed, 10 insertions, 16 deletions
@@ -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; @@ -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; @@ -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 crypter; export cryptermode; |