Skip to content

Commit

Permalink
Remove ink-unstable feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed May 26, 2021
1 parent 0ea73c8 commit c0d8931
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion crates/lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ std = [
"ink_lang_macro/std",
"scale/std",
]
ink-unstable = []
4 changes: 1 addition & 3 deletions crates/lang/src/env_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
// limitations under the License.

use core::marker::PhantomData;
#[cfg(feature = "ink-unstable")]
use ink_env::RentParams;
use ink_env::{
call::{
utils::ReturnType,
Expand All @@ -26,6 +24,7 @@ use ink_env::{
HashOutput,
},
Environment,
RentParams,
Result,
};
use ink_primitives::Key;
Expand Down Expand Up @@ -187,7 +186,6 @@ where
/// # Note
///
/// For more details visit: [`ink_env::RentParams`]
#[cfg(feature = "ink-unstable")]
pub fn rent_params(self) -> RentParams<T> {
ink_env::rent_params::<T>().expect("couldn't decode contract rent params")
}
Expand Down
1 change: 0 additions & 1 deletion examples/flipper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ std = [
"scale-info/std",
]
ink-as-dependency = []
ink-unstable = ["ink_lang/ink-unstable"]

0 comments on commit c0d8931

Please sign in to comment.