Skip to content

Commit

Permalink
Bump to version 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
paholg committed Dec 5, 2022
1 parent 4ce4473 commit da946dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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<N>` 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
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions build/main.rs
Expand Up @@ -63,7 +63,7 @@ pub fn gen_int(i: i64) -> IntCode {

match i.cmp(&0) {
Greater => IntCode::Pos(Box::new(gen_uint(i as u64))),
Less => IntCode::Neg(Box::new(gen_uint(i.abs() as u64))),
Less => IntCode::Neg(Box::new(gen_uint(i.unsigned_abs()))),
Equal => IntCode::Zero,
}
}
Expand Down Expand Up @@ -92,7 +92,7 @@ fn uints() -> impl Iterator<Item = u64> {
#[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"))]
Expand Down

0 comments on commit da946dc

Please sign in to comment.