db+adapter, add sqlx + schema & add adapter
Adds SQLX for database management, and an Adapter interface for interacting with it. Through the type "AdapterPool" Creates an initial_schema with everything I think I'll need.
This commit is contained in:
parent
a42853ac5a
commit
674079769d
7 changed files with 1514 additions and 14 deletions
|
|
@ -2,7 +2,7 @@
|
|||
description = "Koucha rust flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11-small";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
|
|
@ -24,6 +24,8 @@
|
|||
rustc
|
||||
cargo
|
||||
rust-analyzer
|
||||
|
||||
sqlx-cli
|
||||
];
|
||||
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue