mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
308ab4f269
* WiP: HTTP Apis. * Working on the API. * Add docs, clean up the API. * Expose ext_ stuff as well. * Implement HTTP helpers for offchain sr-io. * Remove HTTP stuff. * Revert "Remove HTTP stuff." This reverts commit 7cca029d6ae93c5849b50edfcc6d2c313ba3e5bf. * HTTP apis. * Additional offchain methods. * Make it compile. * Implement wasm-ext boundary of offchain methods. * Add stubs for offchain stuff to prevent panics. * Fix tests. * Addres some more issues. * Introduce typedef, use unsafe from_utf8 * Bump runtime version. * Introduce error to distinguish deadline and io errors. * Add local_storage_cas * Some tests for offchain stuff. * Address more grumbles. * Fix tests compilation. * Fix borked merge. * Improve docs for expected return values from ext functions. * Adding new sign/enrypt/decrypt APIs.
42 lines
1.2 KiB
Rust
42 lines
1.2 KiB
Rust
// Copyright 2017-2019 Parity Technologies (UK) Ltd.
|
|
// This file is part of Substrate.
|
|
|
|
// Substrate is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Substrate is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
pub use std::borrow;
|
|
pub use std::boxed;
|
|
pub use std::cell;
|
|
pub use std::clone;
|
|
pub use std::cmp;
|
|
pub use std::convert;
|
|
pub use std::default;
|
|
pub use std::fmt;
|
|
pub use std::hash;
|
|
pub use std::iter;
|
|
pub use std::marker;
|
|
pub use std::mem;
|
|
pub use std::num;
|
|
pub use std::ops;
|
|
pub use std::ptr;
|
|
pub use std::rc;
|
|
pub use std::result;
|
|
pub use std::slice;
|
|
pub use std::str;
|
|
pub use std::vec;
|
|
|
|
pub mod collections {
|
|
pub use std::collections::btree_map;
|
|
pub use std::collections::btree_set;
|
|
}
|