meta: split protocol codecs and encoders into a beer-protocols crate

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib7706308c892e43d2044fbb766505e9e6a6a6964
This commit is contained in:
raf 2026-06-26 11:44:20 +03:00
commit 1f1451f108
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
30 changed files with 910 additions and 484 deletions

View file

@ -12,11 +12,11 @@
fontconfig,
harfbuzz,
}: let
cargoTOML = (lib.importTOML ../Cargo.toml).package.version;
cargoTOML = lib.importTOML ../Cargo.toml;
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "beer";
version = cargoTOML.package.version;
version = cargoTOML.workspace.package.version;
src = let
fs = lib.fileset;
@ -25,7 +25,7 @@ in
fs.toSource {
root = s;
fileset = fs.unions [
(s + /src)
(s + /crates)
(s + /Cargo.lock)
(s + /Cargo.toml)
(s + /terminfo)