mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 20:36:10 +01:00
Compare commits
1 Commits
release-pl
...
8fadcaa232
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fadcaa232 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
|||||||
/target
|
/target
|
||||||
**/target
|
**/target
|
||||||
.env
|
.env
|
||||||
.direnv/
|
|
||||||
@@ -6,12 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.10.8](https://github.com/eRgo35/lyra/compare/v0.10.7...v0.10.8) - 2024-12-15
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- nix minor overlay changes
|
|
||||||
|
|
||||||
## [0.10.7](https://github.com/eRgo35/lyra/compare/v0.10.6...v0.10.7) - 2024-08-16
|
## [0.10.7](https://github.com/eRgo35/lyra/compare/v0.10.6...v0.10.7) - 2024-08-16
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
|||||||
1190
Cargo.lock
generated
1190
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lyra"
|
name = "lyra"
|
||||||
version = "0.10.8"
|
version = "0.10.7"
|
||||||
authors = ["Michał Czyż <mike@c2yz.com>"]
|
authors = ["Michał Czyż <mike@c2yz.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "A featureful Discord bot written in Rust."
|
description = "A featureful Discord bot written in Rust."
|
||||||
@@ -23,7 +23,7 @@ regex = "1.10.6"
|
|||||||
reqwest = { version = "0.11.27", features = ["json"] }
|
reqwest = { version = "0.11.27", features = ["json"] }
|
||||||
serde = { version = "1.0.204", features = ["derive"] }
|
serde = { version = "1.0.204", features = ["derive"] }
|
||||||
serde_json = "1.0.122"
|
serde_json = "1.0.122"
|
||||||
songbird = { version = "0.4.6", default-features = true, features = [
|
songbird = { version = "~0.4.3", default-features = true, features = [
|
||||||
"builtin-queue",
|
"builtin-queue",
|
||||||
], git = "https://github.com/eRgo35/songbird" }
|
], git = "https://github.com/eRgo35/songbird" }
|
||||||
serenity = { default-features = true, features = [
|
serenity = { default-features = true, features = [
|
||||||
|
|||||||
46
flake.lock
generated
46
flake.lock
generated
@@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1734119587,
|
|
||||||
"narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
|
|
||||||
"rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
|
|
||||||
"revCount": 721821,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.721821%2Brev-3566ab7246670a43abd2ffa913cc62dad9cdf7d5/0193cb18-1103-723d-8c38-29b3e808b002/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1734230139,
|
|
||||||
"narHash": "sha256-zsp0Mz8VgyIAnU8UhP/YT1g+zlsl+NIJTBMAbY+RifQ=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "150fbc8aa2bc501041810bbc1dbfe73694a861be",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
87
flake.nix
87
flake.nix
@@ -1,87 +0,0 @@
|
|||||||
{
|
|
||||||
description = "A Nix-flake-based Rust development environment";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
|
|
||||||
rust-overlay = {
|
|
||||||
url = "github:oxalica/rust-overlay";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs =
|
|
||||||
{
|
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
rust-overlay,
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
supportedSystems = [
|
|
||||||
"x86_64-linux"
|
|
||||||
"aarch64-linux"
|
|
||||||
"x86_64-darwin"
|
|
||||||
"aarch64-darwin"
|
|
||||||
];
|
|
||||||
forEachSupportedSystem =
|
|
||||||
f:
|
|
||||||
nixpkgs.lib.genAttrs supportedSystems (
|
|
||||||
system:
|
|
||||||
f {
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
overlays = [
|
|
||||||
rust-overlay.overlays.default
|
|
||||||
self.overlays.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
in
|
|
||||||
{
|
|
||||||
overlays.default = final: prev: {
|
|
||||||
rustToolchain =
|
|
||||||
let
|
|
||||||
rust = prev.rust-bin;
|
|
||||||
in
|
|
||||||
if builtins.pathExists ./rust-toolchain.toml then
|
|
||||||
rust.fromRustupToolchainFile ./rust-toolchain.toml
|
|
||||||
else if builtins.pathExists ./rust-toolchain then
|
|
||||||
rust.fromRustupToolchainFile ./rust-toolchain
|
|
||||||
else
|
|
||||||
rust.stable.latest.default.override {
|
|
||||||
extensions = [
|
|
||||||
"rust-src"
|
|
||||||
"rustfmt"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
devShells = forEachSupportedSystem (
|
|
||||||
{ pkgs }:
|
|
||||||
{
|
|
||||||
default = pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
rustToolchain
|
|
||||||
openssl
|
|
||||||
pkg-config
|
|
||||||
cargo-deny
|
|
||||||
cargo-edit
|
|
||||||
cargo-watch
|
|
||||||
rust-analyzer
|
|
||||||
cmake
|
|
||||||
opusTools
|
|
||||||
opusfile
|
|
||||||
rustup
|
|
||||||
cargo-cross
|
|
||||||
gcc
|
|
||||||
];
|
|
||||||
|
|
||||||
env = {
|
|
||||||
# Required by rust-analyzer
|
|
||||||
RUST_SRC_PATH = "${pkgs.rustToolchain}/lib/rustlib/src/rust/library";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user