Skip to content

Commit

Permalink
Preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Dec 22, 2023
1 parent 59e69bb commit abfd2a6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
name = "ipl3checksum"
# Version should be synced with src/ipl3checksum/__init__.py, pyproject.toml and src/rs/version.rs
version = "1.1.0"
version = "1.1.1"
edition = "2021"
description = "Library to calculate the IPL3 checksum for N64 ROMs"
repository = "https://github.com/decompollaborate/ipl3checksum"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[project]
name = "ipl3checksum"
# Version should be synced with src/ipl3checksum/__init__.py, Cargo.toml and src/rs/version.rs
version = "1.1.0"
version = "1.1.1.dev0"
description = "Library to calculate the IPL3 checksum for N64 ROMs"
readme = "README.md"
requires-python = ">=3.7"
Expand Down
4 changes: 2 additions & 2 deletions src/ipl3checksum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from __future__ import annotations

# Version should be synced with pyproject.toml, Cargo.toml and src/rs/version.rs
__version_info__: tuple[int, int, int] = (1, 1, 0)
__version__ = ".".join(map(str, __version_info__))
__version_info__: tuple[int, int, int] = (1, 1, 1)
__version__ = ".".join(map(str, __version_info__)) + ".dev0"
__author__ = "Decompollaborate"

from .ipl3checksum import *
Expand Down
6 changes: 3 additions & 3 deletions src/rs/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
// Version should be synced with pyproject.toml, Cargo.toml and src/ipl3checksum/__init__.py
pub static VERSION_MAJOR: i32 = 1;
pub static VERSION_MINOR: i32 = 1;
pub static VERSION_PATCH: i32 = 0;
pub static VERSION_PATCH: i32 = 1;

pub static VERSION_INFO: (i32, i32, i32) = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);

// TODO: figure out a way to construct this string by using VERSION_MAJOR, VERSION_MINOR and VERSION_PATCH (concat! and stringify! didn't work)
pub static VERSION_STR: &str = "1.1.0";
pub static VERSION_STR: &str = "1.1.1";

pub static AUTHOR: &str = "Decompollaborate";

Expand All @@ -24,7 +24,7 @@ mod c_bindings {

// TODO: construct this from super::VERSION_STR
#[no_mangle]
static ipl3checksum_version_str: &[u8] = b"1.1.0\0";
static ipl3checksum_version_str: &[u8] = b"1.1.1\0";

// TODO: construct this from super::AUTHOR
#[no_mangle]
Expand Down

0 comments on commit abfd2a6

Please sign in to comment.