Skip to content

Commit

Permalink
Add extern crate proc_macro; release v0.4.1 (#24)
Browse files Browse the repository at this point in the history
* Add extern crate proc_macro

* Bump versions

* Update changelog

* Correct derive version
  • Loading branch information
ascjones authored Oct 11, 2020
1 parent 3e78f35 commit 09968bb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Version 0.4.1 (2020-10-11)

* Add missing `extern crate proc_macro;` [(#22)](https://github.com/paritytech/scale-info/pull/24)

# Version 0.4.0 (2020-10-05)

* Add public getters for fields in meta type hierarchy [(#22)](https://github.com/paritytech
/scale-info/pull/22)
* Implement SCALE encoding and serde deserialization [(#19)](https://github.com/paritytech/scale
-info/pull/19)
* Add public getters for fields in meta type hierarchy [(#22)](https://github.com/paritytech/scale-info/pull/22)
* Implement SCALE encoding and serde deserialization [(#19)](https://github.com/paritytech/scale-info/pull/19)

# Version 0.3.0 (2020-07-03)

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scale-info"
version = "0.4.0"
version = "0.4.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

Expand All @@ -14,7 +14,7 @@ categories = ["no-std", "encoding"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]

[dependencies]
scale-info-derive = { version = "0.2.0", path = "derive", default-features = false, optional = true }
scale-info-derive = { version = "0.2.1", path = "derive", default-features = false, optional = true }
serde = { version = "1", default-features = false, features = ["derive", "alloc"] }
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scale-info-derive"
version = "0.2.0"
version = "0.2.1"
authors = ["Parity Technologies <[email protected]>", "Centrality Developers <[email protected]>"]
edition = "2018"

Expand Down
1 change: 1 addition & 0 deletions derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;
extern crate proc_macro;

mod impl_wrapper;

Expand Down

0 comments on commit 09968bb

Please sign in to comment.