diff --git a/CHANGELOG.md b/CHANGELOG.md index fc086544e..fb3bcb5ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ against this Rust version. ### Unreleased +### 1.16.0 (2022-12-05) +- [added] `const INT` field to the `ToInt` trait. +- [added] `const-generics` field with `U` mapping wher `N` is a const generic. + ### 1.15.0 (2021-12-25) - [fixed] Cross-compilation issue due to doing math in build script. (PR #177) - [added] New feature `scale_info` for using inside diff --git a/Cargo.toml b/Cargo.toml index ba6a42ec5..45e55dbd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ implementation is incomplete.""" categories = ["no-std"] edition = "2018" + rust-version = "1.37.0" [dependencies] scale-info = { version = "1.0", default-features = false, optional = true } diff --git a/build/main.rs b/build/main.rs index 903c6e4c8..68a97af82 100644 --- a/build/main.rs +++ b/build/main.rs @@ -92,7 +92,7 @@ fn uints() -> impl Iterator { #[allow(dead_code)] fn main() { println!("cargo:rerun-if-changed=build/main.rs"); // Allow caching the generation if `src/*` files change. - + let out_dir = env::var("OUT_DIR").unwrap(); let dest = Path::new(&out_dir).join("consts.rs"); #[cfg(not(feature = "force_unix_path_separator"))]