diff --git a/Cargo.lock b/Cargo.lock index a30885b..d14222a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -210,7 +210,7 @@ dependencies = [ [[package]] name = "rs_chardet" -version = "0.1.1" +version = "0.2.0" dependencies = [ "chardetng", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index 8e282c8..663e424 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs_chardet" -version = "0.1.1" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/flake.nix b/flake.nix index 8fae765..5649e9a 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ overlays = [inputs.rust-overlay.overlays.default]; }; project_name = "rs_chardet"; - project_version = "0.1.1"; + project_version = "0.2.0"; python_version = pkgs.python310; buildPythonPackage = pkgs.python310Packages.buildPythonPackage; in rec { @@ -34,7 +34,7 @@ pkgs.rustc pkgs.rust-analyzer pkgs.cargo - pkgs.maturin + pkgs.maturin packages.pythonpkg ]; }; diff --git a/nix/package.nix b/nix/package.nix index ae1fd3e..16aa66d 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -13,12 +13,12 @@ buildPythonPackage rec { inherit src version pname; format = "pyproject"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-phmxYqJ7fWZHJH1BI7XEymqXK+Mchd37scEGTy/mLZk="; + hash = "sha256-NJEvA6K3V8tn7J3JrEDWrqQlJie0GRjLRxztjcezoP0="; }; nativeBuildInputs = with rustPlatform; [cargoSetupHook maturinBuildHook];