Skip to content

Commit

Permalink
remove scale_info and re-export PortableRegistry (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Nov 14, 2024
1 parent 1819ed4 commit 39a39fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rust-version = "1.81.0"
default = ["std", "serde", "from-string", "parser-ss58"]

# Only work in "std" environments:
std = ["scale-bits/std", "scale-info/std", "either/use_std", "serde?/std", "serde_json/std"]
std = ["scale-bits/std", "either/use_std", "serde?/std", "serde_json/std"]

# Enable support for parsing strings into Values.
from-string = ["dep:yap"]
Expand All @@ -32,7 +32,6 @@ parser-ss58 = ["dep:base58", "dep:blake2", "from-string"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full"] }
serde = { version = "1.0.124", default-features = false, features = ["derive"], optional = true }
scale-info = { version = "2.11.5", default-features = false }
scale-decode = { version = "0.15.0", default-features = false }
scale-encode = { version = "0.9.0", default-features = false, features = ["bits"] }
scale-bits = { version = "0.6.0", default-features = false, features = ["serde", "scale-info"] }
Expand All @@ -47,4 +46,4 @@ scale-type-resolver = "0.2.0"
hex = "0.4.3"
serde_json = { version = "1.0.64", default-features = false, features = ["alloc"] }
scale-decode = { version = "0.15.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.5", default-features = false, features = ["derive"] }
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ pub mod scale {

pub use crate::scale_impls::{DecodeError, ValueVisitor};
pub use scale_encode::Error as EncodeError;
pub use scale_info::PortableRegistry;
pub use scale_type_resolver::TypeResolver;

/// Attempt to decode some SCALE encoded bytes into a value, by providing a pointer
Expand Down

0 comments on commit 39a39fc

Please sign in to comment.