mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 20:16:17 +01:00
2614 lines
78 KiB
Nix
2614 lines
78 KiB
Nix
|
|
# This file was @generated by crate2nix 0.8.0 with the command:
|
|
# "generate"
|
|
# See https://github.com/kolloch/crate2nix for more info.
|
|
|
|
{ nixpkgs ? <nixpkgs>
|
|
, pkgs ? import nixpkgs { config = {}; }
|
|
, lib ? pkgs.lib
|
|
, stdenv ? pkgs.stdenv
|
|
, buildRustCrate ? pkgs.buildRustCrate
|
|
# This is used as the `crateOverrides` argument for `buildRustCrate`.
|
|
, defaultCrateOverrides ? pkgs.defaultCrateOverrides
|
|
# The features to enable for the root_crate or the workspace_members.
|
|
, rootFeatures ? [ "default" ]
|
|
# If true, throw errors instead of issueing deprecation warnings.
|
|
, strictDeprecation ? false
|
|
# Whether to perform release builds: longer compile times, faster binaries.
|
|
, release ? true
|
|
}:
|
|
|
|
rec {
|
|
#
|
|
# "public" attributes that we attempt to keep stable with new versions of crate2nix.
|
|
#
|
|
|
|
rootCrate = rec {
|
|
packageId = "atomsh";
|
|
|
|
# Use this attribute to refer to the derivation building your root crate package.
|
|
# You can override the features with rootCrate.build.override { features = [ "default" "feature1" ... ]; }.
|
|
build = internal.buildRustCrateWithFeatures {
|
|
inherit packageId;
|
|
};
|
|
|
|
# Debug support which might change between releases.
|
|
# File a bug if you depend on any for non-debug work!
|
|
debug = internal.debugCrate { inherit packageId; };
|
|
};
|
|
root_crate =
|
|
internal.deprecationWarning
|
|
"root_crate is deprecated since crate2nix 0.4. Please use rootCrate instead."
|
|
rootCrate.build;
|
|
# Refer your crate build derivation by name here.
|
|
# You can override the features with
|
|
# workspaceMembers."${crateName}".build.override { features = [ "default" "feature1" ... ]; }.
|
|
workspaceMembers = {
|
|
"atomsh" = rec {
|
|
packageId = "atomsh";
|
|
build = internal.buildRustCrateWithFeatures {
|
|
packageId = "atomsh";
|
|
};
|
|
|
|
# Debug support which might change between releases.
|
|
# File a bug if you depend on any for non-debug work!
|
|
debug = internal.debugCrate { inherit packageId; };
|
|
};
|
|
};
|
|
workspace_members =
|
|
internal.deprecationWarning
|
|
"workspace_members is deprecated in crate2nix 0.4. Please use workspaceMembers instead."
|
|
lib.mapAttrs (n: v: v.build) workspaceMembers;
|
|
|
|
#
|
|
# "internal" ("private") attributes that may change in every new version of crate2nix.
|
|
#
|
|
|
|
internal = rec {
|
|
# Build and dependency information for crates.
|
|
# Many of the fields are passed one-to-one to buildRustCrate.
|
|
#
|
|
# Noteworthy:
|
|
# * `dependencies`/`buildDependencies`: similar to the corresponding fields for buildRustCrate.
|
|
# but with additional information which is used during dependency/feature resolution.
|
|
# * `resolvedDependencies`: the selected default features reported by cargo - only included for debugging.
|
|
# * `devDependencies` as of now not used by `buildRustCrate` but used to
|
|
# inject test dependencies into the build
|
|
|
|
crates = {
|
|
"aho-corasick" = rec {
|
|
crateName = "aho-corasick";
|
|
version = "0.7.15";
|
|
edition = "2015";
|
|
sha256 = "1rb8gzhljl8r87dpf2n5pnqnkl694casgns4ma0sqzd4zazzw13l";
|
|
libName = "aho_corasick";
|
|
authors = [
|
|
"Andrew Gallant <jamslam@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "memchr";
|
|
packageId = "memchr";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"std" = [ "memchr/use_std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"arrayref" = rec {
|
|
crateName = "arrayref";
|
|
version = "0.3.6";
|
|
edition = "2015";
|
|
sha256 = "0i6m1l3f73i0lf0cjdf5rh3xpvxydyhfbakq7xx7bkrp5qajgid4";
|
|
authors = [
|
|
"David Roundy <roundyd@physics.oregonstate.edu>"
|
|
];
|
|
|
|
};
|
|
"arrayvec" = rec {
|
|
crateName = "arrayvec";
|
|
version = "0.5.2";
|
|
edition = "2018";
|
|
sha256 = "12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3";
|
|
authors = [
|
|
"bluss"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
};
|
|
"ascii-canvas" = rec {
|
|
crateName = "ascii-canvas";
|
|
version = "2.0.0";
|
|
edition = "2015";
|
|
sha256 = "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz";
|
|
authors = [
|
|
"Niko Matsakis <niko@alum.mit.edu>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "term";
|
|
packageId = "term";
|
|
}
|
|
];
|
|
|
|
};
|
|
"asciicolor" = rec {
|
|
crateName = "asciicolor";
|
|
version = "0.1.0";
|
|
edition = "2018";
|
|
sha256 = "1kfsrzy64y29iq4l60iyj5rn7izppaf12b9j9p2m0rbg00rp568n";
|
|
authors = [
|
|
"adam-mcdaniel <adam.mcdaniel17@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"atomsh" = rec {
|
|
crateName = "atomsh";
|
|
version = "0.1.1";
|
|
edition = "2018";
|
|
crateBin = [
|
|
{ name = "atom"; path = "src/bin.rs"; }
|
|
];
|
|
src = (builtins.filterSource sourceFilter ./.);
|
|
authors = [
|
|
"Adam McDaniel <adam.mcdaniel17@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "asciicolor";
|
|
packageId = "asciicolor";
|
|
}
|
|
{
|
|
name = "chrono";
|
|
packageId = "chrono";
|
|
}
|
|
{
|
|
name = "comment";
|
|
packageId = "comment";
|
|
}
|
|
{
|
|
name = "ctrlc";
|
|
packageId = "ctrlc";
|
|
}
|
|
{
|
|
name = "dirs";
|
|
packageId = "dirs 3.0.1";
|
|
}
|
|
{
|
|
name = "dunce";
|
|
packageId = "dunce";
|
|
}
|
|
{
|
|
name = "lalrpop";
|
|
packageId = "lalrpop";
|
|
features = [ "lexer" ];
|
|
}
|
|
{
|
|
name = "lalrpop-util";
|
|
packageId = "lalrpop-util";
|
|
}
|
|
{
|
|
name = "lazy_static";
|
|
packageId = "lazy_static";
|
|
}
|
|
{
|
|
name = "os_info";
|
|
packageId = "os_info";
|
|
}
|
|
{
|
|
name = "rand";
|
|
packageId = "rand";
|
|
}
|
|
{
|
|
name = "regex";
|
|
packageId = "regex";
|
|
}
|
|
{
|
|
name = "rustyline";
|
|
packageId = "rustyline";
|
|
}
|
|
{
|
|
name = "rustyline-derive";
|
|
packageId = "rustyline-derive";
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "lalrpop";
|
|
packageId = "lalrpop";
|
|
features = [ "lexer" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"atty" = rec {
|
|
crateName = "atty";
|
|
version = "0.2.14";
|
|
edition = "2015";
|
|
sha256 = "1s7yslcs6a28c5vz7jwj63lkfgyx8mx99fdirlhi9lbhhzhrpcyr";
|
|
authors = [
|
|
"softprops <d.tangren@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "hermit-abi";
|
|
packageId = "hermit-abi";
|
|
target = { target, features }: (target."os" == "hermit");
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "consoleapi" "processenv" "minwinbase" "minwindef" "winbase" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"autocfg" = rec {
|
|
crateName = "autocfg";
|
|
version = "1.0.1";
|
|
edition = "2015";
|
|
sha256 = "0jj6i9zn4gjl03kjvziqdji6rwx8ykz8zk2ngpc331z2g3fk3c6d";
|
|
authors = [
|
|
"Josh Stone <cuviper@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"base64" = rec {
|
|
crateName = "base64";
|
|
version = "0.13.0";
|
|
edition = "2018";
|
|
sha256 = "1z82g23mbzjgijkpcrilc7nljpxpvpf7zxf6iyiapkgka2ngwkch";
|
|
authors = [
|
|
"Alice Maz <alice@alicemaz.com>"
|
|
"Marshall Pierce <marshall@mpierce.org>"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"bit-set" = rec {
|
|
crateName = "bit-set";
|
|
version = "0.5.2";
|
|
edition = "2015";
|
|
sha256 = "1pjrmpsnad5ipwjsv8ppi0qrhqvgpyn3wfbvk7jy8dga6mhf24bf";
|
|
authors = [
|
|
"Alexis Beingessner <a.beingessner@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "bit-vec";
|
|
packageId = "bit-vec";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"std" = [ "bit-vec/std" ];
|
|
};
|
|
};
|
|
"bit-vec" = rec {
|
|
crateName = "bit-vec";
|
|
version = "0.6.3";
|
|
edition = "2015";
|
|
sha256 = "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl";
|
|
authors = [
|
|
"Alexis Beingessner <a.beingessner@gmail.com>"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"serde_no_std" = [ "serde/alloc" ];
|
|
"serde_std" = [ "std" "serde/std" ];
|
|
};
|
|
};
|
|
"bitflags" = rec {
|
|
crateName = "bitflags";
|
|
version = "1.2.1";
|
|
edition = "2015";
|
|
sha256 = "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
features = {
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"blake2b_simd" = rec {
|
|
crateName = "blake2b_simd";
|
|
version = "0.5.11";
|
|
edition = "2018";
|
|
sha256 = "11y5nm06lpypz65dbxgncs12ckx24i5i4a777ckfhfxd93ili9xg";
|
|
authors = [
|
|
"Jack O'Connor"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "arrayref";
|
|
packageId = "arrayref";
|
|
}
|
|
{
|
|
name = "arrayvec";
|
|
packageId = "arrayvec";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "constant_time_eq";
|
|
packageId = "constant_time_eq";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"byteorder" = rec {
|
|
crateName = "byteorder";
|
|
version = "1.4.2";
|
|
edition = "2018";
|
|
sha256 = "0srh0h0594jmsnbvm7n0g8xabhla8lwb3gn8s0fzd7d1snix2i5f";
|
|
authors = [
|
|
"Andrew Gallant <jamslam@gmail.com>"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"cc" = rec {
|
|
crateName = "cc";
|
|
version = "1.0.66";
|
|
edition = "2018";
|
|
crateBin = [];
|
|
sha256 = "0j7d7h4n81z5f22l3v8ggjvvw8m64636nlaqax4x1y44da1rc12c";
|
|
authors = [
|
|
"Alex Crichton <alex@alexcrichton.com>"
|
|
];
|
|
features = {
|
|
"parallel" = [ "jobserver" ];
|
|
};
|
|
};
|
|
"cfg-if 0.1.10" = rec {
|
|
crateName = "cfg-if";
|
|
version = "0.1.10";
|
|
edition = "2018";
|
|
sha256 = "08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7";
|
|
authors = [
|
|
"Alex Crichton <alex@alexcrichton.com>"
|
|
];
|
|
features = {
|
|
"rustc-dep-of-std" = [ "core" "compiler_builtins" ];
|
|
};
|
|
};
|
|
"cfg-if 1.0.0" = rec {
|
|
crateName = "cfg-if";
|
|
version = "1.0.0";
|
|
edition = "2018";
|
|
sha256 = "1za0vb97n4brpzpv8lsbnzmq5r8f2b0cpqqr0sy8h5bn751xxwds";
|
|
authors = [
|
|
"Alex Crichton <alex@alexcrichton.com>"
|
|
];
|
|
features = {
|
|
"rustc-dep-of-std" = [ "core" "compiler_builtins" ];
|
|
};
|
|
};
|
|
"chrono" = rec {
|
|
crateName = "chrono";
|
|
version = "0.4.19";
|
|
edition = "2015";
|
|
sha256 = "0wyfl6c00vhfl562spnfcna3zkw8jqvcp652m9iskhl8j26dc2k7";
|
|
authors = [
|
|
"Kang Seonghoon <public+rust@mearie.org>"
|
|
"Brandon W Maister <quodlibetor@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
optional = true;
|
|
}
|
|
{
|
|
name = "num-integer";
|
|
packageId = "num-integer";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "num-traits";
|
|
packageId = "num-traits";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "time";
|
|
packageId = "time";
|
|
optional = true;
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
optional = true;
|
|
target = { target, features }: target."windows";
|
|
features = [ "std" "minwinbase" "minwindef" "timezoneapi" ];
|
|
}
|
|
];
|
|
features = {
|
|
"clock" = [ "libc" "std" "winapi" ];
|
|
"default" = [ "clock" "std" "oldtime" ];
|
|
"oldtime" = [ "time" ];
|
|
"unstable-locales" = [ "pure-rust-locales" "alloc" ];
|
|
"wasmbind" = [ "wasm-bindgen" "js-sys" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "clock" "default" "libc" "oldtime" "std" "time" "winapi" ];
|
|
};
|
|
"comment" = rec {
|
|
crateName = "comment";
|
|
version = "0.1.1";
|
|
edition = "2018";
|
|
sha256 = "1ma86q9yk8ka8crpcna61pqngjijk4sxkmhakbngp9l0knnbwv1z";
|
|
authors = [
|
|
"adam-mcdaniel <adam.mcdaniel17@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "quick-error";
|
|
packageId = "quick-error";
|
|
}
|
|
];
|
|
|
|
};
|
|
"constant_time_eq" = rec {
|
|
crateName = "constant_time_eq";
|
|
version = "0.1.5";
|
|
edition = "2015";
|
|
sha256 = "1g3vp04qzmk6cpzrd19yci6a95m7ap6wy7wkwgiy2pjklklrfl14";
|
|
authors = [
|
|
"Cesar Eduardo Barros <cesarb@cesarb.eti.br>"
|
|
];
|
|
|
|
};
|
|
"crossbeam-utils" = rec {
|
|
crateName = "crossbeam-utils";
|
|
version = "0.8.1";
|
|
edition = "2018";
|
|
sha256 = "13fvrqlap7bgvlnpqr5gjcxdhx1jv99pkfg5xdlq5xcy30g6vn82";
|
|
authors = [
|
|
"The Crossbeam Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "lazy_static";
|
|
packageId = "lazy_static";
|
|
optional = true;
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "autocfg";
|
|
packageId = "autocfg";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"std" = [ "lazy_static" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "lazy_static" "std" ];
|
|
};
|
|
"crunchy" = rec {
|
|
crateName = "crunchy";
|
|
version = "0.2.2";
|
|
edition = "2015";
|
|
sha256 = "1dx9mypwd5mpfbbajm78xcrg5lirqk7934ik980mmaffg3hdm0bs";
|
|
authors = [
|
|
"Vurich <jackefransham@hotmail.co.uk>"
|
|
];
|
|
features = {
|
|
"default" = [ "limit_128" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "limit_128" ];
|
|
};
|
|
"ctrlc" = rec {
|
|
crateName = "ctrlc";
|
|
version = "3.1.7";
|
|
edition = "2015";
|
|
sha256 = "027bzbddk0wg7s2wnbgcwx2iv6bjzvxfpp0s2xdg444yfklr4ymm";
|
|
authors = [
|
|
"Antti Keränen <detegr@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "nix";
|
|
packageId = "nix 0.18.0";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "consoleapi" "handleapi" "synchapi" "winbase" ];
|
|
}
|
|
];
|
|
devDependencies = [
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = {target, features}: target."windows";
|
|
features = [ "fileapi" "processenv" "winnt" ];
|
|
}
|
|
];
|
|
features = {
|
|
};
|
|
};
|
|
"diff" = rec {
|
|
crateName = "diff";
|
|
version = "0.1.12";
|
|
edition = "2015";
|
|
sha256 = "16b40bhsa2qgvgvxs983l625pkxyp6m0mzmpwg2605cvj53yl98f";
|
|
authors = [
|
|
"Utkarsh Kukreti <utkarshkukreti@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"dirs 1.0.5" = rec {
|
|
crateName = "dirs";
|
|
version = "1.0.5";
|
|
edition = "2015";
|
|
sha256 = "009rrhzj9pxyncmm2vhlj70npg0cgggv2hjbbkiwdl9vccq8kmrz";
|
|
authors = [
|
|
"Simon Ochsenreither <simon@ochsenreither.de>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "redox_users";
|
|
packageId = "redox_users";
|
|
target = { target, features }: (target."os" == "redox");
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "knownfolders" "objbase" "shlobj" "winbase" "winerror" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"dirs 3.0.1" = rec {
|
|
crateName = "dirs";
|
|
version = "3.0.1";
|
|
edition = "2015";
|
|
sha256 = "1zxrb3anxsh80mnp2il7awccv0s5gvy7djn6gis18nbm0bnraa8l";
|
|
authors = [
|
|
"Simon Ochsenreither <simon@ochsenreither.de>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "dirs-sys";
|
|
packageId = "dirs-sys";
|
|
}
|
|
];
|
|
|
|
};
|
|
"dirs-next" = rec {
|
|
crateName = "dirs-next";
|
|
version = "2.0.0";
|
|
edition = "2018";
|
|
sha256 = "1q9kr151h9681wwp6is18750ssghz6j9j7qm7qi1ngcwy7mzi35r";
|
|
authors = [
|
|
"The @xdg-rs members"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "dirs-sys-next";
|
|
packageId = "dirs-sys-next";
|
|
}
|
|
];
|
|
|
|
};
|
|
"dirs-sys" = rec {
|
|
crateName = "dirs-sys";
|
|
version = "0.3.5";
|
|
edition = "2015";
|
|
sha256 = "0ym5843xack45b1yjahrh3q2f72shnwf1dd2jncf9qsxf3sxg4wf";
|
|
authors = [
|
|
"Simon Ochsenreither <simon@ochsenreither.de>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "redox_users";
|
|
packageId = "redox_users";
|
|
target = { target, features }: (target."os" == "redox");
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "knownfolders" "objbase" "shlobj" "winbase" "winerror" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"dirs-sys-next" = rec {
|
|
crateName = "dirs-sys-next";
|
|
version = "0.1.1";
|
|
edition = "2018";
|
|
sha256 = "0zgy7is3h2dyf1l4sa7k065w2kvx0l12l40my4rswm2mc1gkdplr";
|
|
authors = [
|
|
"The @xdg-rs members"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "redox_users";
|
|
packageId = "redox_users";
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: (target."os" == "redox");
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "knownfolders" "objbase" "shlobj" "winbase" "winerror" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"dunce" = rec {
|
|
crateName = "dunce";
|
|
version = "1.0.1";
|
|
edition = "2018";
|
|
sha256 = "1d7f7wg83i1by16rxc1fdipi872nvkzjnmzaaggh2h8cgi51qr5j";
|
|
authors = [
|
|
"Kornel <kornel@geekhood.net>"
|
|
];
|
|
|
|
};
|
|
"either" = rec {
|
|
crateName = "either";
|
|
version = "1.6.1";
|
|
edition = "2015";
|
|
sha256 = "0mwl9vngqf5jvrhmhn9x60kr5hivxyjxbmby2pybncxfqhf4z3g7";
|
|
authors = [
|
|
"bluss"
|
|
];
|
|
features = {
|
|
"default" = [ "use_std" ];
|
|
};
|
|
};
|
|
"ena" = rec {
|
|
crateName = "ena";
|
|
version = "0.14.0";
|
|
edition = "2015";
|
|
sha256 = "1hrnkx2swbczn0jzpscxxipx7jcxhg6sf9vk911ff91wm6a2nh6p";
|
|
authors = [
|
|
"Niko Matsakis <niko@alum.mit.edu>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "log";
|
|
packageId = "log";
|
|
}
|
|
];
|
|
features = {
|
|
"congruence-closure" = [ "petgraph" ];
|
|
"persistent" = [ "dogged" ];
|
|
};
|
|
};
|
|
"fixedbitset" = rec {
|
|
crateName = "fixedbitset";
|
|
version = "0.2.0";
|
|
edition = "2015";
|
|
sha256 = "0kg03p777wc0dajd9pvlcnsyrwa8dhqwf0sd9r4dw0p82rs39arp";
|
|
authors = [
|
|
"bluss"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
};
|
|
"fs2" = rec {
|
|
crateName = "fs2";
|
|
version = "0.4.3";
|
|
edition = "2015";
|
|
sha256 = "04v2hwk7035c088f19mfl5b1lz84gnvv2hv6m935n0hmirszqr4m";
|
|
authors = [
|
|
"Dan Burkert <dan@danburkert.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "handleapi" "processthreadsapi" "winerror" "fileapi" "winbase" "std" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"getrandom 0.1.16" = rec {
|
|
crateName = "getrandom";
|
|
version = "0.1.16";
|
|
edition = "2018";
|
|
sha256 = "1kjzmz60qx9mn615ks1akjbf36n3lkv27zfwbcam0fzmj56wphwg";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "wasi";
|
|
packageId = "wasi 0.9.0+wasi-snapshot-preview1";
|
|
target = { target, features }: (target."os" == "wasi");
|
|
}
|
|
];
|
|
features = {
|
|
"rustc-dep-of-std" = [ "compiler_builtins" "core" ];
|
|
"test-in-browser" = [ "wasm-bindgen" ];
|
|
"wasm-bindgen" = [ "bindgen" "js-sys" ];
|
|
};
|
|
};
|
|
"getrandom 0.2.1" = rec {
|
|
crateName = "getrandom";
|
|
version = "0.2.1";
|
|
edition = "2018";
|
|
sha256 = "1rmfh5g58awfcc2fhpal8lvxhqp8l8c2pc0mc9v8x2z7gdjz8q20";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "wasi";
|
|
packageId = "wasi 0.10.1+wasi-snapshot-preview1";
|
|
target = { target, features }: (target."os" == "wasi");
|
|
}
|
|
];
|
|
features = {
|
|
"js" = [ "wasm-bindgen" "js-sys" ];
|
|
"rustc-dep-of-std" = [ "compiler_builtins" "core" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "std" ];
|
|
};
|
|
"hashbrown" = rec {
|
|
crateName = "hashbrown";
|
|
version = "0.9.1";
|
|
edition = "2018";
|
|
sha256 = "016dsm9s4xmxlkw2jfikm54qlz6vyk0qr280gab7kzp342jf9byp";
|
|
authors = [
|
|
"Amanieu d'Antras <amanieu@gmail.com>"
|
|
];
|
|
features = {
|
|
"ahash-compile-time-rng" = [ "ahash/compile-time-rng" ];
|
|
"default" = [ "ahash" "inline-more" ];
|
|
"rustc-dep-of-std" = [ "nightly" "core" "compiler_builtins" "alloc" "rustc-internal-api" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "raw" ];
|
|
};
|
|
"hermit-abi" = rec {
|
|
crateName = "hermit-abi";
|
|
version = "0.1.17";
|
|
edition = "2018";
|
|
sha256 = "1s1ss7xypnbpjglmj5k39svzsmni1rqp57a91qi5pyv0yxjmbjjs";
|
|
authors = [
|
|
"Stefan Lankes"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"rustc-dep-of-std" = [ "core" "compiler_builtins/rustc-dep-of-std" "libc/rustc-dep-of-std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"indexmap" = rec {
|
|
crateName = "indexmap";
|
|
version = "1.6.1";
|
|
edition = "2018";
|
|
sha256 = "0friqyzr4ssyayks7nirqbc36zcsf8fdi67jmvl4vpjh8a9zmcag";
|
|
authors = [
|
|
"bluss"
|
|
"Josh Stone <cuviper@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "hashbrown";
|
|
packageId = "hashbrown";
|
|
usesDefaultFeatures = false;
|
|
features = [ "raw" ];
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "autocfg";
|
|
packageId = "autocfg";
|
|
}
|
|
];
|
|
features = {
|
|
"serde-1" = [ "serde" ];
|
|
};
|
|
};
|
|
"itertools" = rec {
|
|
crateName = "itertools";
|
|
version = "0.9.0";
|
|
edition = "2018";
|
|
sha256 = "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8";
|
|
authors = [
|
|
"bluss"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "either";
|
|
packageId = "either";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "use_std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "use_std" ];
|
|
};
|
|
"lalrpop" = rec {
|
|
crateName = "lalrpop";
|
|
version = "0.19.3";
|
|
edition = "2015";
|
|
crateBin = [];
|
|
sha256 = "11s5ccazg95yn4p3gflhpibgkypai202ki6z6lhmrjd9ir6y0r2w";
|
|
authors = [
|
|
"Niko Matsakis <niko@alum.mit.edu>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "ascii-canvas";
|
|
packageId = "ascii-canvas";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "atty";
|
|
packageId = "atty";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "bit-set";
|
|
packageId = "bit-set";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "diff";
|
|
packageId = "diff";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "ena";
|
|
packageId = "ena";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "itertools";
|
|
packageId = "itertools";
|
|
usesDefaultFeatures = false;
|
|
features = [ "use_std" ];
|
|
}
|
|
{
|
|
name = "lalrpop-util";
|
|
packageId = "lalrpop-util";
|
|
}
|
|
{
|
|
name = "petgraph";
|
|
packageId = "petgraph";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "pico-args";
|
|
packageId = "pico-args";
|
|
optional = true;
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "regex";
|
|
packageId = "regex";
|
|
usesDefaultFeatures = false;
|
|
features = [ "std" ];
|
|
}
|
|
{
|
|
name = "regex-syntax";
|
|
packageId = "regex-syntax";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "string_cache";
|
|
packageId = "string_cache";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "term";
|
|
packageId = "term";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "tiny-keccak";
|
|
packageId = "tiny-keccak";
|
|
features = [ "sha3" ];
|
|
}
|
|
{
|
|
name = "unicode-xid";
|
|
packageId = "unicode-xid";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "lexer" "pico-args" ];
|
|
"lexer" = [ "lalrpop-util/lexer" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "lexer" "pico-args" ];
|
|
};
|
|
"lalrpop-util" = rec {
|
|
crateName = "lalrpop-util";
|
|
version = "0.19.3";
|
|
edition = "2015";
|
|
sha256 = "1ibqy5fi081w04rh8h7zdipr6kdbjc98lxyc9wv87s535wz21ppr";
|
|
authors = [
|
|
"Niko Matsakis <niko@alum.mit.edu>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "regex";
|
|
packageId = "regex";
|
|
optional = true;
|
|
}
|
|
];
|
|
features = {
|
|
"lexer" = [ "regex" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "lexer" "regex" ];
|
|
};
|
|
"lazy_static" = rec {
|
|
crateName = "lazy_static";
|
|
version = "1.4.0";
|
|
edition = "2015";
|
|
sha256 = "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2";
|
|
authors = [
|
|
"Marvin Löbel <loebel.marvin@gmail.com>"
|
|
];
|
|
features = {
|
|
"spin_no_std" = [ "spin" ];
|
|
};
|
|
};
|
|
"libc" = rec {
|
|
crateName = "libc";
|
|
version = "0.2.82";
|
|
edition = "2015";
|
|
sha256 = "0a8r4wiyn7hbg8fmlkcr7zwhl368wfy8xbfad989adqap8zky849";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"rustc-dep-of-std" = [ "align" "rustc-std-workspace-core" ];
|
|
"use_std" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "extra_traits" "std" ];
|
|
};
|
|
"log" = rec {
|
|
crateName = "log";
|
|
version = "0.4.11";
|
|
edition = "2015";
|
|
sha256 = "12xzqaflpiljn5cmxsbnbv9sjaj13ykhwsvll0gysbx4blbyvasg";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 0.1.10";
|
|
}
|
|
];
|
|
features = {
|
|
"kv_unstable_sval" = [ "kv_unstable" "sval/fmt" ];
|
|
};
|
|
};
|
|
"memchr" = rec {
|
|
crateName = "memchr";
|
|
version = "2.3.4";
|
|
edition = "2015";
|
|
sha256 = "098m9clfs495illlw00hv2gg67mhm7jflld3msyclvi5m9xc9q8f";
|
|
authors = [
|
|
"Andrew Gallant <jamslam@gmail.com>"
|
|
"bluss"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"use_std" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" "use_std" ];
|
|
};
|
|
"new_debug_unreachable" = rec {
|
|
crateName = "new_debug_unreachable";
|
|
version = "1.0.4";
|
|
edition = "2018";
|
|
sha256 = "0m1bg3wz3nvxdryg78x4i8hh9fys4wp2bi0zg821dhvf44v4g8p4";
|
|
libName = "debug_unreachable";
|
|
authors = [
|
|
"Matt Brubeck <mbrubeck@limpet.net>"
|
|
"Jonathan Reem <jonathan.reem@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"nix 0.18.0" = rec {
|
|
crateName = "nix";
|
|
version = "0.18.0";
|
|
edition = "2018";
|
|
sha256 = "0m8h9bskjjqx9sk687z8bxqg2kpwhdh78jq6zfaxsb8llvk0yic3";
|
|
authors = [
|
|
"The nix-rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "bitflags";
|
|
packageId = "bitflags";
|
|
}
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 0.1.10";
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
features = [ "extra_traits" ];
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "cc";
|
|
packageId = "cc";
|
|
target = {target, features}: (target."os" == "dragonfly");
|
|
}
|
|
];
|
|
|
|
};
|
|
"nix 0.19.1" = rec {
|
|
crateName = "nix";
|
|
version = "0.19.1";
|
|
edition = "2018";
|
|
sha256 = "1wk1pmaf9pv84sc4jf19gm1as2yq3ydwcx0n5nc1bpsgzq6bmk5j";
|
|
authors = [
|
|
"The nix-rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "bitflags";
|
|
packageId = "bitflags";
|
|
}
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
features = [ "extra_traits" ];
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "cc";
|
|
packageId = "cc";
|
|
target = {target, features}: (target."os" == "dragonfly");
|
|
}
|
|
];
|
|
|
|
};
|
|
"num-integer" = rec {
|
|
crateName = "num-integer";
|
|
version = "0.1.44";
|
|
edition = "2015";
|
|
sha256 = "1nq152y3304as1iai95hqz8prqnc94lks1s7q05sfjdmcf56kk6j";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "num-traits";
|
|
packageId = "num-traits";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "autocfg";
|
|
packageId = "autocfg";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"i128" = [ "num-traits/i128" ];
|
|
"std" = [ "num-traits/std" ];
|
|
};
|
|
};
|
|
"num-traits" = rec {
|
|
crateName = "num-traits";
|
|
version = "0.2.14";
|
|
edition = "2015";
|
|
sha256 = "144j176s2p76azy2ngk2vkdzgwdc0bc8c93jhki8c9fsbknb2r4s";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
buildDependencies = [
|
|
{
|
|
name = "autocfg";
|
|
packageId = "autocfg";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
};
|
|
"os_info" = rec {
|
|
crateName = "os_info";
|
|
version = "3.0.1";
|
|
edition = "2018";
|
|
sha256 = "01qjad2djdmh94x22frhacv69fq8f384rh7bgx9kb466ldfpl4m2";
|
|
authors = [
|
|
"Jan Schulte <hello@unexpected-co.de>"
|
|
"Stanislav Tkach <stanislav.tkach@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "log";
|
|
packageId = "log";
|
|
}
|
|
{
|
|
name = "serde";
|
|
packageId = "serde";
|
|
optional = true;
|
|
features = [ "derive" ];
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "minwindef" "ntdef" "ntstatus" "sysinfoapi" "winnt" "winuser" "libloaderapi" "processthreadsapi" "winerror" "winreg" ];
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "serde" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "serde" ];
|
|
};
|
|
"petgraph" = rec {
|
|
crateName = "petgraph";
|
|
version = "0.5.1";
|
|
edition = "2018";
|
|
sha256 = "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6";
|
|
authors = [
|
|
"bluss"
|
|
"mitchmindtree"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "fixedbitset";
|
|
packageId = "fixedbitset";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "indexmap";
|
|
packageId = "indexmap";
|
|
}
|
|
];
|
|
features = {
|
|
"all" = [ "unstable" "quickcheck" "matrix_graph" "stable_graph" "graphmap" ];
|
|
"default" = [ "graphmap" "stable_graph" "matrix_graph" ];
|
|
"serde-1" = [ "serde" "serde_derive" ];
|
|
"unstable" = [ "generate" ];
|
|
};
|
|
};
|
|
"phf_shared" = rec {
|
|
crateName = "phf_shared";
|
|
version = "0.8.0";
|
|
edition = "2018";
|
|
sha256 = "1xssnqrrcn0nr9ayqrnm8xm37ac4xvwcx8pax7jxss7yxawzh360";
|
|
authors = [
|
|
"Steven Fackler <sfackler@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "siphasher";
|
|
packageId = "siphasher";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"pico-args" = rec {
|
|
crateName = "pico-args";
|
|
version = "0.3.4";
|
|
edition = "2018";
|
|
sha256 = "1c9qyv3aykm8bzapiqq2gznp7cyk04py92xzghfqcp25fggv9f98";
|
|
authors = [
|
|
"Evgeniy Reizner <razrfalcon@gmail.com>"
|
|
];
|
|
features = {
|
|
"default" = [ "eq-separator" ];
|
|
};
|
|
};
|
|
"ppv-lite86" = rec {
|
|
crateName = "ppv-lite86";
|
|
version = "0.2.10";
|
|
edition = "2018";
|
|
sha256 = "0ms8198kclg4h96ggbziixxmsdl847s648kmbx11zlmjsqjccx5c";
|
|
authors = [
|
|
"The CryptoCorrosion Contributors"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "simd" "std" ];
|
|
};
|
|
"precomputed-hash" = rec {
|
|
crateName = "precomputed-hash";
|
|
version = "0.1.1";
|
|
edition = "2015";
|
|
sha256 = "075k9bfy39jhs53cb2fpb9klfakx2glxnf28zdw08ws6lgpq6lwj";
|
|
authors = [
|
|
"Emilio Cobos Álvarez <emilio@crisal.io>"
|
|
];
|
|
|
|
};
|
|
"proc-macro2" = rec {
|
|
crateName = "proc-macro2";
|
|
version = "1.0.24";
|
|
edition = "2018";
|
|
sha256 = "0wcabxzrddcjmryndw8fpyxcq6rw63m701vx86xxf03y3bp081qy";
|
|
authors = [
|
|
"Alex Crichton <alex@alexcrichton.com>"
|
|
"David Tolnay <dtolnay@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "unicode-xid";
|
|
packageId = "unicode-xid";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "proc-macro" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "proc-macro" ];
|
|
};
|
|
"quick-error" = rec {
|
|
crateName = "quick-error";
|
|
version = "1.2.3";
|
|
edition = "2015";
|
|
sha256 = "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51";
|
|
authors = [
|
|
"Paul Colomiets <paul@colomiets.name>"
|
|
"Colin Kiegel <kiegel@gmx.de>"
|
|
];
|
|
|
|
};
|
|
"quote" = rec {
|
|
crateName = "quote";
|
|
version = "1.0.8";
|
|
edition = "2018";
|
|
sha256 = "1pr8dz4pyfbbsqpqw6ygin8m4sz61iir7nl23233cgwsa71k254r";
|
|
authors = [
|
|
"David Tolnay <dtolnay@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "proc-macro2";
|
|
packageId = "proc-macro2";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "proc-macro" ];
|
|
"proc-macro" = [ "proc-macro2/proc-macro" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "proc-macro" ];
|
|
};
|
|
"rand" = rec {
|
|
crateName = "rand";
|
|
version = "0.8.1";
|
|
edition = "2018";
|
|
sha256 = "0d7fxnq3j2807qsjciyfbv362ym22x7slr95ff9bb8iz1m2wsky2";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
optional = true;
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "rand_chacha";
|
|
packageId = "rand_chacha";
|
|
optional = true;
|
|
usesDefaultFeatures = false;
|
|
target = { target, features }: (!(target."os" == "emscripten"));
|
|
}
|
|
{
|
|
name = "rand_core";
|
|
packageId = "rand_core";
|
|
}
|
|
{
|
|
name = "rand_hc";
|
|
packageId = "rand_hc";
|
|
optional = true;
|
|
target = { target, features }: (target."os" == "emscripten");
|
|
}
|
|
];
|
|
devDependencies = [
|
|
{
|
|
name = "rand_hc";
|
|
packageId = "rand_hc";
|
|
}
|
|
];
|
|
features = {
|
|
"alloc" = [ "rand_core/alloc" ];
|
|
"default" = [ "std" "std_rng" ];
|
|
"getrandom" = [ "rand_core/getrandom" ];
|
|
"serde1" = [ "serde" ];
|
|
"simd_support" = [ "packed_simd" ];
|
|
"std" = [ "rand_core/std" "rand_chacha/std" "alloc" "getrandom" "libc" ];
|
|
"std_rng" = [ "rand_chacha" "rand_hc" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "alloc" "default" "getrandom" "libc" "rand_chacha" "rand_hc" "std" "std_rng" ];
|
|
};
|
|
"rand_chacha" = rec {
|
|
crateName = "rand_chacha";
|
|
version = "0.3.0";
|
|
edition = "2018";
|
|
sha256 = "03df2xh5nbdvwr17qm3sviaxa95r8yhm1nil2pr0pqf90p7ka9z1";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
"The Rust Project Developers"
|
|
"The CryptoCorrosion Contributors"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "ppv-lite86";
|
|
packageId = "ppv-lite86";
|
|
usesDefaultFeatures = false;
|
|
features = [ "simd" ];
|
|
}
|
|
{
|
|
name = "rand_core";
|
|
packageId = "rand_core";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"std" = [ "ppv-lite86/std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "std" ];
|
|
};
|
|
"rand_core" = rec {
|
|
crateName = "rand_core";
|
|
version = "0.6.1";
|
|
edition = "2018";
|
|
sha256 = "1rfjrcyaj7blz2nawv2pypm5kqc59p80n6f5pg691399iggxf9n0";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "getrandom";
|
|
packageId = "getrandom 0.2.1";
|
|
optional = true;
|
|
}
|
|
];
|
|
features = {
|
|
"serde1" = [ "serde" ];
|
|
"std" = [ "alloc" "getrandom" "getrandom/std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "alloc" "getrandom" "std" ];
|
|
};
|
|
"rand_hc" = rec {
|
|
crateName = "rand_hc";
|
|
version = "0.3.0";
|
|
edition = "2018";
|
|
sha256 = "0wra6ar22zdjkry9dsq1mg620m4h3qb9s8rfykkz4im4crqfz41i";
|
|
authors = [
|
|
"The Rand Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "rand_core";
|
|
packageId = "rand_core";
|
|
}
|
|
];
|
|
|
|
};
|
|
"redox_syscall" = rec {
|
|
crateName = "redox_syscall";
|
|
version = "0.1.57";
|
|
edition = "2015";
|
|
sha256 = "1kh59fpwy33w9nwd5iyc283yglq8pf2s41hnhvl48iax9mz0zk21";
|
|
libName = "syscall";
|
|
authors = [
|
|
"Jeremy Soller <jackpot51@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"redox_users" = rec {
|
|
crateName = "redox_users";
|
|
version = "0.3.5";
|
|
edition = "2015";
|
|
sha256 = "179fxmyqaqzibp533ajgbn4ljah9lrzpqvd3i73h55bs7qrkf1yy";
|
|
authors = [
|
|
"Jose Narvaez <goyox86@gmail.com>"
|
|
"Wesley Hershberger <mggmugginsmc@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "getrandom";
|
|
packageId = "getrandom 0.1.16";
|
|
}
|
|
{
|
|
name = "redox_syscall";
|
|
packageId = "redox_syscall";
|
|
}
|
|
{
|
|
name = "rust-argon2";
|
|
packageId = "rust-argon2";
|
|
optional = true;
|
|
}
|
|
];
|
|
features = {
|
|
"auth" = [ "rust-argon2" ];
|
|
"default" = [ "auth" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "auth" "default" "rust-argon2" ];
|
|
};
|
|
"regex" = rec {
|
|
crateName = "regex";
|
|
version = "1.4.3";
|
|
edition = "2015";
|
|
sha256 = "12llbg82js69mdl50lav4yn1iqlx71ckb18dww467q99w4wi49fr";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "aho-corasick";
|
|
packageId = "aho-corasick";
|
|
optional = true;
|
|
}
|
|
{
|
|
name = "memchr";
|
|
packageId = "memchr";
|
|
optional = true;
|
|
}
|
|
{
|
|
name = "regex-syntax";
|
|
packageId = "regex-syntax";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "thread_local";
|
|
packageId = "thread_local";
|
|
optional = true;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" "perf" "unicode" "regex-syntax/default" ];
|
|
"perf" = [ "perf-cache" "perf-dfa" "perf-inline" "perf-literal" ];
|
|
"perf-cache" = [ "thread_local" ];
|
|
"perf-literal" = [ "aho-corasick" "memchr" ];
|
|
"unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "regex-syntax/unicode" ];
|
|
"unicode-age" = [ "regex-syntax/unicode-age" ];
|
|
"unicode-bool" = [ "regex-syntax/unicode-bool" ];
|
|
"unicode-case" = [ "regex-syntax/unicode-case" ];
|
|
"unicode-gencat" = [ "regex-syntax/unicode-gencat" ];
|
|
"unicode-perl" = [ "regex-syntax/unicode-perl" ];
|
|
"unicode-script" = [ "regex-syntax/unicode-script" ];
|
|
"unicode-segment" = [ "regex-syntax/unicode-segment" ];
|
|
"unstable" = [ "pattern" ];
|
|
"use_std" = [ "std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "aho-corasick" "default" "memchr" "perf" "perf-cache" "perf-dfa" "perf-inline" "perf-literal" "std" "thread_local" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ];
|
|
};
|
|
"regex-syntax" = rec {
|
|
crateName = "regex-syntax";
|
|
version = "0.6.22";
|
|
edition = "2015";
|
|
sha256 = "10b56ylil35jkb4nwqxm8hbyx3zq7fws0wpydjln165s8xql3sxm";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
features = {
|
|
"default" = [ "unicode" ];
|
|
"unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ];
|
|
};
|
|
"rust-argon2" = rec {
|
|
crateName = "rust-argon2";
|
|
version = "0.8.3";
|
|
edition = "2018";
|
|
sha256 = "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b";
|
|
libName = "argon2";
|
|
authors = [
|
|
"Martijn Rijkeboer <mrr@sru-systems.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "base64";
|
|
packageId = "base64";
|
|
}
|
|
{
|
|
name = "blake2b_simd";
|
|
packageId = "blake2b_simd";
|
|
}
|
|
{
|
|
name = "constant_time_eq";
|
|
packageId = "constant_time_eq";
|
|
}
|
|
{
|
|
name = "crossbeam-utils";
|
|
packageId = "crossbeam-utils";
|
|
optional = true;
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "crossbeam-utils" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "crossbeam-utils" "default" ];
|
|
};
|
|
"rustyline" = rec {
|
|
crateName = "rustyline";
|
|
version = "7.1.0";
|
|
edition = "2018";
|
|
sha256 = "1v1czmy3ir7d06xldp8bg94l97hrm15hcgdxxkq3cwbizhdk09w2";
|
|
authors = [
|
|
"Katsu Kawakami <kkawa1570@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "bitflags";
|
|
packageId = "bitflags";
|
|
}
|
|
{
|
|
name = "cfg-if";
|
|
packageId = "cfg-if 1.0.0";
|
|
}
|
|
{
|
|
name = "dirs-next";
|
|
packageId = "dirs-next";
|
|
optional = true;
|
|
}
|
|
{
|
|
name = "fs2";
|
|
packageId = "fs2";
|
|
}
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
}
|
|
{
|
|
name = "log";
|
|
packageId = "log";
|
|
}
|
|
{
|
|
name = "memchr";
|
|
packageId = "memchr";
|
|
}
|
|
{
|
|
name = "nix";
|
|
packageId = "nix 0.19.1";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "scopeguard";
|
|
packageId = "scopeguard";
|
|
target = { target, features }: target."windows";
|
|
}
|
|
{
|
|
name = "unicode-segmentation";
|
|
packageId = "unicode-segmentation";
|
|
}
|
|
{
|
|
name = "unicode-width";
|
|
packageId = "unicode-width";
|
|
}
|
|
{
|
|
name = "utf8parse";
|
|
packageId = "utf8parse";
|
|
target = { target, features }: target."unix";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "consoleapi" "handleapi" "minwindef" "processenv" "winbase" "wincon" "winuser" ];
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "with-dirs" ];
|
|
"with-dirs" = [ "dirs-next" ];
|
|
"with-fuzzy" = [ "skim" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "dirs-next" "with-dirs" ];
|
|
};
|
|
"rustyline-derive" = rec {
|
|
crateName = "rustyline-derive";
|
|
version = "0.4.0";
|
|
edition = "2018";
|
|
sha256 = "1wcmxdl0kv1fp7ac59rl94b1ksk0yikk167nz96f6782f3sgp7fv";
|
|
procMacro = true;
|
|
authors = [
|
|
"gwenn"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "quote";
|
|
packageId = "quote";
|
|
}
|
|
{
|
|
name = "syn";
|
|
packageId = "syn";
|
|
}
|
|
];
|
|
|
|
};
|
|
"scopeguard" = rec {
|
|
crateName = "scopeguard";
|
|
version = "1.1.0";
|
|
edition = "2015";
|
|
sha256 = "1kbqm85v43rq92vx7hfiay6pmcga03vrjbbfwqpyj3pwsg3b16nj";
|
|
authors = [
|
|
"bluss"
|
|
];
|
|
features = {
|
|
"default" = [ "use_std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "use_std" ];
|
|
};
|
|
"serde" = rec {
|
|
crateName = "serde";
|
|
version = "1.0.118";
|
|
edition = "2015";
|
|
sha256 = "0028kv3dh3ix5g7jfws22zb9hcqq4cnpwn2lnlpam1wxhmil5ih6";
|
|
authors = [
|
|
"Erick Tryzelaar <erick.tryzelaar@gmail.com>"
|
|
"David Tolnay <dtolnay@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "serde_derive";
|
|
packageId = "serde_derive";
|
|
optional = true;
|
|
}
|
|
];
|
|
devDependencies = [
|
|
{
|
|
name = "serde_derive";
|
|
packageId = "serde_derive";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"derive" = [ "serde_derive" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "derive" "serde_derive" "std" ];
|
|
};
|
|
"serde_derive" = rec {
|
|
crateName = "serde_derive";
|
|
version = "1.0.118";
|
|
edition = "2015";
|
|
sha256 = "1pvj4v8k107ichsnm7jgm9kxyi2lf971x52bmxhm5mcwd4k3akf8";
|
|
procMacro = true;
|
|
authors = [
|
|
"Erick Tryzelaar <erick.tryzelaar@gmail.com>"
|
|
"David Tolnay <dtolnay@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "proc-macro2";
|
|
packageId = "proc-macro2";
|
|
}
|
|
{
|
|
name = "quote";
|
|
packageId = "quote";
|
|
}
|
|
{
|
|
name = "syn";
|
|
packageId = "syn";
|
|
features = [ "visit" ];
|
|
}
|
|
];
|
|
features = {
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"siphasher" = rec {
|
|
crateName = "siphasher";
|
|
version = "0.3.3";
|
|
edition = "2015";
|
|
sha256 = "1dw648sij9rarz5rk58zrjmxm70c6xl60d6rkd8pabipqx0kg3zs";
|
|
authors = [
|
|
"Frank Denis <github@pureftpd.org>"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"serde_no_std" = [ "serde/alloc" ];
|
|
"serde_std" = [ "std" "serde/std" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"string_cache" = rec {
|
|
crateName = "string_cache";
|
|
version = "0.8.1";
|
|
edition = "2018";
|
|
sha256 = "16i004k3abpq96yisvd0vbgbsqznpagy39g157j9cgrmnlwi3nwd";
|
|
authors = [
|
|
"The Servo Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "lazy_static";
|
|
packageId = "lazy_static";
|
|
}
|
|
{
|
|
name = "new_debug_unreachable";
|
|
packageId = "new_debug_unreachable";
|
|
}
|
|
{
|
|
name = "phf_shared";
|
|
packageId = "phf_shared";
|
|
}
|
|
{
|
|
name = "precomputed-hash";
|
|
packageId = "precomputed-hash";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "serde_support" ];
|
|
"serde_support" = [ "serde" ];
|
|
};
|
|
};
|
|
"syn" = rec {
|
|
crateName = "syn";
|
|
version = "1.0.58";
|
|
edition = "2018";
|
|
sha256 = "1m85bvywsm6cf17d534c5ma73zch0cgwqc6q2bblqnd67vbs6q6c";
|
|
authors = [
|
|
"David Tolnay <dtolnay@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "proc-macro2";
|
|
packageId = "proc-macro2";
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "quote";
|
|
packageId = "quote";
|
|
optional = true;
|
|
usesDefaultFeatures = false;
|
|
}
|
|
{
|
|
name = "unicode-xid";
|
|
packageId = "unicode-xid";
|
|
}
|
|
];
|
|
features = {
|
|
"default" = [ "derive" "parsing" "printing" "clone-impls" "proc-macro" ];
|
|
"printing" = [ "quote" ];
|
|
"proc-macro" = [ "proc-macro2/proc-macro" "quote/proc-macro" ];
|
|
"test" = [ "syn-test-suite/all-features" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "clone-impls" "default" "derive" "parsing" "printing" "proc-macro" "quote" "visit" ];
|
|
};
|
|
"term" = rec {
|
|
crateName = "term";
|
|
version = "0.5.2";
|
|
edition = "2015";
|
|
sha256 = "0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
"Steven Allen"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "byteorder";
|
|
packageId = "byteorder";
|
|
}
|
|
{
|
|
name = "dirs";
|
|
packageId = "dirs 1.0.5";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "consoleapi" "wincon" "handleapi" "fileapi" ];
|
|
}
|
|
];
|
|
features = {
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"thread_local" = rec {
|
|
crateName = "thread_local";
|
|
version = "1.1.0";
|
|
edition = "2015";
|
|
sha256 = "0iyl5jby55q6mv6j69csjpdw57pw9x9qb7cxn6r7c7nms29c16xv";
|
|
authors = [
|
|
"Amanieu d'Antras <amanieu@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "lazy_static";
|
|
packageId = "lazy_static";
|
|
}
|
|
];
|
|
|
|
};
|
|
"time" = rec {
|
|
crateName = "time";
|
|
version = "0.1.43";
|
|
edition = "2015";
|
|
sha256 = "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na";
|
|
authors = [
|
|
"The Rust Project Developers"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "libc";
|
|
packageId = "libc";
|
|
}
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
target = { target, features }: target."windows";
|
|
features = [ "std" "minwinbase" "minwindef" "ntdef" "profileapi" "sysinfoapi" "timezoneapi" ];
|
|
}
|
|
];
|
|
devDependencies = [
|
|
{
|
|
name = "winapi";
|
|
packageId = "winapi";
|
|
features = [ "std" "processthreadsapi" "winbase" ];
|
|
}
|
|
];
|
|
|
|
};
|
|
"tiny-keccak" = rec {
|
|
crateName = "tiny-keccak";
|
|
version = "2.0.2";
|
|
edition = "2018";
|
|
sha256 = "0dq2x0hjffmixgyf6xv9wgsbcxkd65ld0wrfqmagji8a829kg79c";
|
|
authors = [
|
|
"debris <marek.kotewicz@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "crunchy";
|
|
packageId = "crunchy";
|
|
}
|
|
];
|
|
features = {
|
|
"fips202" = [ "keccak" "shake" "sha3" ];
|
|
"kmac" = [ "cshake" ];
|
|
"parallel_hash" = [ "cshake" ];
|
|
"sp800" = [ "cshake" "kmac" "tuple_hash" ];
|
|
"tuple_hash" = [ "cshake" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "sha3" ];
|
|
};
|
|
"unicode-segmentation" = rec {
|
|
crateName = "unicode-segmentation";
|
|
version = "1.7.1";
|
|
edition = "2015";
|
|
sha256 = "15n736z0pbj30pj44jb9s9rjavzrmx8v8pzdgsl5yfmfwrxjw3dv";
|
|
authors = [
|
|
"kwantam <kwantam@gmail.com>"
|
|
"Manish Goregaokar <manishsmail@gmail.com>"
|
|
];
|
|
features = {
|
|
};
|
|
};
|
|
"unicode-width" = rec {
|
|
crateName = "unicode-width";
|
|
version = "0.1.8";
|
|
edition = "2015";
|
|
sha256 = "1qxizyi6xbcqyi4z79p523ywvmgsfcgfqb3zv3c8i6x1jcc5jdwk";
|
|
authors = [
|
|
"kwantam <kwantam@gmail.com>"
|
|
"Manish Goregaokar <manishsmail@gmail.com>"
|
|
];
|
|
features = {
|
|
"rustc-dep-of-std" = [ "std" "core" "compiler_builtins" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"unicode-xid" = rec {
|
|
crateName = "unicode-xid";
|
|
version = "0.2.1";
|
|
edition = "2015";
|
|
sha256 = "0r6mknipyy9vpz8mwmxvkx65ff2ha1n2pxqjj6f46lcn8yrhpzpp";
|
|
authors = [
|
|
"erick.tryzelaar <erick.tryzelaar@gmail.com>"
|
|
"kwantam <kwantam@gmail.com>"
|
|
];
|
|
features = {
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"utf8parse" = rec {
|
|
crateName = "utf8parse";
|
|
version = "0.2.0";
|
|
edition = "2018";
|
|
sha256 = "0wjkvy22cxg023vkmvq2wwkgqyqam0d4pjld3m13blfg594lnvlk";
|
|
authors = [
|
|
"Joe Wilm <joe@jwilm.com>"
|
|
"Christian Duerr <contact@christianduerr.com>"
|
|
];
|
|
features = {
|
|
};
|
|
resolvedDefaultFeatures = [ "default" ];
|
|
};
|
|
"wasi 0.10.1+wasi-snapshot-preview1" = rec {
|
|
crateName = "wasi";
|
|
version = "0.10.1+wasi-snapshot-preview1";
|
|
edition = "2018";
|
|
sha256 = "1affhqhp91s1hsxxakdvp60j0mnbgbkjafrpr95wdib3151c7ilk";
|
|
authors = [
|
|
"The Cranelift Project Developers"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"rustc-dep-of-std" = [ "compiler_builtins" "core" "rustc-std-workspace-alloc" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"wasi 0.9.0+wasi-snapshot-preview1" = rec {
|
|
crateName = "wasi";
|
|
version = "0.9.0+wasi-snapshot-preview1";
|
|
edition = "2018";
|
|
sha256 = "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc";
|
|
authors = [
|
|
"The Cranelift Project Developers"
|
|
];
|
|
features = {
|
|
"default" = [ "std" ];
|
|
"rustc-dep-of-std" = [ "compiler_builtins" "core" "rustc-std-workspace-alloc" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "default" "std" ];
|
|
};
|
|
"winapi" = rec {
|
|
crateName = "winapi";
|
|
version = "0.3.9";
|
|
edition = "2015";
|
|
sha256 = "06gl025x418lchw1wxj64ycr7gha83m44cjr5sarhynd9xkrm0sw";
|
|
authors = [
|
|
"Peter Atashian <retep998@gmail.com>"
|
|
];
|
|
dependencies = [
|
|
{
|
|
name = "winapi-i686-pc-windows-gnu";
|
|
packageId = "winapi-i686-pc-windows-gnu";
|
|
target = { target, features }: (stdenv.hostPlatform.config == "i686-pc-windows-gnu");
|
|
}
|
|
{
|
|
name = "winapi-x86_64-pc-windows-gnu";
|
|
packageId = "winapi-x86_64-pc-windows-gnu";
|
|
target = { target, features }: (stdenv.hostPlatform.config == "x86_64-pc-windows-gnu");
|
|
}
|
|
];
|
|
features = {
|
|
"debug" = [ "impl-debug" ];
|
|
};
|
|
resolvedDefaultFeatures = [ "consoleapi" "fileapi" "handleapi" "knownfolders" "libloaderapi" "minwinbase" "minwindef" "ntdef" "ntstatus" "objbase" "processenv" "processthreadsapi" "profileapi" "shlobj" "std" "synchapi" "sysinfoapi" "timezoneapi" "winbase" "wincon" "winerror" "winnt" "winreg" "winuser" ];
|
|
};
|
|
"winapi-i686-pc-windows-gnu" = rec {
|
|
crateName = "winapi-i686-pc-windows-gnu";
|
|
version = "0.4.0";
|
|
edition = "2015";
|
|
sha256 = "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc";
|
|
authors = [
|
|
"Peter Atashian <retep998@gmail.com>"
|
|
];
|
|
|
|
};
|
|
"winapi-x86_64-pc-windows-gnu" = rec {
|
|
crateName = "winapi-x86_64-pc-windows-gnu";
|
|
version = "0.4.0";
|
|
edition = "2015";
|
|
sha256 = "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki";
|
|
authors = [
|
|
"Peter Atashian <retep998@gmail.com>"
|
|
];
|
|
|
|
};
|
|
};
|
|
|
|
#
|
|
# crate2nix/default.nix (excerpt start)
|
|
#
|
|
|
|
/* Target (platform) data for conditional dependencies.
|
|
This corresponds roughly to what buildRustCrate is setting.
|
|
*/
|
|
defaultTarget = {
|
|
unix = true;
|
|
windows = false;
|
|
fuchsia = true;
|
|
test = false;
|
|
|
|
# This doesn't appear to be officially documented anywhere yet.
|
|
# See https://github.com/rust-lang-nursery/rust-forge/issues/101.
|
|
os = if stdenv.hostPlatform.isDarwin
|
|
then "macos"
|
|
else stdenv.hostPlatform.parsed.kernel.name;
|
|
arch = stdenv.hostPlatform.parsed.cpu.name;
|
|
family = "unix";
|
|
env = "gnu";
|
|
endian =
|
|
if stdenv.hostPlatform.parsed.cpu.significantByte.name == "littleEndian"
|
|
then "little" else "big";
|
|
pointer_width = toString stdenv.hostPlatform.parsed.cpu.bits;
|
|
vendor = stdenv.hostPlatform.parsed.vendor.name;
|
|
debug_assertions = false;
|
|
};
|
|
|
|
/* Filters common temp files and build files. */
|
|
# TODO(pkolloch): Substitute with gitignore filter
|
|
sourceFilter = name: type:
|
|
let
|
|
baseName = builtins.baseNameOf (builtins.toString name);
|
|
in
|
|
! (
|
|
# Filter out git
|
|
baseName == ".gitignore"
|
|
|| (type == "directory" && baseName == ".git")
|
|
|
|
# Filter out build results
|
|
|| (
|
|
type == "directory" && (
|
|
baseName == "target"
|
|
|| baseName == "_site"
|
|
|| baseName == ".sass-cache"
|
|
|| baseName == ".jekyll-metadata"
|
|
|| baseName == "build-artifacts"
|
|
)
|
|
)
|
|
|
|
# Filter out nix-build result symlinks
|
|
|| (
|
|
type == "symlink" && lib.hasPrefix "result" baseName
|
|
)
|
|
|
|
# Filter out IDE config
|
|
|| (
|
|
type == "directory" && (
|
|
baseName == ".idea" || baseName == ".vscode"
|
|
)
|
|
) || lib.hasSuffix ".iml" baseName
|
|
|
|
# Filter out nix build files
|
|
|| baseName == "Cargo.nix"
|
|
|
|
# Filter out editor backup / swap files.
|
|
|| lib.hasSuffix "~" baseName
|
|
|| builtins.match "^\\.sw[a-z]$$" baseName != null
|
|
|| builtins.match "^\\..*\\.sw[a-z]$$" baseName != null
|
|
|| lib.hasSuffix ".tmp" baseName
|
|
|| lib.hasSuffix ".bak" baseName
|
|
|| baseName == "tests.nix"
|
|
);
|
|
|
|
/* Returns a crate which depends on successful test execution
|
|
of crate given as the second argument.
|
|
|
|
testCrateFlags: list of flags to pass to the test exectuable
|
|
testInputs: list of packages that should be available during test execution
|
|
*/
|
|
crateWithTest = { crate, testCrate, testCrateFlags, testInputs }:
|
|
assert builtins.typeOf testCrateFlags == "list";
|
|
assert builtins.typeOf testInputs == "list";
|
|
let
|
|
# override the `crate` so that it will build and execute tests instead of
|
|
# building the actual lib and bin targets We just have to pass `--test`
|
|
# to rustc and it will do the right thing. We execute the tests and copy
|
|
# their log and the test executables to $out for later inspection.
|
|
test = let
|
|
drv = testCrate.override (
|
|
_: {
|
|
buildTests = true;
|
|
}
|
|
);
|
|
in
|
|
pkgs.runCommand "run-tests-${testCrate.name}" {
|
|
inherit testCrateFlags;
|
|
buildInputs = testInputs;
|
|
} ''
|
|
set -ex
|
|
cd ${crate.src}
|
|
for file in ${drv}/tests/*; do
|
|
$file $testCrateFlags 2>&1 | tee -a $out
|
|
done
|
|
'';
|
|
in
|
|
crate.overrideAttrs (
|
|
old: {
|
|
checkPhase = ''
|
|
test -e ${test}
|
|
'';
|
|
passthru = (old.passthru or {}) // {
|
|
inherit test;
|
|
};
|
|
}
|
|
);
|
|
|
|
/* A restricted overridable version of builtRustCratesWithFeatures. */
|
|
buildRustCrateWithFeatures =
|
|
{ packageId
|
|
, features ? rootFeatures
|
|
, crateOverrides ? defaultCrateOverrides
|
|
, buildRustCrateFunc ? (
|
|
if crateOverrides == pkgs.defaultCrateOverrides
|
|
then buildRustCrate
|
|
else buildRustCrate.override {
|
|
defaultCrateOverrides = crateOverrides;
|
|
}
|
|
)
|
|
, runTests ? false
|
|
, testCrateFlags ? []
|
|
, testInputs ? []
|
|
}:
|
|
lib.makeOverridable
|
|
(
|
|
{ features, crateOverrides, runTests, testCrateFlags, testInputs }:
|
|
let
|
|
builtRustCrates = builtRustCratesWithFeatures {
|
|
inherit packageId features buildRustCrateFunc;
|
|
runTests = false;
|
|
};
|
|
builtTestRustCrates = builtRustCratesWithFeatures {
|
|
inherit packageId features buildRustCrateFunc;
|
|
runTests = true;
|
|
};
|
|
drv = builtRustCrates.${packageId};
|
|
testDrv = builtTestRustCrates.${packageId};
|
|
in
|
|
if runTests then
|
|
crateWithTest {
|
|
crate = drv;
|
|
testCrate = testDrv;
|
|
inherit testCrateFlags testInputs;
|
|
}
|
|
else drv
|
|
)
|
|
{ inherit features crateOverrides runTests testCrateFlags testInputs; };
|
|
|
|
/* Returns an attr set with packageId mapped to the result of buildRustCrateFunc
|
|
for the corresponding crate.
|
|
*/
|
|
builtRustCratesWithFeatures =
|
|
{ packageId
|
|
, features
|
|
, crateConfigs ? crates
|
|
, buildRustCrateFunc
|
|
, runTests
|
|
, target ? defaultTarget
|
|
} @ args:
|
|
assert (builtins.isAttrs crateConfigs);
|
|
assert (builtins.isString packageId);
|
|
assert (builtins.isList features);
|
|
assert (builtins.isAttrs target);
|
|
assert (builtins.isBool runTests);
|
|
let
|
|
rootPackageId = packageId;
|
|
mergedFeatures = mergePackageFeatures (
|
|
args // {
|
|
inherit rootPackageId;
|
|
target = target // { test = runTests; };
|
|
}
|
|
);
|
|
|
|
buildByPackageId = packageId: buildByPackageIdImpl packageId;
|
|
|
|
# Memoize built packages so that reappearing packages are only built once.
|
|
builtByPackageId =
|
|
lib.mapAttrs (packageId: value: buildByPackageId packageId) crateConfigs;
|
|
|
|
buildByPackageIdImpl = packageId:
|
|
let
|
|
features = mergedFeatures."${packageId}" or [];
|
|
crateConfig' = crateConfigs."${packageId}";
|
|
crateConfig =
|
|
builtins.removeAttrs crateConfig' [ "resolvedDefaultFeatures" "devDependencies" ];
|
|
devDependencies =
|
|
lib.optionals
|
|
(runTests && packageId == rootPackageId)
|
|
(crateConfig'.devDependencies or []);
|
|
dependencies =
|
|
dependencyDerivations {
|
|
inherit builtByPackageId features target;
|
|
dependencies =
|
|
(crateConfig.dependencies or [])
|
|
++ devDependencies;
|
|
};
|
|
buildDependencies =
|
|
dependencyDerivations {
|
|
inherit builtByPackageId features target;
|
|
dependencies = crateConfig.buildDependencies or [];
|
|
};
|
|
|
|
filterEnabledDependenciesForThis = dependencies: filterEnabledDependencies {
|
|
inherit dependencies features target;
|
|
};
|
|
|
|
dependenciesWithRenames =
|
|
lib.filter (d: d ? "rename") (
|
|
filterEnabledDependenciesForThis
|
|
(
|
|
(crateConfig.buildDependencies or [])
|
|
++ (crateConfig.dependencies or [])
|
|
++ devDependencies
|
|
)
|
|
);
|
|
|
|
crateRenames =
|
|
builtins.listToAttrs
|
|
(map (d: { name = d.name; value = d.rename; }) dependenciesWithRenames);
|
|
in
|
|
buildRustCrateFunc (
|
|
crateConfig // {
|
|
src = crateConfig.src or (
|
|
pkgs.fetchurl {
|
|
name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz";
|
|
url = "https://crates.io/api/v1/crates/${crateConfig.crateName}/${crateConfig.version}/download";
|
|
sha256 = crateConfig.sha256;
|
|
}
|
|
);
|
|
inherit features dependencies buildDependencies crateRenames release;
|
|
}
|
|
);
|
|
in
|
|
builtByPackageId;
|
|
|
|
/* Returns the actual derivations for the given dependencies. */
|
|
dependencyDerivations =
|
|
{ builtByPackageId
|
|
, features
|
|
, dependencies
|
|
, target
|
|
}:
|
|
assert (builtins.isAttrs builtByPackageId);
|
|
assert (builtins.isList features);
|
|
assert (builtins.isList dependencies);
|
|
assert (builtins.isAttrs target);
|
|
let
|
|
enabledDependencies = filterEnabledDependencies {
|
|
inherit dependencies features target;
|
|
};
|
|
depDerivation = dependency: builtByPackageId.${dependency.packageId};
|
|
in
|
|
map depDerivation enabledDependencies;
|
|
|
|
/* Returns a sanitized version of val with all values substituted that cannot
|
|
be serialized as JSON.
|
|
*/
|
|
sanitizeForJson = val:
|
|
if builtins.isAttrs val
|
|
then lib.mapAttrs (n: v: sanitizeForJson v) val
|
|
else if builtins.isList val
|
|
then builtins.map sanitizeForJson val
|
|
else if builtins.isFunction val
|
|
then "function"
|
|
else val;
|
|
|
|
/* Returns various tools to debug a crate. */
|
|
debugCrate = { packageId, target ? defaultTarget }:
|
|
assert (builtins.isString packageId);
|
|
let
|
|
debug = rec {
|
|
# The built tree as passed to buildRustCrate.
|
|
buildTree = buildRustCrateWithFeatures {
|
|
buildRustCrateFunc = lib.id;
|
|
inherit packageId;
|
|
};
|
|
sanitizedBuildTree = sanitizeForJson buildTree;
|
|
dependencyTree = sanitizeForJson (
|
|
buildRustCrateWithFeatures {
|
|
buildRustCrateFunc = crate: {
|
|
"01_crateName" = crate.crateName or false;
|
|
"02_features" = crate.features or [];
|
|
"03_dependencies" = crate.dependencies or [];
|
|
};
|
|
inherit packageId;
|
|
}
|
|
);
|
|
mergedPackageFeatures = mergePackageFeatures {
|
|
features = rootFeatures;
|
|
inherit packageId target;
|
|
};
|
|
diffedDefaultPackageFeatures = diffDefaultPackageFeatures {
|
|
inherit packageId target;
|
|
};
|
|
};
|
|
in
|
|
{ internal = debug; };
|
|
|
|
/* Returns differences between cargo default features and crate2nix default
|
|
features.
|
|
|
|
This is useful for verifying the feature resolution in crate2nix.
|
|
*/
|
|
diffDefaultPackageFeatures =
|
|
{ crateConfigs ? crates
|
|
, packageId
|
|
, target
|
|
}:
|
|
assert (builtins.isAttrs crateConfigs);
|
|
let
|
|
prefixValues = prefix: lib.mapAttrs (n: v: { "${prefix}" = v; });
|
|
mergedFeatures =
|
|
prefixValues
|
|
"crate2nix"
|
|
(mergePackageFeatures { inherit crateConfigs packageId target; features = [ "default" ]; });
|
|
configs = prefixValues "cargo" crateConfigs;
|
|
combined = lib.foldAttrs (a: b: a // b) {} [ mergedFeatures configs ];
|
|
onlyInCargo =
|
|
builtins.attrNames
|
|
(lib.filterAttrs (n: v: !(v ? "crate2nix") && (v ? "cargo")) combined);
|
|
onlyInCrate2Nix =
|
|
builtins.attrNames
|
|
(lib.filterAttrs (n: v: (v ? "crate2nix") && !(v ? "cargo")) combined);
|
|
differentFeatures = lib.filterAttrs
|
|
(
|
|
n: v:
|
|
(v ? "crate2nix")
|
|
&& (v ? "cargo")
|
|
&& (v.crate2nix.features or []) != (v."cargo".resolved_default_features or [])
|
|
)
|
|
combined;
|
|
in
|
|
builtins.toJSON {
|
|
inherit onlyInCargo onlyInCrate2Nix differentFeatures;
|
|
};
|
|
|
|
/* Returns an attrset mapping packageId to the list of enabled features.
|
|
|
|
If multiple paths to a dependency enable different features, the
|
|
corresponding feature sets are merged. Features in rust are additive.
|
|
*/
|
|
mergePackageFeatures =
|
|
{ crateConfigs ? crates
|
|
, packageId
|
|
, rootPackageId ? packageId
|
|
, features ? rootFeatures
|
|
, dependencyPath ? [ crates.${packageId}.crateName ]
|
|
, featuresByPackageId ? {}
|
|
, target
|
|
# Adds devDependencies to the crate with rootPackageId.
|
|
, runTests ? false
|
|
, ...
|
|
} @ args:
|
|
assert (builtins.isAttrs crateConfigs);
|
|
assert (builtins.isString packageId);
|
|
assert (builtins.isString rootPackageId);
|
|
assert (builtins.isList features);
|
|
assert (builtins.isList dependencyPath);
|
|
assert (builtins.isAttrs featuresByPackageId);
|
|
assert (builtins.isAttrs target);
|
|
assert (builtins.isBool runTests);
|
|
let
|
|
crateConfig = crateConfigs."${packageId}" or (builtins.throw "Package not found: ${packageId}");
|
|
expandedFeatures = expandFeatures (crateConfig.features or {}) features;
|
|
|
|
depWithResolvedFeatures = dependency:
|
|
let
|
|
packageId = dependency.packageId;
|
|
features = dependencyFeatures expandedFeatures dependency;
|
|
in
|
|
{ inherit packageId features; };
|
|
|
|
resolveDependencies = cache: path: dependencies:
|
|
assert (builtins.isAttrs cache);
|
|
assert (builtins.isList dependencies);
|
|
let
|
|
enabledDependencies = filterEnabledDependencies {
|
|
inherit dependencies target;
|
|
features = expandedFeatures;
|
|
};
|
|
directDependencies = map depWithResolvedFeatures enabledDependencies;
|
|
foldOverCache = op: lib.foldl op cache directDependencies;
|
|
in
|
|
foldOverCache
|
|
(
|
|
cache: { packageId, features }:
|
|
let
|
|
cacheFeatures = cache.${packageId} or [];
|
|
combinedFeatures = sortedUnique (cacheFeatures ++ features);
|
|
in
|
|
if cache ? ${packageId} && cache.${packageId} == combinedFeatures
|
|
then cache
|
|
else mergePackageFeatures {
|
|
features = combinedFeatures;
|
|
featuresByPackageId = cache;
|
|
inherit crateConfigs packageId target runTests rootPackageId;
|
|
}
|
|
);
|
|
|
|
cacheWithSelf =
|
|
let
|
|
cacheFeatures = featuresByPackageId.${packageId} or [];
|
|
combinedFeatures = sortedUnique (cacheFeatures ++ expandedFeatures);
|
|
in
|
|
featuresByPackageId // {
|
|
"${packageId}" = combinedFeatures;
|
|
};
|
|
|
|
cacheWithDependencies =
|
|
resolveDependencies cacheWithSelf "dep" (
|
|
crateConfig.dependencies or []
|
|
++ lib.optionals
|
|
(runTests && packageId == rootPackageId)
|
|
(crateConfig.devDependencies or [])
|
|
);
|
|
|
|
cacheWithAll =
|
|
resolveDependencies
|
|
cacheWithDependencies "build"
|
|
(crateConfig.buildDependencies or []);
|
|
in
|
|
cacheWithAll;
|
|
|
|
/* Returns the enabled dependencies given the enabled features. */
|
|
filterEnabledDependencies = { dependencies, features, target }:
|
|
assert (builtins.isList dependencies);
|
|
assert (builtins.isList features);
|
|
assert (builtins.isAttrs target);
|
|
|
|
lib.filter
|
|
(
|
|
dep:
|
|
let
|
|
targetFunc = dep.target or (features: true);
|
|
in
|
|
targetFunc { inherit features target; }
|
|
&& (
|
|
!(dep.optional or false)
|
|
|| builtins.any (doesFeatureEnableDependency dep) features
|
|
)
|
|
)
|
|
dependencies;
|
|
|
|
/* Returns whether the given feature should enable the given dependency. */
|
|
doesFeatureEnableDependency = { name, rename ? null, ... }: feature:
|
|
let
|
|
prefix = "${name}/";
|
|
len = builtins.stringLength prefix;
|
|
startsWithPrefix = builtins.substring 0 len feature == prefix;
|
|
in
|
|
(rename == null && feature == name)
|
|
|| (rename != null && rename == feature)
|
|
|| startsWithPrefix;
|
|
|
|
/* Returns the expanded features for the given inputFeatures by applying the
|
|
rules in featureMap.
|
|
|
|
featureMap is an attribute set which maps feature names to lists of further
|
|
feature names to enable in case this feature is selected.
|
|
*/
|
|
expandFeatures = featureMap: inputFeatures:
|
|
assert (builtins.isAttrs featureMap);
|
|
assert (builtins.isList inputFeatures);
|
|
let
|
|
expandFeature = feature:
|
|
assert (builtins.isString feature);
|
|
[ feature ] ++ (expandFeatures featureMap (featureMap."${feature}" or []));
|
|
outFeatures = builtins.concatMap expandFeature inputFeatures;
|
|
in
|
|
sortedUnique outFeatures;
|
|
|
|
/*
|
|
Returns the actual features for the given dependency.
|
|
|
|
features: The features of the crate that refers this dependency.
|
|
*/
|
|
dependencyFeatures = features: dependency:
|
|
assert (builtins.isList features);
|
|
assert (builtins.isAttrs dependency);
|
|
let
|
|
defaultOrNil = if dependency.usesDefaultFeatures or true
|
|
then [ "default" ]
|
|
else [];
|
|
explicitFeatures = dependency.features or [];
|
|
additionalDependencyFeatures =
|
|
let
|
|
dependencyPrefix = (dependency.rename or dependency.name) + "/";
|
|
dependencyFeatures =
|
|
builtins.filter (f: lib.hasPrefix dependencyPrefix f) features;
|
|
in
|
|
builtins.map (lib.removePrefix dependencyPrefix) dependencyFeatures;
|
|
in
|
|
defaultOrNil ++ explicitFeatures ++ additionalDependencyFeatures;
|
|
|
|
/* Sorts and removes duplicates from a list of strings. */
|
|
sortedUnique = features:
|
|
assert (builtins.isList features);
|
|
assert (builtins.all builtins.isString features);
|
|
let
|
|
outFeaturesSet = lib.foldl (set: feature: set // { "${feature}" = 1; }) {} features;
|
|
outFeaturesUnique = builtins.attrNames outFeaturesSet;
|
|
in
|
|
builtins.sort (a: b: a < b) outFeaturesUnique;
|
|
|
|
deprecationWarning = message: value:
|
|
if strictDeprecation
|
|
then builtins.throw "strictDeprecation enabled, aborting: ${message}"
|
|
else builtins.trace message value;
|
|
|
|
#
|
|
# crate2nix/default.nix (excerpt end)
|
|
#
|
|
|
|
};
|
|
}
|