diff --git a/Cargo.toml b/Cargo.toml index 6e96f98..e34c355 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["ANDYL Open Source "] version = "1.0.2-pre" edition = "2024" license = "MIT" +rust-version = "1.88" [features] default = [] diff --git a/devenv.lock b/devenv.lock index 59ac68e..cc66a53 100644 --- a/devenv.lock +++ b/devenv.lock @@ -3,10 +3,10 @@ "devenv": { "locked": { "dir": "src/modules", - "lastModified": 1751987173, + "lastModified": 1752692978, "owner": "cachix", "repo": "devenv", - "rev": "9b4d2b5a4f650994045d6752de2ec48c1d9437a4", + "rev": "b2281100077d641cbf135e8680e973c0c2270bc4", "type": "github" }, "original": { @@ -94,7 +94,27 @@ "nixpkgs": "nixpkgs", "pre-commit-hooks": [ "git-hooks" + ], + "rust-overlay": "rust-overlay" + } + }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "nixpkgs" ] + }, + "locked": { + "lastModified": 1752633862, + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "8668ca94858206ac3db0860a9dec471de0d995f8", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" } } }, diff --git a/devenv.nix b/devenv.nix index dcfcf87..ad8c125 100644 --- a/devenv.nix +++ b/devenv.nix @@ -13,6 +13,8 @@ ]; languages.rust.enable = true; + languages.rust.channel = "stable"; + languages.rust.version = "1.88.0"; processes = lib.optionalAttrs (!config.devenv.isTesting) { cargo-watch.exec = "cargo-watch"; diff --git a/devenv.yaml b/devenv.yaml new file mode 100644 index 0000000..c08ccc8 --- /dev/null +++ b/devenv.yaml @@ -0,0 +1,6 @@ +inputs: + rust-overlay: + url: github:oxalica/rust-overlay + inputs: + nixpkgs: + follows: nixpkgs diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..c2ee2a8 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.88" +profile = "default"