porn-vault: init at 0.30.0-rc.11 (#355785)

Changed files
+2790
maintainers
nixos
modules
services
web-apps
pkgs
+7
maintainers/maintainer-list.nix
···
githubId = 30698906;
name = "Luna D Dragon";
+
luNeder = {
+
email = "luana@luana.dev.br";
+
matrix = "@luana:catgirl.cloud";
+
github = "LuNeder";
+
githubId = 19750714;
+
name = "Luana Neder";
+
};
lunik1 = {
email = "ch.nixpkgs@themaw.xyz";
matrix = "@lunik1:lunik.one";
+1
nixos/modules/module-list.nix
···
./services/web-apps/pingvin-share.nix
./services/web-apps/plantuml-server.nix
./services/web-apps/plausible.nix
+
./services/web-apps/porn-vault/default.nix
./services/web-apps/powerdns-admin.nix
./services/web-apps/pretalx.nix
./services/web-apps/pretix.nix
+158
nixos/modules/services/web-apps/porn-vault/default-config.nix
···
+
# See https://gitlab.com/porn-vault/porn-vault/-/blob/dev/config.example.json
+
{
+
auth = {
+
password = null;
+
};
+
binaries = {
+
ffmpeg = "ffmpeg";
+
ffprobe = "ffprobe";
+
izzyPort = 8000;
+
imagemagick = {
+
convertPath = "convert";
+
montagePath = "montage";
+
identifyPath = "identify";
+
};
+
};
+
import = {
+
images = [
+
{
+
path = "/media/porn-vault/images";
+
include = [ ];
+
exclude = [ ];
+
extensions = [
+
".jpg"
+
".jpeg"
+
".png"
+
".gif"
+
];
+
enable = true;
+
}
+
];
+
videos = [
+
{
+
path = "/media/porn-vault/videos";
+
include = [ ];
+
exclude = [ ];
+
extensions = [
+
".mp4"
+
".mov"
+
".webm"
+
];
+
enable = true;
+
}
+
];
+
scanInterval = 10800000;
+
};
+
log = {
+
level = "debug";
+
maxSize = "20m";
+
maxFiles = "5";
+
writeFile = [
+
{
+
level = "debug";
+
prefix = "errors-";
+
silent = false;
+
}
+
];
+
};
+
matching = {
+
applyActorLabels = [
+
"event:actor:create"
+
"event:actor:find-unmatched-scenes"
+
"plugin:actor:create"
+
"event:scene:create"
+
"plugin:scene:create"
+
"event:image:create"
+
"plugin:marker:create"
+
"event:marker:create"
+
];
+
applySceneLabels = true;
+
applyStudioLabels = [
+
"event:studio:create"
+
"event:studio:find-unmatched-scenes"
+
"plugin:studio:create"
+
"event:scene:create"
+
"plugin:scene:create"
+
];
+
extractSceneActorsFromFilepath = true;
+
extractSceneLabelsFromFilepath = true;
+
extractSceneMoviesFromFilepath = true;
+
extractSceneStudiosFromFilepath = true;
+
matcher = {
+
type = "word";
+
options = {
+
ignoreSingleNames = false;
+
ignoreDiacritics = true;
+
enableWordGroups = true;
+
wordSeparatorFallback = true;
+
camelCaseWordGroups = true;
+
overlappingMatchPreference = "longest";
+
groupSeparators = [
+
"[\\s',()[\\]{}*\\.]"
+
];
+
wordSeparators = [
+
"[-_]"
+
];
+
filepathSeparators = [
+
"[/\\\\&]"
+
];
+
};
+
};
+
matchCreatedActors = true;
+
matchCreatedStudios = true;
+
matchCreatedLabels = true;
+
};
+
persistence = {
+
backup = {
+
enable = true;
+
maxAmount = 10;
+
};
+
libraryPath = "/media/porn-vault/lib";
+
};
+
plugins = {
+
allowActorThumbnailOverwrite = false;
+
allowMovieThumbnailOverwrite = false;
+
allowSceneThumbnailOverwrite = false;
+
allowStudioThumbnailOverwrite = false;
+
createMissingActors = false;
+
createMissingLabels = false;
+
createMissingMovies = false;
+
createMissingStudios = false;
+
events = {
+
actorCreated = [ ];
+
actorCustom = [ ];
+
sceneCreated = [ ];
+
sceneCustom = [ ];
+
movieCustom = [ ];
+
studioCreated = [ ];
+
studioCustom = [ ];
+
};
+
register = { };
+
markerDeduplicationThreshold = 5;
+
};
+
processing = {
+
generatePreviews = true;
+
readImagesOnImport = false;
+
generateImageThumbnails = true;
+
};
+
server = {
+
https = {
+
certificate = "";
+
enable = false;
+
key = "";
+
};
+
};
+
transcode = {
+
hwaDriver = null;
+
vaapiDevice = "/dev/dri/renderD128";
+
h264 = {
+
preset = "veryfast";
+
crf = 23;
+
};
+
webm = {
+
deadline = "realtime";
+
cpuUsed = 3;
+
crf = 31;
+
};
+
};
+
}
+110
nixos/modules/services/web-apps/porn-vault/default.nix
···
+
{
+
config,
+
pkgs,
+
lib,
+
...
+
}:
+
+
let
+
cfg = config.services.porn-vault;
+
configFormat = pkgs.formats.json { };
+
defaultConfig = import ./default-config.nix;
+
inherit (lib)
+
mkIf
+
mkEnableOption
+
mkPackageOption
+
mkOption
+
getExe
+
literalExpression
+
types
+
;
+
in
+
{
+
options = {
+
services.porn-vault = {
+
enable = lib.mkEnableOption "Porn-Vault";
+
+
package = lib.mkPackageOption pkgs "porn-vault" { };
+
+
autoStart = lib.mkOption {
+
type = lib.types.bool;
+
default = true;
+
description = ''
+
Whether to start porn-vault automatically.
+
'';
+
};
+
+
port = lib.mkOption {
+
type = lib.types.port;
+
default = 3000;
+
description = ''
+
Which port Porn-Vault will use.
+
'';
+
};
+
+
openFirewall = lib.mkOption {
+
type = lib.types.bool;
+
default = false;
+
description = ''
+
Whether to open the Porn-Vault port in the firewall.
+
'';
+
};
+
+
settings = mkOption {
+
type = configFormat.type;
+
description = ''
+
Configuration for Porn-Vault. The attributes are serialized to JSON in config.json.
+
+
See https://gitlab.com/porn-vault/porn-vault/-/blob/dev/config.example.json
+
'';
+
default = defaultConfig;
+
apply = lib.recursiveUpdate defaultConfig;
+
};
+
};
+
};
+
+
config = lib.mkIf cfg.enable {
+
environment.systemPackages = [ cfg.package ];
+
+
systemd.services.porn-vault = {
+
description = "Porn-Vault server";
+
environment = {
+
PV_CONFIG_FOLDER = "/etc/porn-vault";
+
NODE_ENV = "production";
+
DATABASE_NAME = "production";
+
PORT = toString cfg.port;
+
};
+
serviceConfig = {
+
ExecStart = getExe cfg.package;
+
CacheDirectory = "porn-vault";
+
# Hardening options
+
CapabilityBoundingSet = [ "CAP_SYS_NICE" ];
+
AmbientCapabilities = [ "CAP_SYS_NICE" ];
+
LockPersonality = true;
+
NoNewPrivileges = true;
+
PrivateTmp = true;
+
ProtectControlGroups = true;
+
ProtectKernelLogs = true;
+
ProtectKernelModules = true;
+
ProtectKernelTunables = true;
+
ProtectSystem = true;
+
RestrictNamespaces = true;
+
RestrictSUIDSGID = true;
+
Restart = "on-failure";
+
RestartSec = 5;
+
};
+
wantedBy = mkIf cfg.autoStart [ "multi-user.target" ];
+
wants = [ "network.target" ];
+
};
+
+
environment.etc = {
+
"porn-vault/config.json".source = configFormat.generate "config.json" cfg.settings;
+
};
+
+
networking.firewall = lib.mkIf cfg.openFirewall {
+
allowedTCPPorts = [ cfg.port ];
+
};
+
};
+
+
meta.maintainers = [ lib.maintainers.luNeder ];
+
}
+2291
pkgs/by-name/po/porn-vault/Cargo.lock
···
+
# This file is automatically @generated by Cargo.
+
# It is not intended for manual editing.
+
version = 3
+
+
[[package]]
+
name = "addr2line"
+
version = "0.24.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
+
dependencies = [
+
"gimli",
+
]
+
+
[[package]]
+
name = "adler"
+
version = "1.0.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
+
[[package]]
+
name = "adler2"
+
version = "2.0.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
+
+
[[package]]
+
name = "aho-corasick"
+
version = "1.1.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+
dependencies = [
+
"memchr",
+
]
+
+
[[package]]
+
name = "allocator-api2"
+
version = "0.2.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9"
+
+
[[package]]
+
name = "arc-swap"
+
version = "1.7.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
+
+
[[package]]
+
name = "async-stream"
+
version = "0.3.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476"
+
dependencies = [
+
"async-stream-impl",
+
"futures-core",
+
"pin-project-lite",
+
]
+
+
[[package]]
+
name = "async-stream-impl"
+
version = "0.3.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "async-trait"
+
version = "0.1.83"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "atomic"
+
version = "0.5.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba"
+
+
[[package]]
+
name = "atomic"
+
version = "0.6.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8d818003e740b63afc82337e3160717f4f63078720a810b7b903e70a5d1d2994"
+
dependencies = [
+
"bytemuck",
+
]
+
+
[[package]]
+
name = "autocfg"
+
version = "1.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
+
+
[[package]]
+
name = "backtrace"
+
version = "0.3.74"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
+
dependencies = [
+
"addr2line",
+
"cfg-if",
+
"libc",
+
"miniz_oxide 0.8.0",
+
"object",
+
"rustc-demangle",
+
"windows-targets 0.52.6",
+
]
+
+
[[package]]
+
name = "base64"
+
version = "0.22.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+
+
[[package]]
+
name = "binascii"
+
version = "0.1.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "383d29d513d8764dcdc42ea295d979eb99c3c9f00607b3692cf68a431f7dca72"
+
+
[[package]]
+
name = "bitflags"
+
version = "2.6.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+
+
[[package]]
+
name = "bitpacking"
+
version = "0.9.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4c1d3e2bfd8d06048a179f7b17afc3188effa10385e7b00dc65af6aae732ea92"
+
dependencies = [
+
"crunchy",
+
]
+
+
[[package]]
+
name = "bumpalo"
+
version = "3.16.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+
+
[[package]]
+
name = "bytemuck"
+
version = "1.19.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d"
+
+
[[package]]
+
name = "byteorder"
+
version = "1.5.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+
[[package]]
+
name = "bytes"
+
version = "1.8.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da"
+
+
[[package]]
+
name = "cc"
+
version = "1.2.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
+
dependencies = [
+
"jobserver",
+
"libc",
+
"shlex",
+
]
+
+
[[package]]
+
name = "census"
+
version = "0.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4f4c707c6a209cbe82d10abd08e1ea8995e9ea937d2550646e02798948992be0"
+
+
[[package]]
+
name = "cfg-if"
+
version = "1.0.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+
[[package]]
+
name = "colored"
+
version = "2.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
+
dependencies = [
+
"lazy_static",
+
"windows-sys 0.48.0",
+
]
+
+
[[package]]
+
name = "cookie"
+
version = "0.18.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
+
dependencies = [
+
"percent-encoding",
+
"time",
+
"version_check",
+
]
+
+
[[package]]
+
name = "crc32fast"
+
version = "1.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+
dependencies = [
+
"cfg-if",
+
]
+
+
[[package]]
+
name = "crossbeam-channel"
+
version = "0.5.13"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
+
dependencies = [
+
"crossbeam-utils",
+
]
+
+
[[package]]
+
name = "crossbeam-deque"
+
version = "0.8.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+
dependencies = [
+
"crossbeam-epoch",
+
"crossbeam-utils",
+
]
+
+
[[package]]
+
name = "crossbeam-epoch"
+
version = "0.9.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+
dependencies = [
+
"crossbeam-utils",
+
]
+
+
[[package]]
+
name = "crossbeam-utils"
+
version = "0.8.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
+
+
[[package]]
+
name = "crunchy"
+
version = "0.2.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+
+
[[package]]
+
name = "deranged"
+
version = "0.3.11"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+
dependencies = [
+
"powerfmt",
+
"serde",
+
]
+
+
[[package]]
+
name = "devise"
+
version = "0.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f1d90b0c4c777a2cad215e3c7be59ac7c15adf45cf76317009b7d096d46f651d"
+
dependencies = [
+
"devise_codegen",
+
"devise_core",
+
]
+
+
[[package]]
+
name = "devise_codegen"
+
version = "0.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "71b28680d8be17a570a2334922518be6adc3f58ecc880cbb404eaeb8624fd867"
+
dependencies = [
+
"devise_core",
+
"quote",
+
]
+
+
[[package]]
+
name = "devise_core"
+
version = "0.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b035a542cf7abf01f2e3c4d5a7acbaebfefe120ae4efc7bde3df98186e4b8af7"
+
dependencies = [
+
"bitflags",
+
"proc-macro2",
+
"proc-macro2-diagnostics",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "downcast-rs"
+
version = "1.2.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"
+
+
[[package]]
+
name = "either"
+
version = "1.13.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+
+
[[package]]
+
name = "encoding_rs"
+
version = "0.8.35"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
+
dependencies = [
+
"cfg-if",
+
]
+
+
[[package]]
+
name = "equivalent"
+
version = "1.0.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+
+
[[package]]
+
name = "errno"
+
version = "0.3.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
+
dependencies = [
+
"libc",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "fastdivide"
+
version = "0.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9afc2bd4d5a73106dd53d10d73d3401c2f32730ba2c0b93ddb888a8983680471"
+
+
[[package]]
+
name = "fastrand"
+
version = "2.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
+
+
[[package]]
+
name = "figment"
+
version = "0.10.19"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8cb01cd46b0cf372153850f4c6c272d9cbea2da513e07538405148f95bd789f3"
+
dependencies = [
+
"atomic 0.6.0",
+
"pear",
+
"serde",
+
"toml",
+
"uncased",
+
"version_check",
+
]
+
+
[[package]]
+
name = "fnv"
+
version = "1.0.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+
[[package]]
+
name = "foldhash"
+
version = "0.1.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2"
+
+
[[package]]
+
name = "fs4"
+
version = "0.8.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f7e180ac76c23b45e767bd7ae9579bc0bb458618c4bc71835926e098e61d15f8"
+
dependencies = [
+
"rustix",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "futures"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
+
dependencies = [
+
"futures-channel",
+
"futures-core",
+
"futures-io",
+
"futures-sink",
+
"futures-task",
+
"futures-util",
+
]
+
+
[[package]]
+
name = "futures-channel"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
+
dependencies = [
+
"futures-core",
+
"futures-sink",
+
]
+
+
[[package]]
+
name = "futures-core"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
+
+
[[package]]
+
name = "futures-io"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
+
+
[[package]]
+
name = "futures-sink"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
+
+
[[package]]
+
name = "futures-task"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
+
+
[[package]]
+
name = "futures-util"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
+
dependencies = [
+
"futures-channel",
+
"futures-core",
+
"futures-io",
+
"futures-sink",
+
"futures-task",
+
"memchr",
+
"pin-project-lite",
+
"pin-utils",
+
"slab",
+
]
+
+
[[package]]
+
name = "generator"
+
version = "0.7.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5cc16584ff22b460a382b7feec54b23d2908d858152e5739a120b949293bd74e"
+
dependencies = [
+
"cc",
+
"libc",
+
"log",
+
"rustversion",
+
"windows",
+
]
+
+
[[package]]
+
name = "getrandom"
+
version = "0.2.15"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+
dependencies = [
+
"cfg-if",
+
"libc",
+
"wasi",
+
]
+
+
[[package]]
+
name = "gimli"
+
version = "0.31.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
+
+
[[package]]
+
name = "glob"
+
version = "0.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+
+
[[package]]
+
name = "h2"
+
version = "0.3.26"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
+
dependencies = [
+
"bytes",
+
"fnv",
+
"futures-core",
+
"futures-sink",
+
"futures-util",
+
"http 0.2.12",
+
"indexmap",
+
"slab",
+
"tokio",
+
"tokio-util",
+
"tracing",
+
]
+
+
[[package]]
+
name = "hashbrown"
+
version = "0.15.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
+
dependencies = [
+
"allocator-api2",
+
"equivalent",
+
"foldhash",
+
]
+
+
[[package]]
+
name = "hermit-abi"
+
version = "0.3.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+
+
[[package]]
+
name = "hermit-abi"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
+
+
[[package]]
+
name = "htmlescape"
+
version = "0.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163"
+
+
[[package]]
+
name = "http"
+
version = "0.2.12"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
+
dependencies = [
+
"bytes",
+
"fnv",
+
"itoa",
+
]
+
+
[[package]]
+
name = "http"
+
version = "1.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
+
dependencies = [
+
"bytes",
+
"fnv",
+
"itoa",
+
]
+
+
[[package]]
+
name = "http-body"
+
version = "0.4.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
+
dependencies = [
+
"bytes",
+
"http 0.2.12",
+
"pin-project-lite",
+
]
+
+
[[package]]
+
name = "httparse"
+
version = "1.9.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
+
+
[[package]]
+
name = "httpdate"
+
version = "1.0.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
+
+
[[package]]
+
name = "hyper"
+
version = "0.14.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85"
+
dependencies = [
+
"bytes",
+
"futures-channel",
+
"futures-core",
+
"futures-util",
+
"h2",
+
"http 0.2.12",
+
"http-body",
+
"httparse",
+
"httpdate",
+
"itoa",
+
"pin-project-lite",
+
"socket2",
+
"tokio",
+
"tower-service",
+
"tracing",
+
"want",
+
]
+
+
[[package]]
+
name = "indexmap"
+
version = "2.6.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
+
dependencies = [
+
"equivalent",
+
"hashbrown",
+
"serde",
+
]
+
+
[[package]]
+
name = "inlinable_string"
+
version = "0.1.15"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb"
+
+
[[package]]
+
name = "instant"
+
version = "0.1.13"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
+
dependencies = [
+
"cfg-if",
+
"js-sys",
+
"wasm-bindgen",
+
"web-sys",
+
]
+
+
[[package]]
+
name = "is-terminal"
+
version = "0.4.13"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
+
dependencies = [
+
"hermit-abi 0.4.0",
+
"libc",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "itertools"
+
version = "0.12.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
+
dependencies = [
+
"either",
+
]
+
+
[[package]]
+
name = "itoa"
+
version = "1.0.11"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
+
+
[[package]]
+
name = "izzy"
+
version = "2.0.1"
+
dependencies = [
+
"log",
+
"miniz_oxide 0.7.4",
+
"rmp-serde",
+
"rocket",
+
"serde",
+
"serde_json",
+
"simple_logger",
+
"tantivy",
+
"tempfile",
+
]
+
+
[[package]]
+
name = "jobserver"
+
version = "0.1.32"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
+
dependencies = [
+
"libc",
+
]
+
+
[[package]]
+
name = "js-sys"
+
version = "0.3.72"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
+
dependencies = [
+
"wasm-bindgen",
+
]
+
+
[[package]]
+
name = "lazy_static"
+
version = "1.5.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
+
+
[[package]]
+
name = "levenshtein_automata"
+
version = "0.2.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0c2cdeb66e45e9f36bfad5bbdb4d2384e70936afbee843c6f6543f0c551ebb25"
+
+
[[package]]
+
name = "libc"
+
version = "0.2.162"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
+
+
[[package]]
+
name = "libm"
+
version = "0.2.11"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
+
+
[[package]]
+
name = "linux-raw-sys"
+
version = "0.4.14"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+
+
[[package]]
+
name = "lock_api"
+
version = "0.4.12"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+
dependencies = [
+
"autocfg",
+
"scopeguard",
+
]
+
+
[[package]]
+
name = "log"
+
version = "0.4.22"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+
+
[[package]]
+
name = "loom"
+
version = "0.5.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"
+
dependencies = [
+
"cfg-if",
+
"generator",
+
"scoped-tls",
+
"serde",
+
"serde_json",
+
"tracing",
+
"tracing-subscriber",
+
]
+
+
[[package]]
+
name = "lru"
+
version = "0.12.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
+
dependencies = [
+
"hashbrown",
+
]
+
+
[[package]]
+
name = "lz4_flex"
+
version = "0.11.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5"
+
+
[[package]]
+
name = "matchers"
+
version = "0.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
+
dependencies = [
+
"regex-automata 0.1.10",
+
]
+
+
[[package]]
+
name = "measure_time"
+
version = "0.8.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "dbefd235b0aadd181626f281e1d684e116972988c14c264e42069d5e8a5775cc"
+
dependencies = [
+
"instant",
+
"log",
+
]
+
+
[[package]]
+
name = "memchr"
+
version = "2.7.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+
+
[[package]]
+
name = "memmap2"
+
version = "0.9.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
+
dependencies = [
+
"libc",
+
]
+
+
[[package]]
+
name = "mime"
+
version = "0.3.17"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+
[[package]]
+
name = "minimal-lexical"
+
version = "0.2.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+
+
[[package]]
+
name = "miniz_oxide"
+
version = "0.7.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
+
dependencies = [
+
"adler",
+
]
+
+
[[package]]
+
name = "miniz_oxide"
+
version = "0.8.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+
dependencies = [
+
"adler2",
+
]
+
+
[[package]]
+
name = "mio"
+
version = "1.0.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
+
dependencies = [
+
"hermit-abi 0.3.9",
+
"libc",
+
"wasi",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "multer"
+
version = "3.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "83e87776546dc87511aa5ee218730c92b666d7264ab6ed41f9d215af9cd5224b"
+
dependencies = [
+
"bytes",
+
"encoding_rs",
+
"futures-util",
+
"http 1.1.0",
+
"httparse",
+
"memchr",
+
"mime",
+
"spin",
+
"tokio",
+
"tokio-util",
+
"version_check",
+
]
+
+
[[package]]
+
name = "murmurhash32"
+
version = "0.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2195bf6aa996a481483b29d62a7663eed3fe39600c460e323f8ff41e90bdd89b"
+
+
[[package]]
+
name = "nom"
+
version = "7.1.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
+
dependencies = [
+
"memchr",
+
"minimal-lexical",
+
]
+
+
[[package]]
+
name = "nu-ansi-term"
+
version = "0.46.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
+
dependencies = [
+
"overload",
+
"winapi",
+
]
+
+
[[package]]
+
name = "num-conv"
+
version = "0.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+
+
[[package]]
+
name = "num-traits"
+
version = "0.2.19"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+
dependencies = [
+
"autocfg",
+
"libm",
+
]
+
+
[[package]]
+
name = "num_cpus"
+
version = "1.16.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+
dependencies = [
+
"hermit-abi 0.3.9",
+
"libc",
+
]
+
+
[[package]]
+
name = "num_threads"
+
version = "0.1.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9"
+
dependencies = [
+
"libc",
+
]
+
+
[[package]]
+
name = "object"
+
version = "0.36.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+
dependencies = [
+
"memchr",
+
]
+
+
[[package]]
+
name = "once_cell"
+
version = "1.20.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
+
+
[[package]]
+
name = "oneshot"
+
version = "0.1.8"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e296cf87e61c9cfc1a61c3c63a0f7f286ed4554e0e22be84e8a38e1d264a2a29"
+
+
[[package]]
+
name = "overload"
+
version = "0.1.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
+
+
[[package]]
+
name = "ownedbytes"
+
version = "0.7.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c3a059efb063b8f425b948e042e6b9bd85edfe60e913630ed727b23e2dfcc558"
+
dependencies = [
+
"stable_deref_trait",
+
]
+
+
[[package]]
+
name = "parking_lot"
+
version = "0.12.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
+
dependencies = [
+
"lock_api",
+
"parking_lot_core",
+
]
+
+
[[package]]
+
name = "parking_lot_core"
+
version = "0.9.10"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+
dependencies = [
+
"cfg-if",
+
"libc",
+
"redox_syscall",
+
"smallvec",
+
"windows-targets 0.52.6",
+
]
+
+
[[package]]
+
name = "paste"
+
version = "1.0.15"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
+
+
[[package]]
+
name = "pear"
+
version = "0.2.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bdeeaa00ce488657faba8ebf44ab9361f9365a97bd39ffb8a60663f57ff4b467"
+
dependencies = [
+
"inlinable_string",
+
"pear_codegen",
+
"yansi",
+
]
+
+
[[package]]
+
name = "pear_codegen"
+
version = "0.2.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4bab5b985dc082b345f812b7df84e1bef27e7207b39e448439ba8bd69c93f147"
+
dependencies = [
+
"proc-macro2",
+
"proc-macro2-diagnostics",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "percent-encoding"
+
version = "2.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+
+
[[package]]
+
name = "pin-project-lite"
+
version = "0.2.15"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
+
+
[[package]]
+
name = "pin-utils"
+
version = "0.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+
[[package]]
+
name = "pkg-config"
+
version = "0.3.31"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
+
+
[[package]]
+
name = "powerfmt"
+
version = "0.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+
+
[[package]]
+
name = "ppv-lite86"
+
version = "0.2.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+
dependencies = [
+
"zerocopy",
+
]
+
+
[[package]]
+
name = "proc-macro2"
+
version = "1.0.89"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
+
dependencies = [
+
"unicode-ident",
+
]
+
+
[[package]]
+
name = "proc-macro2-diagnostics"
+
version = "0.10.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
"version_check",
+
"yansi",
+
]
+
+
[[package]]
+
name = "quote"
+
version = "1.0.37"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+
dependencies = [
+
"proc-macro2",
+
]
+
+
[[package]]
+
name = "rand"
+
version = "0.8.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+
dependencies = [
+
"libc",
+
"rand_chacha",
+
"rand_core",
+
]
+
+
[[package]]
+
name = "rand_chacha"
+
version = "0.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+
dependencies = [
+
"ppv-lite86",
+
"rand_core",
+
]
+
+
[[package]]
+
name = "rand_core"
+
version = "0.6.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+
dependencies = [
+
"getrandom",
+
]
+
+
[[package]]
+
name = "rand_distr"
+
version = "0.4.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
+
dependencies = [
+
"num-traits",
+
"rand",
+
]
+
+
[[package]]
+
name = "rayon"
+
version = "1.10.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
+
dependencies = [
+
"either",
+
"rayon-core",
+
]
+
+
[[package]]
+
name = "rayon-core"
+
version = "1.12.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
+
dependencies = [
+
"crossbeam-deque",
+
"crossbeam-utils",
+
]
+
+
[[package]]
+
name = "redox_syscall"
+
version = "0.5.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
+
dependencies = [
+
"bitflags",
+
]
+
+
[[package]]
+
name = "ref-cast"
+
version = "1.0.23"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931"
+
dependencies = [
+
"ref-cast-impl",
+
]
+
+
[[package]]
+
name = "ref-cast-impl"
+
version = "1.0.23"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "regex"
+
version = "1.11.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
+
dependencies = [
+
"aho-corasick",
+
"memchr",
+
"regex-automata 0.4.9",
+
"regex-syntax 0.8.5",
+
]
+
+
[[package]]
+
name = "regex-automata"
+
version = "0.1.10"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+
dependencies = [
+
"regex-syntax 0.6.29",
+
]
+
+
[[package]]
+
name = "regex-automata"
+
version = "0.4.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+
dependencies = [
+
"aho-corasick",
+
"memchr",
+
"regex-syntax 0.8.5",
+
]
+
+
[[package]]
+
name = "regex-syntax"
+
version = "0.6.29"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
+
+
[[package]]
+
name = "regex-syntax"
+
version = "0.8.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
+
+
[[package]]
+
name = "rmp"
+
version = "0.8.14"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4"
+
dependencies = [
+
"byteorder",
+
"num-traits",
+
"paste",
+
]
+
+
[[package]]
+
name = "rmp-serde"
+
version = "1.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db"
+
dependencies = [
+
"byteorder",
+
"rmp",
+
"serde",
+
]
+
+
[[package]]
+
name = "rocket"
+
version = "0.5.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a516907296a31df7dc04310e7043b61d71954d703b603cc6867a026d7e72d73f"
+
dependencies = [
+
"async-stream",
+
"async-trait",
+
"atomic 0.5.3",
+
"binascii",
+
"bytes",
+
"either",
+
"figment",
+
"futures",
+
"indexmap",
+
"log",
+
"memchr",
+
"multer",
+
"num_cpus",
+
"parking_lot",
+
"pin-project-lite",
+
"rand",
+
"ref-cast",
+
"rocket_codegen",
+
"rocket_http",
+
"serde",
+
"serde_json",
+
"state",
+
"tempfile",
+
"time",
+
"tokio",
+
"tokio-stream",
+
"tokio-util",
+
"ubyte",
+
"version_check",
+
"yansi",
+
]
+
+
[[package]]
+
name = "rocket_codegen"
+
version = "0.5.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "575d32d7ec1a9770108c879fc7c47815a80073f96ca07ff9525a94fcede1dd46"
+
dependencies = [
+
"devise",
+
"glob",
+
"indexmap",
+
"proc-macro2",
+
"quote",
+
"rocket_http",
+
"syn",
+
"unicode-xid",
+
"version_check",
+
]
+
+
[[package]]
+
name = "rocket_http"
+
version = "0.5.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e274915a20ee3065f611c044bd63c40757396b6dbc057d6046aec27f14f882b9"
+
dependencies = [
+
"cookie",
+
"either",
+
"futures",
+
"http 0.2.12",
+
"hyper",
+
"indexmap",
+
"log",
+
"memchr",
+
"pear",
+
"percent-encoding",
+
"pin-project-lite",
+
"ref-cast",
+
"serde",
+
"smallvec",
+
"stable-pattern",
+
"state",
+
"time",
+
"tokio",
+
"uncased",
+
]
+
+
[[package]]
+
name = "rust-stemmers"
+
version = "1.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54"
+
dependencies = [
+
"serde",
+
"serde_derive",
+
]
+
+
[[package]]
+
name = "rustc-demangle"
+
version = "0.1.24"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
+
+
[[package]]
+
name = "rustc-hash"
+
version = "1.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
+
+
[[package]]
+
name = "rustix"
+
version = "0.38.40"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0"
+
dependencies = [
+
"bitflags",
+
"errno",
+
"libc",
+
"linux-raw-sys",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "rustversion"
+
version = "1.0.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+
+
[[package]]
+
name = "ryu"
+
version = "1.0.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+
+
[[package]]
+
name = "scoped-tls"
+
version = "1.0.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
+
+
[[package]]
+
name = "scopeguard"
+
version = "1.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+
+
[[package]]
+
name = "serde"
+
version = "1.0.215"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
+
dependencies = [
+
"serde_derive",
+
]
+
+
[[package]]
+
name = "serde_derive"
+
version = "1.0.215"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "serde_json"
+
version = "1.0.132"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
+
dependencies = [
+
"itoa",
+
"memchr",
+
"ryu",
+
"serde",
+
]
+
+
[[package]]
+
name = "serde_spanned"
+
version = "0.6.8"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
+
dependencies = [
+
"serde",
+
]
+
+
[[package]]
+
name = "sharded-slab"
+
version = "0.1.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
+
dependencies = [
+
"lazy_static",
+
]
+
+
[[package]]
+
name = "shlex"
+
version = "1.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
+
[[package]]
+
name = "signal-hook-registry"
+
version = "1.4.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
+
dependencies = [
+
"libc",
+
]
+
+
[[package]]
+
name = "simple_logger"
+
version = "5.0.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e8c5dfa5e08767553704aa0ffd9d9794d527103c736aba9854773851fd7497eb"
+
dependencies = [
+
"colored",
+
"log",
+
"time",
+
"windows-sys 0.48.0",
+
]
+
+
[[package]]
+
name = "sketches-ddsketch"
+
version = "0.2.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "85636c14b73d81f541e525f585c0a2109e6744e1565b5c1668e31c70c10ed65c"
+
dependencies = [
+
"serde",
+
]
+
+
[[package]]
+
name = "slab"
+
version = "0.4.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
+
dependencies = [
+
"autocfg",
+
]
+
+
[[package]]
+
name = "smallvec"
+
version = "1.13.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+
+
[[package]]
+
name = "socket2"
+
version = "0.5.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
+
dependencies = [
+
"libc",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "spin"
+
version = "0.9.8"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
+
+
[[package]]
+
name = "stable-pattern"
+
version = "0.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4564168c00635f88eaed410d5efa8131afa8d8699a612c80c455a0ba05c21045"
+
dependencies = [
+
"memchr",
+
]
+
+
[[package]]
+
name = "stable_deref_trait"
+
version = "1.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+
+
[[package]]
+
name = "state"
+
version = "0.6.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2b8c4a4445d81357df8b1a650d0d0d6fbbbfe99d064aa5e02f3e4022061476d8"
+
dependencies = [
+
"loom",
+
]
+
+
[[package]]
+
name = "syn"
+
version = "2.0.87"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"unicode-ident",
+
]
+
+
[[package]]
+
name = "tantivy"
+
version = "0.22.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f8d0582f186c0a6d55655d24543f15e43607299425c5ad8352c242b914b31856"
+
dependencies = [
+
"aho-corasick",
+
"arc-swap",
+
"base64",
+
"bitpacking",
+
"byteorder",
+
"census",
+
"crc32fast",
+
"crossbeam-channel",
+
"downcast-rs",
+
"fastdivide",
+
"fnv",
+
"fs4",
+
"htmlescape",
+
"itertools",
+
"levenshtein_automata",
+
"log",
+
"lru",
+
"lz4_flex",
+
"measure_time",
+
"memmap2",
+
"num_cpus",
+
"once_cell",
+
"oneshot",
+
"rayon",
+
"regex",
+
"rust-stemmers",
+
"rustc-hash",
+
"serde",
+
"serde_json",
+
"sketches-ddsketch",
+
"smallvec",
+
"tantivy-bitpacker",
+
"tantivy-columnar",
+
"tantivy-common",
+
"tantivy-fst",
+
"tantivy-query-grammar",
+
"tantivy-stacker",
+
"tantivy-tokenizer-api",
+
"tempfile",
+
"thiserror",
+
"time",
+
"uuid",
+
"winapi",
+
]
+
+
[[package]]
+
name = "tantivy-bitpacker"
+
version = "0.6.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "284899c2325d6832203ac6ff5891b297fc5239c3dc754c5bc1977855b23c10df"
+
dependencies = [
+
"bitpacking",
+
]
+
+
[[package]]
+
name = "tantivy-columnar"
+
version = "0.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "12722224ffbe346c7fec3275c699e508fd0d4710e629e933d5736ec524a1f44e"
+
dependencies = [
+
"downcast-rs",
+
"fastdivide",
+
"itertools",
+
"serde",
+
"tantivy-bitpacker",
+
"tantivy-common",
+
"tantivy-sstable",
+
"tantivy-stacker",
+
]
+
+
[[package]]
+
name = "tantivy-common"
+
version = "0.7.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8019e3cabcfd20a1380b491e13ff42f57bb38bf97c3d5fa5c07e50816e0621f4"
+
dependencies = [
+
"async-trait",
+
"byteorder",
+
"ownedbytes",
+
"serde",
+
"time",
+
]
+
+
[[package]]
+
name = "tantivy-fst"
+
version = "0.5.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d60769b80ad7953d8a7b2c70cdfe722bbcdcac6bccc8ac934c40c034d866fc18"
+
dependencies = [
+
"byteorder",
+
"regex-syntax 0.8.5",
+
"utf8-ranges",
+
]
+
+
[[package]]
+
name = "tantivy-query-grammar"
+
version = "0.22.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "847434d4af57b32e309f4ab1b4f1707a6c566656264caa427ff4285c4d9d0b82"
+
dependencies = [
+
"nom",
+
]
+
+
[[package]]
+
name = "tantivy-sstable"
+
version = "0.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c69578242e8e9fc989119f522ba5b49a38ac20f576fc778035b96cc94f41f98e"
+
dependencies = [
+
"tantivy-bitpacker",
+
"tantivy-common",
+
"tantivy-fst",
+
"zstd",
+
]
+
+
[[package]]
+
name = "tantivy-stacker"
+
version = "0.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c56d6ff5591fc332739b3ce7035b57995a3ce29a93ffd6012660e0949c956ea8"
+
dependencies = [
+
"murmurhash32",
+
"rand_distr",
+
"tantivy-common",
+
]
+
+
[[package]]
+
name = "tantivy-tokenizer-api"
+
version = "0.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2a0dcade25819a89cfe6f17d932c9cedff11989936bf6dd4f336d50392053b04"
+
dependencies = [
+
"serde",
+
]
+
+
[[package]]
+
name = "tempfile"
+
version = "3.14.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
+
dependencies = [
+
"cfg-if",
+
"fastrand",
+
"once_cell",
+
"rustix",
+
"windows-sys 0.59.0",
+
]
+
+
[[package]]
+
name = "thiserror"
+
version = "1.0.69"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
+
dependencies = [
+
"thiserror-impl",
+
]
+
+
[[package]]
+
name = "thiserror-impl"
+
version = "1.0.69"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "thread_local"
+
version = "1.1.8"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
+
dependencies = [
+
"cfg-if",
+
"once_cell",
+
]
+
+
[[package]]
+
name = "time"
+
version = "0.3.36"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
+
dependencies = [
+
"deranged",
+
"itoa",
+
"libc",
+
"num-conv",
+
"num_threads",
+
"powerfmt",
+
"serde",
+
"time-core",
+
"time-macros",
+
]
+
+
[[package]]
+
name = "time-core"
+
version = "0.1.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+
+
[[package]]
+
name = "time-macros"
+
version = "0.2.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
+
dependencies = [
+
"num-conv",
+
"time-core",
+
]
+
+
[[package]]
+
name = "tokio"
+
version = "1.41.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
+
dependencies = [
+
"backtrace",
+
"bytes",
+
"libc",
+
"mio",
+
"pin-project-lite",
+
"signal-hook-registry",
+
"socket2",
+
"tokio-macros",
+
"windows-sys 0.52.0",
+
]
+
+
[[package]]
+
name = "tokio-macros"
+
version = "2.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "tokio-stream"
+
version = "0.1.16"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1"
+
dependencies = [
+
"futures-core",
+
"pin-project-lite",
+
"tokio",
+
]
+
+
[[package]]
+
name = "tokio-util"
+
version = "0.7.12"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
+
dependencies = [
+
"bytes",
+
"futures-core",
+
"futures-sink",
+
"pin-project-lite",
+
"tokio",
+
]
+
+
[[package]]
+
name = "toml"
+
version = "0.8.19"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
+
dependencies = [
+
"serde",
+
"serde_spanned",
+
"toml_datetime",
+
"toml_edit",
+
]
+
+
[[package]]
+
name = "toml_datetime"
+
version = "0.6.8"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+
dependencies = [
+
"serde",
+
]
+
+
[[package]]
+
name = "toml_edit"
+
version = "0.22.22"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
+
dependencies = [
+
"indexmap",
+
"serde",
+
"serde_spanned",
+
"toml_datetime",
+
"winnow",
+
]
+
+
[[package]]
+
name = "tower-service"
+
version = "0.3.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
+
+
[[package]]
+
name = "tracing"
+
version = "0.1.40"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+
dependencies = [
+
"pin-project-lite",
+
"tracing-attributes",
+
"tracing-core",
+
]
+
+
[[package]]
+
name = "tracing-attributes"
+
version = "0.1.27"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "tracing-core"
+
version = "0.1.32"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+
dependencies = [
+
"once_cell",
+
"valuable",
+
]
+
+
[[package]]
+
name = "tracing-log"
+
version = "0.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
+
dependencies = [
+
"log",
+
"once_cell",
+
"tracing-core",
+
]
+
+
[[package]]
+
name = "tracing-subscriber"
+
version = "0.3.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
+
dependencies = [
+
"matchers",
+
"nu-ansi-term",
+
"once_cell",
+
"regex",
+
"sharded-slab",
+
"smallvec",
+
"thread_local",
+
"tracing",
+
"tracing-core",
+
"tracing-log",
+
]
+
+
[[package]]
+
name = "try-lock"
+
version = "0.2.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+
[[package]]
+
name = "ubyte"
+
version = "0.10.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f720def6ce1ee2fc44d40ac9ed6d3a59c361c80a75a7aa8e75bb9baed31cf2ea"
+
dependencies = [
+
"serde",
+
]
+
+
[[package]]
+
name = "uncased"
+
version = "0.9.10"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e1b88fcfe09e89d3866a5c11019378088af2d24c3fbd4f0543f96b479ec90697"
+
dependencies = [
+
"serde",
+
"version_check",
+
]
+
+
[[package]]
+
name = "unicode-ident"
+
version = "1.0.13"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
+
+
[[package]]
+
name = "unicode-xid"
+
version = "0.2.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
+
+
[[package]]
+
name = "utf8-ranges"
+
version = "1.0.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7fcfc827f90e53a02eaef5e535ee14266c1d569214c6aa70133a624d8a3164ba"
+
+
[[package]]
+
name = "uuid"
+
version = "1.11.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
+
dependencies = [
+
"getrandom",
+
"serde",
+
]
+
+
[[package]]
+
name = "valuable"
+
version = "0.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+
+
[[package]]
+
name = "version_check"
+
version = "0.9.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+
[[package]]
+
name = "want"
+
version = "0.3.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+
dependencies = [
+
"try-lock",
+
]
+
+
[[package]]
+
name = "wasi"
+
version = "0.11.0+wasi-snapshot-preview1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+
+
[[package]]
+
name = "wasm-bindgen"
+
version = "0.2.95"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
+
dependencies = [
+
"cfg-if",
+
"once_cell",
+
"wasm-bindgen-macro",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-backend"
+
version = "0.2.95"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
+
dependencies = [
+
"bumpalo",
+
"log",
+
"once_cell",
+
"proc-macro2",
+
"quote",
+
"syn",
+
"wasm-bindgen-shared",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-macro"
+
version = "0.2.95"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
+
dependencies = [
+
"quote",
+
"wasm-bindgen-macro-support",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-macro-support"
+
version = "0.2.95"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
"wasm-bindgen-backend",
+
"wasm-bindgen-shared",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-shared"
+
version = "0.2.95"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
+
+
[[package]]
+
name = "web-sys"
+
version = "0.3.72"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112"
+
dependencies = [
+
"js-sys",
+
"wasm-bindgen",
+
]
+
+
[[package]]
+
name = "winapi"
+
version = "0.3.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+
dependencies = [
+
"winapi-i686-pc-windows-gnu",
+
"winapi-x86_64-pc-windows-gnu",
+
]
+
+
[[package]]
+
name = "winapi-i686-pc-windows-gnu"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+
[[package]]
+
name = "winapi-x86_64-pc-windows-gnu"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+
[[package]]
+
name = "windows"
+
version = "0.48.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
+
dependencies = [
+
"windows-targets 0.48.5",
+
]
+
+
[[package]]
+
name = "windows-sys"
+
version = "0.48.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+
dependencies = [
+
"windows-targets 0.48.5",
+
]
+
+
[[package]]
+
name = "windows-sys"
+
version = "0.52.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+
dependencies = [
+
"windows-targets 0.52.6",
+
]
+
+
[[package]]
+
name = "windows-sys"
+
version = "0.59.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+
dependencies = [
+
"windows-targets 0.52.6",
+
]
+
+
[[package]]
+
name = "windows-targets"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+
dependencies = [
+
"windows_aarch64_gnullvm 0.48.5",
+
"windows_aarch64_msvc 0.48.5",
+
"windows_i686_gnu 0.48.5",
+
"windows_i686_msvc 0.48.5",
+
"windows_x86_64_gnu 0.48.5",
+
"windows_x86_64_gnullvm 0.48.5",
+
"windows_x86_64_msvc 0.48.5",
+
]
+
+
[[package]]
+
name = "windows-targets"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+
dependencies = [
+
"windows_aarch64_gnullvm 0.52.6",
+
"windows_aarch64_msvc 0.52.6",
+
"windows_i686_gnu 0.52.6",
+
"windows_i686_gnullvm",
+
"windows_i686_msvc 0.52.6",
+
"windows_x86_64_gnu 0.52.6",
+
"windows_x86_64_gnullvm 0.52.6",
+
"windows_x86_64_msvc 0.52.6",
+
]
+
+
[[package]]
+
name = "windows_aarch64_gnullvm"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+
+
[[package]]
+
name = "windows_aarch64_gnullvm"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+
[[package]]
+
name = "windows_aarch64_msvc"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+
+
[[package]]
+
name = "windows_aarch64_msvc"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+
[[package]]
+
name = "windows_i686_gnu"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+
+
[[package]]
+
name = "windows_i686_gnu"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+
[[package]]
+
name = "windows_i686_gnullvm"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+
[[package]]
+
name = "windows_i686_msvc"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+
+
[[package]]
+
name = "windows_i686_msvc"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+
[[package]]
+
name = "windows_x86_64_gnu"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
+
+
[[package]]
+
name = "windows_x86_64_gnu"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+
[[package]]
+
name = "windows_x86_64_gnullvm"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
+
+
[[package]]
+
name = "windows_x86_64_gnullvm"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+
[[package]]
+
name = "windows_x86_64_msvc"
+
version = "0.48.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
+
+
[[package]]
+
name = "windows_x86_64_msvc"
+
version = "0.52.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+
[[package]]
+
name = "winnow"
+
version = "0.6.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b"
+
dependencies = [
+
"memchr",
+
]
+
+
[[package]]
+
name = "yansi"
+
version = "1.0.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
+
dependencies = [
+
"is-terminal",
+
]
+
+
[[package]]
+
name = "zerocopy"
+
version = "0.7.35"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+
dependencies = [
+
"byteorder",
+
"zerocopy-derive",
+
]
+
+
[[package]]
+
name = "zerocopy-derive"
+
version = "0.7.35"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "zstd"
+
version = "0.13.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9"
+
dependencies = [
+
"zstd-safe",
+
]
+
+
[[package]]
+
name = "zstd-safe"
+
version = "7.2.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059"
+
dependencies = [
+
"zstd-sys",
+
]
+
+
[[package]]
+
name = "zstd-sys"
+
version = "2.0.13+zstd.1.5.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa"
+
dependencies = [
+
"cc",
+
"pkg-config",
+
]
+109
pkgs/by-name/po/porn-vault/allow-use-of-systemd-temp-path.patch
···
+
diff --git a/server/binaries/ffmpeg.ts b/server/binaries/ffmpeg.ts
+
index abb4de4f..cdcc0a02 100644
+
--- a/server/binaries/ffmpeg.ts
+
+++ b/server/binaries/ffmpeg.ts
+
@@ -8,6 +8,7 @@ import { getConfig } from "../config";
+
import { mkdirpAsync, rimrafAsync, statAsync } from "../utils/fs/async";
+
import { formatMessage, handleError, logger } from "../utils/logger";
+
import { generateTimestampsAtIntervals } from "../utils/misc";
+
+import { tempPath } from "server/utils/path";
+
+
export async function takeScreenshot(
+
inPath: string,
+
@@ -112,7 +113,7 @@ export async function generatePreview(
+
): Promise<void> {
+
logger.debug(`Creating 100 small previews for ${sceneId}.`);
+
+
- const tmpFolder = resolve("tmp", "preview", sceneId);
+
+ const tmpFolder = resolve(tempPath, "preview", sceneId);
+
+
const timestamps = generateTimestampsAtIntervals(PREVIEW_COUNT, durationSecs * 1000, {
+
startPercentage: 2,
+
diff --git a/server/database/index.ts b/server/database/index.ts
+
index 80ff6432..c6feb11d 100755
+
--- a/server/database/index.ts
+
+++ b/server/database/index.ts
+
@@ -15,7 +15,7 @@ import Studio from "../types/studio";
+
import SceneView from "../types/watch";
+
import { mkdirpSync } from "../utils/fs/async";
+
import { logger } from "../utils/logger";
+
-import { libraryPath } from "../utils/path";
+
+import { libraryPath, tempPath } from "../utils/path";
+
import { Izzy } from "./internal";
+
+
export function formatCollectionName(name: string) {
+
@@ -261,11 +261,11 @@ export async function loadStore<T extends { _id: string }>(
+
}
+
+
export async function loadStores(): Promise<void> {
+
- if (!existsSync("tmp")) {
+
- logger.info("Creating temporary directory 'tmp'");
+
- mkdirpSync("tmp/");
+
+ if (!existsSync(tempPath)) {
+
+ logger.info(`Creating temporary directory '${tempPath}'`);
+
+ mkdirpSync(tempPath);
+
} else {
+
- logger.debug("Temporary directory 'tmp' already exists");
+
+ logger.debug(`Temporary directory '${tempPath}' already exists`);
+
}
+
+
const crossReferencePath = libraryPath("cross_references.db");
+
diff --git a/server/graphql/mutations/image.ts b/server/graphql/mutations/image.ts
+
index 6554f145..a7853eea 100644
+
--- a/server/graphql/mutations/image.ts
+
+++ b/server/graphql/mutations/image.ts
+
@@ -20,7 +20,7 @@ import Studio from "../../types/studio";
+
import { mapAsync } from "../../utils/async";
+
import { copyFileAsync, statAsync, unlinkAsync } from "../../utils/fs/async";
+
import { logger } from "../../utils/logger";
+
-import { getFolderPartition, libraryPath } from "../../utils/path";
+
+import { getFolderPartition, libraryPath, tempPath } from "../../utils/path";
+
import { getExtension, normalizeName } from "../../utils/string";
+
import { Dictionary, isBoolean, isNumber, isString } from "../../utils/types";
+
import { clearCaches } from "../datasources";
+
@@ -110,7 +110,7 @@ export default {
+
+
const image = new Image(imageName);
+
+
- const outPath = `tmp/${image._id}${ext}`;
+
+ const outPath = resolve(tempPath, `${image._id}${ext}`);
+
+
logger.debug(`Getting file...`);
+
+
diff --git a/server/routes/scene.ts b/server/routes/scene.ts
+
index 601de160..fe8b8de5 100644
+
--- a/server/routes/scene.ts
+
+++ b/server/routes/scene.ts
+
@@ -16,7 +16,7 @@ import Scene from "../types/scene";
+
import { mkdirpAsync, readFileAsync, rimrafAsync } from "../utils/fs/async";
+
import { handleError, logger } from "../utils/logger";
+
import { generateTimestampsAtIntervals } from "../utils/misc";
+
-import { getFolderPartition, libraryPath } from "../utils/path";
+
+import { getFolderPartition, libraryPath, tempPath } from "../utils/path";
+
import { IMAGE_CACHE_CONTROL } from "./media";
+
+
/* function streamTranscode(
+
@@ -94,7 +94,7 @@ export async function attachScenePreviewGrid(scene: Scene): Promise<string | nul
+
return null;
+
}
+
+
- const gridFolder = path.resolve("tmp", "grid");
+
+ const gridFolder = path.resolve(tempPath, "grid");
+
const tmpFolder = path.resolve(gridFolder, "thumbs", randomUUID());
+
await mkdirpAsync(tmpFolder);
+
+
diff --git a/server/utils/path.ts b/server/utils/path.ts
+
index 05619e93..64964de8 100644
+
--- a/server/utils/path.ts
+
+++ b/server/utils/path.ts
+
@@ -5,6 +5,7 @@ import { getConfig } from "../config";
+
import { mkdirpSync } from "./fs/async";
+
+
const configFolder = process.env.PV_CONFIG_FOLDER || process.cwd();
+
+export const tempPath = process.env.CACHE_DIRECTORY ?? "tmp";
+
+
export function libraryPath(str: string): string {
+
return resolve(getConfig().persistence.libraryPath, "library", str);
+
--
+
2.47.0
+
+114
pkgs/by-name/po/porn-vault/package.nix
···
+
{
+
fetchFromGitLab,
+
fetchurl,
+
rustPlatform,
+
lib,
+
pnpm_9,
+
stdenvNoCC,
+
nodejs_22,
+
ffmpeg,
+
imagemagick,
+
makeWrapper,
+
autoPatchelfHook,
+
writeShellApplication,
+
}:
+
let
+
izzy = rustPlatform.buildRustPackage rec {
+
pname = "izzy";
+
version = "2.0.1";
+
+
src = fetchFromGitLab {
+
owner = "porn-vault";
+
repo = "izzy";
+
rev = version;
+
hash = "sha256-UauA5mZi5a5QF7d17pKSzvyaWbeSuFjBrXEAxR3wNkk=";
+
};
+
+
postPatch = ''
+
ln -s ${./Cargo.lock} Cargo.lock
+
'';
+
+
cargoLock.lockFile = ./Cargo.lock;
+
+
meta = {
+
description = "Rust In-Memory K-V Store with Redis-Style File Persistence and Secondary Indices";
+
homepage = "https://gitlab.com/porn-vault/izzy";
+
license = lib.licenses.gpl3Plus;
+
maintainers = [ lib.maintainers.luNeder ];
+
mainProgram = "izzy";
+
};
+
};
+
pnpm = pnpm_9;
+
nodejs = nodejs_22;
+
in
+
stdenvNoCC.mkDerivation (finalAttrs: {
+
pname = "porn-vault";
+
version = "0.30.0-rc.11";
+
+
src = fetchFromGitLab {
+
owner = "porn-vault";
+
repo = "porn-vault";
+
rev = "4c6182c5825d85193cf67cb7cd927da2feaaecdb";
+
hash = "sha256-wQ3dqLc0l2BmLGDYrbWxX2mPwO/Tqz0fY/fOQTEUv24=";
+
};
+
+
pnpmDeps = pnpm.fetchDeps {
+
inherit (finalAttrs) pname version src;
+
hash = "sha256-Xr9tRiP1hW+aFs9FnPvPkeJ0/LtJI57cjWY5bZQaRTQ=";
+
};
+
+
nativeBuildInputs = [
+
nodejs
+
pnpm.configHook
+
makeWrapper
+
];
+
+
patches = [
+
./allow-use-of-systemd-temp-path.patch
+
];
+
+
postPatch = ''
+
substituteInPlace server/binaries/izzy.ts \
+
--replace-fail 'chmodSync(izzyPath, "111");' ""
+
'';
+
+
buildPhase = ''
+
runHook preBuild
+
+
pnpm build
+
+
runHook postBuild
+
'';
+
+
installPhase = ''
+
runHook preInstall
+
+
install -Dm644 package.json config.example.json remix.config.js -t $out/share/porn-vault
+
cp -R public dist build node_modules graphql locale -t $out/share/porn-vault
+
+
runHook postInstall
+
'';
+
+
preFixup = ''
+
makeWrapper "${lib.getExe nodejs}" "$out/bin/porn-vault" \
+
--chdir "$out/share/porn-vault" \
+
--add-flags "dist/index.js" \
+
--set-default IZZY_PATH "${lib.getExe izzy}" \
+
--prefix PATH : "${
+
lib.makeBinPath [
+
ffmpeg
+
imagemagick
+
izzy
+
]
+
}"
+
'';
+
+
meta = {
+
description = "Porn-Vault is a self hosted organizer for adult videos and imagery.";
+
homepage = "https://gitlab.com/porn-vault/porn-vault";
+
license = lib.licenses.gpl3Plus;
+
maintainers = [ lib.maintainers.luNeder ];
+
inherit (nodejs.meta) platforms;
+
mainProgram = "porn-vault";
+
};
+
})