Skip to content

Commit

Permalink
chore: Bump Rust toolchain to 1.83.0, tweak .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
mxxntype committed Dec 5, 2024
1 parent b60044d commit e212405
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 20 deletions.
14 changes: 8 additions & 6 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
use flake

# Very secure, I know.
USER="admin"
PASS="admin"
USERNAME="admin"
PASSWORD="admin"

# Database.
export POSTGRES_USER="${USER}"
export POSTGRES_PASSWORD="${PASS}"
export POSTGRES_USER="${USERNAME}"
export POSTGRES_PASSWORD="${PASSWORD}"
export POSTGRES_DB="postgres"
export POSTGRES_HOST="postgres-db"
export PGPORT="9002"

# PgAdmin.
export PGADMIN_DEFAULT_EMAIL="${USER}@pgadmin.com"
export PGADMIN_DEFAULT_PASSWORD="${PASS}"
export PGADMIN_DEFAULT_EMAIL="${USERNAME}@pgadmin.com"
export PGADMIN_DEFAULT_PASSWORD="${PASSWORD}"
export PGADMIN_PORT="9003"
export PGADMIN_THEME="dark"

Expand Down
18 changes: 6 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# Compiled files and executables generated by Cargo
# Rust stuff.
debug/
target/

# Library crates are supposed to ignore `Cargo.lock`.


# Backup files generated by rustfmt
dist/
tarpaulin-report.html
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# Nix
/result

.DS_Store
# Nix stuff.
result
.direnv/
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.81.0"
channel = "1.83.0"
3 changes: 2 additions & 1 deletion shells/default/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [ pkg-config ];

buildInputs = with pkgs; [
dpkg
protobuf # Protocol Buffers, Google's data interchange format.
grpcurl # Command-line tool for interacting with gRPC servers.
bloomrpc # GUI Client for gRPC Services (like Postman).
postgresql.lib
postgresql
openssl.dev
openssl.out
stdenv.cc.cc.lib
Expand Down

0 comments on commit e212405

Please sign in to comment.