sp_std/
with_std.rs

1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// 	http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18pub use std::alloc;
19pub use std::any;
20pub use std::borrow;
21pub use std::boxed;
22pub use std::cell;
23pub use std::clone;
24pub use std::cmp;
25pub use std::convert;
26pub use std::default;
27pub use std::fmt;
28pub use std::hash;
29pub use std::iter;
30pub use std::marker;
31pub use std::mem;
32pub use std::num;
33pub use std::ops;
34pub use std::ptr;
35pub use std::rc;
36pub use std::sync;
37pub use std::result;
38pub use std::slice;
39pub use std::str;
40pub use core::time;
41pub use std::vec;
42
43pub mod collections {
44	pub use std::collections::btree_map;
45	pub use std::collections::btree_set;
46	pub use std::collections::vec_deque;
47}
48
49pub mod thread {
50	pub use std::thread::panicking;
51}