ofborg/Cargo.nix
Daiderd Jordan ec4decddcc lapin: 1.0.0-beta4 -> 1.0.0-rc6
Turns out this was totally fine.

This reverts commit 16d8b612cb.
2020-05-25 14:31:43 -07:00

4939 lines
145 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.
#
# Refer your crate build derivation by name here.
# You can override the features with
# workspaceMembers."${crateName}".build.override { features = [ "default" "feature1" ... ]; }.
workspaceMembers = {
"ofborg" = rec {
packageId = "ofborg";
build = internal.buildRustCrateWithFeatures {
packageId = "ofborg";
};
# Debug support which might change between releases.
# File a bug if you depend on any for non-debug work!
debug = internal.debugCrate { inherit packageId; };
};
"ofborg-simple-build" = rec {
packageId = "ofborg-simple-build";
build = internal.buildRustCrateWithFeatures {
packageId = "ofborg-simple-build";
};
# 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 = {
"addr2line" = rec {
crateName = "addr2line";
version = "0.12.1";
edition = "2015";
sha256 = "0hq5gi2hj1mdm6yjy0a9w8525xyp194p4zn9wxhkr16wvawhd654";
authors = [
"Nick Fitzgerald <fitzgen@gmail.com>"
"Philip Craig <philipjcraig@gmail.com>"
"Jon Gjengset <jon@thesquareplanet.com>"
"Noah Bergbauer <noah.bergbauer@tum.de>"
];
dependencies = [
{
name = "gimli";
packageId = "gimli";
usesDefaultFeatures = false;
features = [ "read" ];
}
];
features = {
"default" = [ "rustc-demangle" "cpp_demangle" "std-object" "fallible-iterator" "smallvec" ];
"std" = [ "gimli/std" ];
"std-object" = [ "std" "object" "object/std" "object/compression" "gimli/endian-reader" ];
};
};
"aho-corasick" = rec {
crateName = "aho-corasick";
version = "0.7.10";
edition = "2015";
sha256 = "1nka9509afjgal6lpymn8w2lq11dmjwxs8yjcmzys966if5l05l7";
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" ];
};
"amq-protocol" = rec {
crateName = "amq-protocol";
version = "6.0.0-rc7";
edition = "2018";
sha256 = "06ys8l0qd031z26nprhsqmq6skwals2ylpav3kgkvbk0d5gwy1zi";
libName = "amq_protocol";
authors = [
"Marc-Antoine Perennou <%arc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "amq-protocol-tcp";
packageId = "amq-protocol-tcp";
usesDefaultFeatures = false;
}
{
name = "amq-protocol-types";
packageId = "amq-protocol-types";
}
{
name = "amq-protocol-uri";
packageId = "amq-protocol-uri";
}
{
name = "cookie-factory";
packageId = "cookie-factory";
features = [ "std" ];
}
{
name = "nom";
packageId = "nom 6.0.0-alpha1";
features = [ "std" ];
}
];
buildDependencies = [
{
name = "amq-protocol-codegen";
packageId = "amq-protocol-codegen";
}
];
features = {
"default" = [ "native-tls" ];
"native-tls" = [ "amq-protocol-tcp/native-tls" ];
"openssl" = [ "amq-protocol-tcp/openssl" ];
"rustls" = [ "amq-protocol-tcp/rustls" ];
"rustls-native-certs" = [ "amq-protocol-tcp/rustls-native-certs" ];
"rustls-webpki-roots-certs" = [ "amq-protocol-tcp/rustls-webpki-roots-certs" ];
"vendored-openssl" = [ "amq-protocol-tcp/vendored-openssl" ];
"verbose-errors" = [ "amq-protocol-types/verbose-errors" ];
};
resolvedDefaultFeatures = [ "native-tls" ];
};
"amq-protocol-codegen" = rec {
crateName = "amq-protocol-codegen";
version = "6.0.0-rc7";
edition = "2018";
sha256 = "0di623y8pcpw15zhkckbca480qg99ih2lsqqjnlgm1b13n4sfl8z";
libName = "amq_protocol_codegen";
authors = [
"Marc-Antoine Perennou <%arc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "amq-protocol-types";
packageId = "amq-protocol-types";
}
{
name = "handlebars";
packageId = "handlebars";
}
{
name = "serde";
packageId = "serde";
features = [ "derive" ];
}
{
name = "serde_json";
packageId = "serde_json";
}
];
};
"amq-protocol-tcp" = rec {
crateName = "amq-protocol-tcp";
version = "6.0.0-rc7";
edition = "2018";
sha256 = "11yq8589vi0kcr1rivc97r9sm75g7jhrb58j7dppgd1875v6225n";
libName = "amq_protocol_tcp";
authors = [
"Marc-Antoine Perennou <%arc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "amq-protocol-uri";
packageId = "amq-protocol-uri";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "tcp-stream";
packageId = "tcp-stream";
usesDefaultFeatures = false;
}
];
features = {
"default" = [ "native-tls" ];
"native-tls" = [ "tcp-stream/native-tls" ];
"openssl" = [ "tcp-stream/openssl" ];
"rustls" = [ "rustls-native-certs" ];
"rustls-connector" = [ "tcp-stream/rustls-connector" ];
"rustls-native-certs" = [ "tcp-stream/rustls-native-certs" "rustls-connector" ];
"rustls-webpki-roots-certs" = [ "tcp-stream/rustls-webpki-roots-certs" "rustls-connector" ];
"vendored-openssl" = [ "tcp-stream/vendored-openssl" ];
};
resolvedDefaultFeatures = [ "native-tls" ];
};
"amq-protocol-types" = rec {
crateName = "amq-protocol-types";
version = "6.0.0-rc7";
edition = "2018";
sha256 = "15dsxydv32g3j9sf0mfpqi8sa85ma3m5vwv2yi1hq80nd61w1qh0";
libName = "amq_protocol_types";
authors = [
"Marc-Antoine Perennou <%arc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "cookie-factory";
packageId = "cookie-factory";
features = [ "std" ];
}
{
name = "nom";
packageId = "nom 6.0.0-alpha1";
features = [ "std" ];
}
{
name = "serde";
packageId = "serde";
features = [ "derive" ];
}
{
name = "serde_json";
packageId = "serde_json";
}
];
features = {
};
};
"amq-protocol-uri" = rec {
crateName = "amq-protocol-uri";
version = "6.0.0-rc7";
edition = "2018";
sha256 = "05fj5an4ixfgl7kh4vf55xaa2v6grj6bpxcf4wqx4klff11172bv";
libName = "amq_protocol_uri";
authors = [
"Marc-Antoine Perennou <%arc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "percent-encoding";
packageId = "percent-encoding 2.1.0";
}
{
name = "url";
packageId = "url 2.1.1";
}
];
};
"ansi_term" = rec {
crateName = "ansi_term";
version = "0.11.0";
edition = "2015";
sha256 = "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf";
authors = [
"ogham@bsago.me"
"Ryan Scheel (Havvy) <ryan.havvy@gmail.com>"
"Josh Triplett <josh@joshtriplett.org>"
];
dependencies = [
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: (target."os" == "windows");
features = [ "errhandlingapi" "consoleapi" "processenv" ];
}
];
};
"antidote" = rec {
crateName = "antidote";
version = "1.0.0";
edition = "2015";
sha256 = "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
};
"arrayvec" = rec {
crateName = "arrayvec";
version = "0.5.1";
edition = "2018";
sha256 = "1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg";
authors = [
"bluss"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "array-sizes-33-128" "default" "std" ];
};
"async-std" = rec {
crateName = "async-std";
version = "1.5.0";
edition = "2018";
sha256 = "0rxjhlhyvbrd8yd369vp0izr3g0cakvvdrc741vwvvk4xc0wp3jk";
authors = [
"Stjepan Glavina <stjepang@gmail.com>"
"Yoshua Wuyts <yoshuawuyts@gmail.com>"
"Contributors to async-std"
];
dependencies = [
{
name = "async-task";
packageId = "async-task 1.3.1";
optional = true;
}
{
name = "crossbeam-channel";
packageId = "crossbeam-channel";
optional = true;
}
{
name = "crossbeam-deque";
packageId = "crossbeam-deque";
optional = true;
}
{
name = "crossbeam-utils";
packageId = "crossbeam-utils";
optional = true;
}
{
name = "futures-core";
packageId = "futures-core";
optional = true;
}
{
name = "futures-io";
packageId = "futures-io";
optional = true;
}
{
name = "futures-timer";
packageId = "futures-timer";
optional = true;
}
{
name = "kv-log-macro";
packageId = "kv-log-macro";
optional = true;
}
{
name = "log";
packageId = "log 0.4.8";
optional = true;
features = [ "kv_unstable" ];
}
{
name = "memchr";
packageId = "memchr";
optional = true;
}
{
name = "mio";
packageId = "mio 0.6.22";
optional = true;
}
{
name = "mio-uds";
packageId = "mio-uds";
optional = true;
}
{
name = "num_cpus";
packageId = "num_cpus";
optional = true;
}
{
name = "once_cell";
packageId = "once_cell";
optional = true;
}
{
name = "pin-project-lite";
packageId = "pin-project-lite";
optional = true;
}
{
name = "pin-utils";
packageId = "pin-utils";
optional = true;
}
{
name = "slab";
packageId = "slab";
optional = true;
}
];
features = {
"attributes" = [ "async-attributes" ];
"default" = [ "std" "async-task" "crossbeam-channel" "crossbeam-deque" "futures-timer" "kv-log-macro" "log" "mio" "mio-uds" "num_cpus" "pin-project-lite" ];
"docs" = [ "attributes" "unstable" "default" ];
"std" = [ "crossbeam-utils" "futures-core" "futures-io" "memchr" "once_cell" "pin-project-lite" "pin-utils" "slab" ];
"unstable" = [ "std" "broadcaster" "futures-timer" ];
};
resolvedDefaultFeatures = [ "async-task" "crossbeam-channel" "crossbeam-deque" "crossbeam-utils" "default" "futures-core" "futures-io" "futures-timer" "kv-log-macro" "log" "memchr" "mio" "mio-uds" "num_cpus" "once_cell" "pin-project-lite" "pin-utils" "slab" "std" ];
};
"async-task 1.3.1" = rec {
crateName = "async-task";
version = "1.3.1";
edition = "2018";
sha256 = "0p88087z43zvv924my16a17qd65kdlv1r59h80h73rvrn0bc1hha";
authors = [
"Stjepan Glavina <stjepang@gmail.com>"
];
dependencies = [
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "processthreadsapi" ];
}
];
};
"async-task 3.0.0" = rec {
crateName = "async-task";
version = "3.0.0";
edition = "2018";
sha256 = "1lrm7cm9dpashmkbqa8mvglbf85gadviqil7qnnrm0pjdqap4xy1";
authors = [
"Stjepan Glavina <stjepang@gmail.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"autocfg" = rec {
crateName = "autocfg";
version = "1.0.0";
edition = "2015";
sha256 = "17cv6pwb4q08s0ynpr4n8hv5299hcmhdgvdchzixfpw8y5qcgapq";
authors = [
"Josh Stone <cuviper@gmail.com>"
];
};
"backtrace" = rec {
crateName = "backtrace";
version = "0.3.48";
edition = "2018";
sha256 = "0c61qxwclpiz4ba6mcfyix2s0xlvvlphaj77syvy7frai9fgiwhd";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "addr2line";
packageId = "addr2line";
optional = true;
usesDefaultFeatures = false;
}
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "libc";
packageId = "libc";
usesDefaultFeatures = false;
}
{
name = "object";
packageId = "object";
optional = true;
usesDefaultFeatures = false;
features = [ "read_core" "elf" "macho" "pe" ];
}
{
name = "rustc-demangle";
packageId = "rustc-demangle";
}
];
features = {
"default" = [ "std" "gimli-symbolize" ];
"gimli-symbolize" = [ "addr2line" "object" "std" ];
"libbacktrace" = [ "backtrace-sys/backtrace-sys" ];
"rustc-dep-of-std" = [ "backtrace-sys/rustc-dep-of-std" "cfg-if/rustc-dep-of-std" "core" "compiler_builtins" "libc/rustc-dep-of-std" "rustc-demangle/rustc-dep-of-std" ];
"serialize-rustc" = [ "rustc-serialize" ];
"serialize-serde" = [ "serde" ];
"verify-winapi" = [ "winapi/dbghelp" "winapi/handleapi" "winapi/libloaderapi" "winapi/memoryapi" "winapi/minwindef" "winapi/processthreadsapi" "winapi/synchapi" "winapi/winbase" "winapi/winnt" ];
};
resolvedDefaultFeatures = [ "addr2line" "default" "gimli-symbolize" "object" "std" ];
};
"base64 0.10.1" = rec {
crateName = "base64";
version = "0.10.1";
edition = "2015";
sha256 = "13k6bvd3n6dm7jqn9x918w65dd9xhx454bqphbnv0bkd6n9dj98b";
authors = [
"Alice Maz <alice@alicemaz.com>"
"Marshall Pierce <marshall@mpierce.org>"
];
dependencies = [
{
name = "byteorder";
packageId = "byteorder";
}
];
};
"base64 0.11.0" = rec {
crateName = "base64";
version = "0.11.0";
edition = "2018";
sha256 = "1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl";
authors = [
"Alice Maz <alice@alicemaz.com>"
"Marshall Pierce <marshall@mpierce.org>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"base64 0.9.3" = rec {
crateName = "base64";
version = "0.9.3";
edition = "2015";
sha256 = "0hs62r35bgxslawyrn1vp9rmvrkkm76fqv0vqcwd048vs876r7a8";
authors = [
"Alice Maz <alice@alicemaz.com>"
"Marshall Pierce <marshall@mpierce.org>"
];
dependencies = [
{
name = "byteorder";
packageId = "byteorder";
}
{
name = "safemem";
packageId = "safemem";
}
];
};
"bitflags" = rec {
crateName = "bitflags";
version = "1.2.1";
edition = "2015";
sha256 = "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg";
authors = [
"The Rust Project Developers"
];
features = {
};
resolvedDefaultFeatures = [ "default" ];
};
"block-buffer" = rec {
crateName = "block-buffer";
version = "0.7.3";
edition = "2015";
sha256 = "12v8wizynqin0hqf140kmp9s38q223mp1b0hkqk8j5pk8720v560";
authors = [
"RustCrypto Developers"
];
dependencies = [
{
name = "block-padding";
packageId = "block-padding";
}
{
name = "byte-tools";
packageId = "byte-tools";
}
{
name = "byteorder";
packageId = "byteorder";
usesDefaultFeatures = false;
}
{
name = "generic-array";
packageId = "generic-array";
}
];
};
"block-padding" = rec {
crateName = "block-padding";
version = "0.1.5";
edition = "2015";
sha256 = "1xbkmysiz23vimd17rnsjpw9bgjxipwfslwyygqlkx4in3dxwygs";
authors = [
"RustCrypto Developers"
];
dependencies = [
{
name = "byte-tools";
packageId = "byte-tools";
}
];
};
"byte-tools" = rec {
crateName = "byte-tools";
version = "0.3.1";
edition = "2015";
sha256 = "1mqi29wsm8njpl51pfwr31wmpzs5ahlcb40wsjyd92l90ixcmdg3";
authors = [
"RustCrypto Developers"
];
};
"byteorder" = rec {
crateName = "byteorder";
version = "1.3.4";
edition = "2015";
sha256 = "1pkjfhgjnq898g1d38ygcfi0msg3m6756cwv0sgysj1d26p8mi08";
authors = [
"Andrew Gallant <jamslam@gmail.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"cc" = rec {
crateName = "cc";
version = "1.0.54";
edition = "2018";
crateBin = [];
sha256 = "04c31hi55lhv1kkssixa3wjjx6izlbxx01z36j86w9616vdp7fvv";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
features = {
"parallel" = [ "jobserver" ];
};
};
"cfg-if" = 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" ];
};
};
"chrono" = rec {
crateName = "chrono";
version = "0.4.11";
edition = "2015";
sha256 = "1cmmxamkzzs36zncqjjr7qm7xkb6zyrkjslnlj3axdgqki84y2c0";
authors = [
"Kang Seonghoon <public+rust@mearie.org>"
"Brandon W Maister <quodlibetor@gmail.com>"
];
dependencies = [
{
name = "num-integer";
packageId = "num-integer";
usesDefaultFeatures = false;
}
{
name = "num-traits";
packageId = "num-traits";
usesDefaultFeatures = false;
}
{
name = "time";
packageId = "time";
optional = true;
}
];
features = {
"clock" = [ "time" "std" ];
"default" = [ "clock" "std" ];
"wasmbind" = [ "wasm-bindgen" "js-sys" ];
};
resolvedDefaultFeatures = [ "clock" "default" "std" "time" ];
};
"cloudabi" = rec {
crateName = "cloudabi";
version = "0.0.3";
edition = "2015";
sha256 = "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x";
libPath = "cloudabi.rs";
authors = [
"Nuxi (https://nuxi.nl/) and contributors"
];
dependencies = [
{
name = "bitflags";
packageId = "bitflags";
optional = true;
}
];
features = {
"default" = [ "bitflags" ];
};
resolvedDefaultFeatures = [ "bitflags" "default" ];
};
"cookie-factory" = rec {
crateName = "cookie-factory";
version = "0.3.1";
edition = "2018";
sha256 = "079qy27w42dz2mj4q6pb9zbi15mvcxb464j8an8vh31g3mc1pwj1";
authors = [
"Geoffroy Couprie <geo.couprie@gmail.com>"
"Pierre Chifflier <chifflier@wzdftpd.net>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"core-foundation" = rec {
crateName = "core-foundation";
version = "0.7.0";
edition = "2015";
sha256 = "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp";
authors = [
"The Servo Project Developers"
];
dependencies = [
{
name = "core-foundation-sys";
packageId = "core-foundation-sys";
}
{
name = "libc";
packageId = "libc";
}
];
features = {
"mac_os_10_7_support" = [ "core-foundation-sys/mac_os_10_7_support" ];
"mac_os_10_8_features" = [ "core-foundation-sys/mac_os_10_8_features" ];
"with-chrono" = [ "chrono" ];
"with-uuid" = [ "uuid" ];
};
};
"core-foundation-sys" = rec {
crateName = "core-foundation-sys";
version = "0.7.0";
edition = "2015";
sha256 = "1b5qfnnmg49sawwfsb0c0wbj81bqi7h7lh68pmhbidf0jjs1m9xk";
authors = [
"The Servo Project Developers"
];
features = {
};
};
"crossbeam-channel" = rec {
crateName = "crossbeam-channel";
version = "0.4.2";
edition = "2015";
sha256 = "0qd05n5bcwafkmbzq1lspwrfi29xnzlw46qarg1sl0lwj68qdvfc";
authors = [
"The Crossbeam Project Developers"
];
dependencies = [
{
name = "crossbeam-utils";
packageId = "crossbeam-utils";
}
{
name = "maybe-uninit";
packageId = "maybe-uninit";
}
];
};
"crossbeam-deque" = rec {
crateName = "crossbeam-deque";
version = "0.7.3";
edition = "2015";
sha256 = "11c2c0x5grdba3ah3g94yn6b8s47xi8qwm85h8hq5vmf9nbsy0lz";
authors = [
"The Crossbeam Project Developers"
];
dependencies = [
{
name = "crossbeam-epoch";
packageId = "crossbeam-epoch";
}
{
name = "crossbeam-utils";
packageId = "crossbeam-utils";
}
{
name = "maybe-uninit";
packageId = "maybe-uninit";
}
];
};
"crossbeam-epoch" = rec {
crateName = "crossbeam-epoch";
version = "0.8.2";
edition = "2015";
sha256 = "1knsf0zz7rgzxn0nwz5gajjcrivxpw3zrdcp946gdhdgr9sd53h5";
authors = [
"The Crossbeam Project Developers"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "crossbeam-utils";
packageId = "crossbeam-utils";
usesDefaultFeatures = false;
}
{
name = "lazy_static";
packageId = "lazy_static";
optional = true;
}
{
name = "maybe-uninit";
packageId = "maybe-uninit";
}
{
name = "memoffset";
packageId = "memoffset";
}
{
name = "scopeguard";
packageId = "scopeguard";
usesDefaultFeatures = false;
}
];
buildDependencies = [
{
name = "autocfg";
packageId = "autocfg";
}
];
features = {
"alloc" = [ "crossbeam-utils/alloc" ];
"default" = [ "std" ];
"nightly" = [ "crossbeam-utils/nightly" ];
"std" = [ "crossbeam-utils/std" "lazy_static" ];
};
resolvedDefaultFeatures = [ "default" "lazy_static" "std" ];
};
"crossbeam-utils" = rec {
crateName = "crossbeam-utils";
version = "0.7.2";
edition = "2015";
sha256 = "1a31wbrda1320gj2a6az1lin2d34xfc3xf88da4c17qy5lxcgiy3";
authors = [
"The Crossbeam Project Developers"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "lazy_static";
packageId = "lazy_static";
optional = true;
}
];
buildDependencies = [
{
name = "autocfg";
packageId = "autocfg";
}
];
features = {
"default" = [ "std" ];
"std" = [ "lazy_static" ];
};
resolvedDefaultFeatures = [ "default" "lazy_static" "std" ];
};
"digest" = rec {
crateName = "digest";
version = "0.8.1";
edition = "2015";
sha256 = "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k";
authors = [
"RustCrypto Developers"
];
dependencies = [
{
name = "generic-array";
packageId = "generic-array";
}
];
features = {
"dev" = [ "blobby" ];
};
};
"doc-comment" = rec {
crateName = "doc-comment";
version = "0.3.3";
edition = "2015";
sha256 = "043sprsf3wl926zmck1bm7gw0jq50mb76lkpk49vasfr6ax1p97y";
libName = "doc_comment";
authors = [
"Guillaume Gomez <guillaume1.gomez@gmail.com>"
];
features = {
};
};
"either" = rec {
crateName = "either";
version = "1.5.3";
edition = "2015";
sha256 = "1qyz1b1acad6w0k5928jw5zaq900zhsk7p8dlcp4hh61w4f6n7xv";
authors = [
"bluss"
];
features = {
"default" = [ "use_std" ];
};
resolvedDefaultFeatures = [ "default" "use_std" ];
};
"error-chain" = rec {
crateName = "error-chain";
version = "0.10.0";
edition = "2015";
sha256 = "1y1gyj9g5c3k1nzkvxrgry8v9k86kcc585mczrm3qz019s35shyr";
authors = [
"Brian Anderson <banderson@mozilla.com>"
"Paul Colomiets <paul@colomiets.name>"
"Colin Kiegel <kiegel@gmx.de>"
"Yamakaky <yamakaky@yamaworld.fr>"
];
dependencies = [
{
name = "backtrace";
packageId = "backtrace";
optional = true;
}
];
features = {
"default" = [ "backtrace" "example_generated" ];
};
resolvedDefaultFeatures = [ "backtrace" "default" "example_generated" ];
};
"fake-simd" = rec {
crateName = "fake-simd";
version = "0.1.2";
edition = "2015";
sha256 = "1vfylvk4va2ivqx85603lyqqp0zk52cgbs4n5nfbbbqx577qm2p8";
authors = [
"The Rust-Crypto Project Developers"
];
};
"foreign-types" = rec {
crateName = "foreign-types";
version = "0.3.2";
edition = "2015";
sha256 = "1cgk0vyd7r45cj769jym4a6s7vwshvd0z4bqrb92q1fwibmkkwzn";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
dependencies = [
{
name = "foreign-types-shared";
packageId = "foreign-types-shared";
}
];
};
"foreign-types-shared" = rec {
crateName = "foreign-types-shared";
version = "0.1.1";
edition = "2015";
sha256 = "0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
};
"frank_jwt" = rec {
crateName = "frank_jwt";
version = "3.1.2";
edition = "2015";
sha256 = "0zyp4wrq09d4cj55f4imiy2if4kqi8mcx9dx62x50k8fvw16xcfb";
authors = [
"Alex Maslakov <me@gildedhonour.me>"
];
dependencies = [
{
name = "base64";
packageId = "base64 0.10.1";
}
{
name = "openssl";
packageId = "openssl";
}
{
name = "serde";
packageId = "serde";
}
{
name = "serde_json";
packageId = "serde_json";
}
];
};
"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 0.3.8";
target = { target, features }: target."windows";
features = [ "handleapi" "processthreadsapi" "winerror" "fileapi" "winbase" "std" ];
}
];
};
"fuchsia-cprng" = rec {
crateName = "fuchsia-cprng";
version = "0.1.1";
edition = "2018";
sha256 = "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0";
authors = [
"Erick Tryzelaar <etryzelaar@google.com>"
];
};
"fuchsia-zircon" = rec {
crateName = "fuchsia-zircon";
version = "0.3.3";
edition = "2015";
sha256 = "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf";
authors = [
"Raph Levien <raph@google.com>"
];
dependencies = [
{
name = "bitflags";
packageId = "bitflags";
}
{
name = "fuchsia-zircon-sys";
packageId = "fuchsia-zircon-sys";
}
];
};
"fuchsia-zircon-sys" = rec {
crateName = "fuchsia-zircon-sys";
version = "0.3.3";
edition = "2015";
sha256 = "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix";
authors = [
"Raph Levien <raph@google.com>"
];
};
"futures-core" = rec {
crateName = "futures-core";
version = "0.3.5";
edition = "2018";
sha256 = "16d35ic4b4dkv1gy39cvy2v4391b9014hrxd6vwp3nfm1zwzzxar";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
features = {
"default" = [ "std" ];
"std" = [ "alloc" ];
};
resolvedDefaultFeatures = [ "alloc" "default" "std" ];
};
"futures-io" = rec {
crateName = "futures-io";
version = "0.3.5";
edition = "2018";
sha256 = "128pnpcaqj9sxr1d0scy51yfk2ggvqp6szlm2jf8d3is04mi89yy";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"futures-timer" = rec {
crateName = "futures-timer";
version = "2.0.2";
edition = "2018";
sha256 = "1xlx22asam8g5m32avwxx4x4p5hw3gvdhbk6047rn0hqn847bpm1";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
};
"generic-array" = rec {
crateName = "generic-array";
version = "0.12.3";
edition = "2015";
sha256 = "1v5jg7djicq34nbiv1dwaki71gkny002wyy9qfn3y0hfmrs053y6";
libName = "generic_array";
authors = [
"Bartłomiej Kamiński <fizyk20@gmail.com>"
"Aaron Trent <novacrazy@gmail.com>"
];
dependencies = [
{
name = "typenum";
packageId = "typenum";
}
];
};
"getrandom" = rec {
crateName = "getrandom";
version = "0.1.14";
edition = "2018";
sha256 = "1sq30li71h19rhnhs1h6576ja68insajx8wvh1nn088r8pc8vg3s";
authors = [
"The Rand Project Developers"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "libc";
packageId = "libc";
usesDefaultFeatures = false;
target = { target, features }: target."unix";
}
{
name = "wasi";
packageId = "wasi";
target = { target, features }: (target."os" == "wasi");
}
];
features = {
"rustc-dep-of-std" = [ "compiler_builtins" "core" ];
"test-in-browser" = [ "wasm-bindgen" ];
};
resolvedDefaultFeatures = [ "std" ];
};
"gimli" = rec {
crateName = "gimli";
version = "0.21.0";
edition = "2018";
sha256 = "0p5n8h265b5acmnhca3ggsbdyaxbn79frnv4b2anhy73pk4y1j5w";
authors = [
"Nick Fitzgerald <fitzgen@gmail.com>"
"Philip Craig <philipjcraig@gmail.com>"
];
features = {
"default" = [ "read" "write" "std" "fallible-iterator" "endian-reader" ];
"endian-reader" = [ "stable_deref_trait" ];
"std" = [ "fallible-iterator/std" "stable_deref_trait/std" ];
"write" = [ "indexmap" ];
};
resolvedDefaultFeatures = [ "read" ];
};
"handlebars" = rec {
crateName = "handlebars";
version = "3.0.1";
edition = "2018";
sha256 = "00492hhm6gagd2zmjqws4f2k3gwndcr6znhmkns4w9ri9l4qsxds";
authors = [
"Ning Sun <sunng@pm.me>"
];
dependencies = [
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "pest";
packageId = "pest";
}
{
name = "pest_derive";
packageId = "pest_derive";
}
{
name = "quick-error";
packageId = "quick-error";
}
{
name = "serde";
packageId = "serde";
}
{
name = "serde_json";
packageId = "serde_json";
}
];
features = {
"dir_source" = [ "walkdir" ];
};
resolvedDefaultFeatures = [ "default" ];
};
"hermit-abi" = rec {
crateName = "hermit-abi";
version = "0.1.13";
edition = "2015";
sha256 = "0w9vpn4xy371xc3cnns8xqki4szz2xkfajslyn4hl2vmks00yy4i";
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" ];
};
"httparse" = rec {
crateName = "httparse";
version = "1.3.4";
edition = "2015";
sha256 = "1yf23ldnjwfkkhkca7f4w15mky9961gjz28dlwyybhphc7l9l5yd";
authors = [
"Sean McArthur <sean@seanmonstar.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"hubcaps" = rec {
crateName = "hubcaps";
version = "0.3.16";
edition = "2015";
workspace_member = null;
src = pkgs.fetchgit {
url = "https://github.com/grahamc/hubcaps.git";
rev = "5e656ba35ab4ee74aa72b3b5c3a62e1bf351ff6a";
sha256 = "1p7rn8y71fjwfag65437gz7a56pysz9n69smaknvblyxpjdzmh4d";
};
authors = [
"softprops <d.tangren@gmail.com>"
];
dependencies = [
{
name = "error-chain";
packageId = "error-chain";
}
{
name = "frank_jwt";
packageId = "frank_jwt";
}
{
name = "hyper";
packageId = "hyper";
}
{
name = "log";
packageId = "log 0.3.9";
}
{
name = "serde";
packageId = "serde";
}
{
name = "serde_derive";
packageId = "serde_derive";
}
{
name = "serde_json";
packageId = "serde_json";
}
{
name = "url";
packageId = "url 1.7.2";
}
];
};
"hyper" = rec {
crateName = "hyper";
version = "0.10.16";
edition = "2015";
sha256 = "0wwjh9p3mzvg3fss2lqz5r7ddcgl1fh9w6my2j69d6k0lbcm41ha";
authors = [
"Sean McArthur <sean.monstar@gmail.com>"
"Jonathan Reem <jonathan.reem@gmail.com>"
];
dependencies = [
{
name = "base64";
packageId = "base64 0.9.3";
}
{
name = "httparse";
packageId = "httparse";
}
{
name = "language-tags";
packageId = "language-tags";
}
{
name = "log";
packageId = "log 0.3.9";
}
{
name = "mime";
packageId = "mime";
}
{
name = "num_cpus";
packageId = "num_cpus";
}
{
name = "time";
packageId = "time";
}
{
name = "traitobject";
packageId = "traitobject";
}
{
name = "typeable";
packageId = "typeable";
}
{
name = "unicase";
packageId = "unicase";
}
{
name = "url";
packageId = "url 1.7.2";
}
];
features = {
};
};
"hyper-native-tls" = rec {
crateName = "hyper-native-tls";
version = "0.3.0";
edition = "2015";
sha256 = "0s30y20qy0akzss91yxsq1x1q7rr04jy33i0cq72nx22yjc5advd";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
dependencies = [
{
name = "antidote";
packageId = "antidote";
}
{
name = "hyper";
packageId = "hyper";
}
{
name = "native-tls";
packageId = "native-tls";
}
];
};
"idna 0.1.5" = rec {
crateName = "idna";
version = "0.1.5";
edition = "2015";
sha256 = "0kl4gs5kaydn4v07c6ka33spm9qdh2np0x7iw7g5zd8z1c7rxw1q";
authors = [
"The rust-url developers"
];
dependencies = [
{
name = "matches";
packageId = "matches";
}
{
name = "unicode-bidi";
packageId = "unicode-bidi";
}
{
name = "unicode-normalization";
packageId = "unicode-normalization";
}
];
};
"idna 0.2.0" = rec {
crateName = "idna";
version = "0.2.0";
edition = "2015";
sha256 = "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2";
authors = [
"The rust-url developers"
];
dependencies = [
{
name = "matches";
packageId = "matches";
}
{
name = "unicode-bidi";
packageId = "unicode-bidi";
}
{
name = "unicode-normalization";
packageId = "unicode-normalization";
}
];
};
"iovec" = rec {
crateName = "iovec";
version = "0.1.4";
edition = "2015";
sha256 = "0ph73qygwx8i0mblrf110cj59l00gkmsgrpzz1rm85syz5pymcxj";
authors = [
"Carl Lerche <me@carllerche.com>"
];
dependencies = [
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
];
};
"itoa" = rec {
crateName = "itoa";
version = "0.4.5";
edition = "2015";
sha256 = "13nxqrfnh83a7x5rw4wq2ilp8nxvwy74dxzysdg59dbxqk0agdxq";
authors = [
"David Tolnay <dtolnay@gmail.com>"
];
features = {
"default" = [ "std" ];
};
};
"kernel32-sys" = rec {
crateName = "kernel32-sys";
version = "0.2.2";
edition = "2015";
sha256 = "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm";
libName = "kernel32";
authors = [
"Peter Atashian <retep998@gmail.com>"
];
dependencies = [
{
name = "winapi";
packageId = "winapi 0.2.8";
}
];
buildDependencies = [
{
name = "winapi-build";
packageId = "winapi-build";
}
];
};
"kv-log-macro" = rec {
crateName = "kv-log-macro";
version = "1.0.6";
edition = "2018";
sha256 = "066lypi7b3h413f43mqly6zd5nd4ddjlv9m96pmsfz2z45npvxag";
authors = [
"Yoshua Wuyts <yoshuawuyts@gmail.com>"
];
dependencies = [
{
name = "log";
packageId = "log 0.4.8";
features = [ "kv_unstable" ];
}
];
};
"language-tags" = rec {
crateName = "language-tags";
version = "0.2.2";
edition = "2015";
sha256 = "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9";
authors = [
"Pyfisch <pyfisch@gmail.com>"
];
features = {
"heap_size" = [ "heapsize" "heapsize_plugin" ];
};
};
"lapin" = rec {
crateName = "lapin";
version = "1.0.0-rc6";
edition = "2018";
sha256 = "1qq5225w13ybivv2rdwzfa02ghdh19ckmjays9zxxjd5n2h1kk3g";
authors = [
"Geoffroy Couprie <geo.couprie@gmail.com>"
"Marc-Antoine Perennou <Marc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "amq-protocol";
packageId = "amq-protocol";
usesDefaultFeatures = false;
}
{
name = "async-task";
packageId = "async-task 3.0.0";
}
{
name = "crossbeam-channel";
packageId = "crossbeam-channel";
}
{
name = "futures-core";
packageId = "futures-core";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "mio";
packageId = "mio 0.7.0";
features = [ "os-poll" "tcp" ];
}
{
name = "parking_lot";
packageId = "parking_lot";
}
{
name = "pinky-swear";
packageId = "pinky-swear";
}
];
buildDependencies = [
{
name = "amq-protocol-codegen";
packageId = "amq-protocol-codegen";
}
{
name = "serde_json";
packageId = "serde_json";
}
];
features = {
"default" = [ "native-tls" ];
"native-tls" = [ "amq-protocol/native-tls" ];
"openssl" = [ "amq-protocol/openssl" ];
"rustls" = [ "rustls-native-certs" ];
"rustls-native-certs" = [ "amq-protocol/rustls-native-certs" ];
"rustls-webpki-roots-certs" = [ "amq-protocol/rustls-webpki-roots-certs" ];
"vendored-openssl" = [ "amq-protocol/vendored-openssl" ];
};
resolvedDefaultFeatures = [ "default" "native-tls" ];
};
"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" ];
};
};
"lexical-core" = rec {
crateName = "lexical-core";
version = "0.7.4";
edition = "2018";
sha256 = "05i6b69ay8xbxw88vx89vglb7xm5n8ky82hax7d5a7z60bdccrfv";
authors = [
"Alex Huszagh <ahuszagh@gmail.com>"
];
dependencies = [
{
name = "arrayvec";
packageId = "arrayvec";
optional = true;
features = [ "array-sizes-33-128" ];
}
{
name = "bitflags";
packageId = "bitflags";
}
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "ryu";
packageId = "ryu";
optional = true;
}
{
name = "static_assertions";
packageId = "static_assertions";
optional = true;
}
];
features = {
"correct" = [ "arrayvec" "static_assertions" "table" ];
"default" = [ "correct" "ryu" "std" ];
"format" = [ "static_assertions" ];
"grisu3" = [ "dtoa" ];
};
resolvedDefaultFeatures = [ "arrayvec" "correct" "default" "ryu" "static_assertions" "std" "table" ];
};
"libc" = rec {
crateName = "libc";
version = "0.2.70";
edition = "2015";
sha256 = "03wdk33dmmnipr8zab377ms4z278zarw437shz37iv3g38295aiv";
authors = [
"The Rust Project Developers"
];
features = {
"default" = [ "std" ];
"rustc-dep-of-std" = [ "align" "rustc-std-workspace-core" ];
"use_std" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"linked-hash-map" = rec {
crateName = "linked-hash-map";
version = "0.5.3";
edition = "2015";
sha256 = "0jih3za0p1mywlnwcakc462q1byk6z8vnrzdm36hg6cxk7asdmcd";
authors = [
"Stepan Koltsov <stepan.koltsov@gmail.com>"
"Andrew Paseltiner <apaseltiner@gmail.com>"
];
features = {
"heapsize_impl" = [ "heapsize" ];
"serde_impl" = [ "serde" "serde_test" ];
};
};
"lock_api" = rec {
crateName = "lock_api";
version = "0.3.4";
edition = "2018";
sha256 = "0xgc5dzmajh0akbh5d6d7rj9mh5rzpk74pyrc946v2ixgakj9nn4";
authors = [
"Amanieu d'Antras <amanieu@gmail.com>"
];
dependencies = [
{
name = "scopeguard";
packageId = "scopeguard";
usesDefaultFeatures = false;
}
];
features = {
};
};
"log 0.3.9" = rec {
crateName = "log";
version = "0.3.9";
edition = "2015";
sha256 = "0jq23hhn5h35k7pa8r7wqnsywji6x3wn1q5q7lif5q536if8v7p1";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "log";
packageId = "log 0.4.8";
}
];
features = {
"default" = [ "use_std" ];
"max_level_debug" = [ "log/max_level_debug" ];
"max_level_error" = [ "log/max_level_error" ];
"max_level_info" = [ "log/max_level_info" ];
"max_level_off" = [ "log/max_level_off" ];
"max_level_trace" = [ "log/max_level_trace" ];
"max_level_warn" = [ "log/max_level_warn" ];
"release_max_level_debug" = [ "log/release_max_level_debug" ];
"release_max_level_error" = [ "log/release_max_level_error" ];
"release_max_level_info" = [ "log/release_max_level_info" ];
"release_max_level_off" = [ "log/release_max_level_off" ];
"release_max_level_trace" = [ "log/release_max_level_trace" ];
"release_max_level_warn" = [ "log/release_max_level_warn" ];
"use_std" = [ "log/std" ];
};
resolvedDefaultFeatures = [ "default" "use_std" ];
};
"log 0.4.8" = rec {
crateName = "log";
version = "0.4.8";
edition = "2015";
sha256 = "1xz18ixccl5c6np4linv3ypc7hpmmgpc5zzd2ymp2ssfx0mhbdhl";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
];
features = {
"kv_unstable_sval" = [ "kv_unstable" "sval/fmt" ];
};
resolvedDefaultFeatures = [ "kv_unstable" "std" ];
};
"lru-cache" = rec {
crateName = "lru-cache";
version = "0.1.2";
edition = "2015";
sha256 = "071viv6g2p3akwqmfb3c8vsycs5n7kr17b70l7la071jv0d4zqii";
authors = [
"Stepan Koltsov <stepan.koltsov@gmail.com>"
];
dependencies = [
{
name = "linked-hash-map";
packageId = "linked-hash-map";
}
];
features = {
"heapsize_impl" = [ "heapsize" "linked-hash-map/heapsize_impl" ];
};
};
"maplit" = rec {
crateName = "maplit";
version = "1.0.2";
edition = "2015";
sha256 = "07b5kjnhrrmfhgqm9wprjw8adx6i225lqp49gasgqg74lahnabiy";
authors = [
"bluss"
];
};
"matchers" = rec {
crateName = "matchers";
version = "0.0.1";
edition = "2018";
sha256 = "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh";
authors = [
"Eliza Weisman <eliza@buoyant.io>"
];
dependencies = [
{
name = "regex-automata";
packageId = "regex-automata";
}
];
};
"matches" = rec {
crateName = "matches";
version = "0.1.8";
edition = "2015";
sha256 = "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z";
libPath = "lib.rs";
authors = [
"Simon Sapin <simon.sapin@exyr.org>"
];
};
"maybe-uninit" = rec {
crateName = "maybe-uninit";
version = "2.0.0";
edition = "2015";
sha256 = "004y0nzmpfdrhz251278341z6ql34iv1k6dp1h6af7d6nd6jwc30";
authors = [
"est31 <MTest31@outlook.com>"
"The Rust Project Developers"
];
};
"md5" = rec {
crateName = "md5";
version = "0.3.8";
edition = "2015";
sha256 = "0j2s8aqdkhwhy7awga2bmv5n8qq8bgy8672iha9f3y871dm6vibr";
authors = [
"Ivan Ukhov <ivan.ukhov@gmail.com>"
"Kamal Ahmad <shibe@openmailbox.org>"
"Konstantin Stepanov <milezv@gmail.com>"
"Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"
"Nathan Musoke <nathan.musoke@gmail.com>"
"Tony Arcieri <bascule@gmail.com>"
"Wim de With <register@dewith.io>"
];
};
"memchr" = rec {
crateName = "memchr";
version = "2.3.3";
edition = "2015";
sha256 = "0074pvsfl938ndl5js14ibc7i9q0k3zp390z843w8nlyv4bxha1p";
authors = [
"Andrew Gallant <jamslam@gmail.com>"
"bluss"
];
features = {
"default" = [ "std" ];
"use_std" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" "use_std" ];
};
"memoffset" = rec {
crateName = "memoffset";
version = "0.5.4";
edition = "2015";
sha256 = "1n236rn8yxbi4ckh1qkz34822bgp24qijnp99sfhjx73lw12rz5l";
authors = [
"Gilad Naaman <gilad.naaman@gmail.com>"
];
buildDependencies = [
{
name = "autocfg";
packageId = "autocfg";
}
];
features = {
};
resolvedDefaultFeatures = [ "default" ];
};
"mime" = rec {
crateName = "mime";
version = "0.2.6";
edition = "2015";
sha256 = "1q1s1ax1gaz8ld3513nvhidfwnik5asbs1ma3hp6inp5dn56nqms";
authors = [
"Sean McArthur <sean.monstar@gmail.com>"
];
dependencies = [
{
name = "log";
packageId = "log 0.3.9";
}
];
features = {
"heap_size" = [ "heapsize" ];
};
};
"mio 0.6.22" = rec {
crateName = "mio";
version = "0.6.22";
edition = "2015";
sha256 = "0c64razhyam9892kgxsshmkqs6smrd11087nxb48nhjn4q4lgqzw";
authors = [
"Carl Lerche <me@carllerche.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "fuchsia-zircon";
packageId = "fuchsia-zircon";
target = { target, features }: (target."os" == "fuchsia");
}
{
name = "fuchsia-zircon-sys";
packageId = "fuchsia-zircon-sys";
target = { target, features }: (target."os" == "fuchsia");
}
{
name = "iovec";
packageId = "iovec";
}
{
name = "kernel32-sys";
packageId = "kernel32-sys";
target = { target, features }: target."windows";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "miow";
packageId = "miow 0.2.1";
target = { target, features }: target."windows";
}
{
name = "net2";
packageId = "net2";
}
{
name = "slab";
packageId = "slab";
}
{
name = "winapi";
packageId = "winapi 0.2.8";
target = { target, features }: target."windows";
}
];
features = {
"default" = [ "with-deprecated" ];
};
resolvedDefaultFeatures = [ "default" "with-deprecated" ];
};
"mio 0.7.0" = rec {
crateName = "mio";
version = "0.7.0";
edition = "2018";
sha256 = "1yyp74894c0plmdlcdj4pn34c9qis3sl2algg8hn38s9hfy736bf";
authors = [
"Carl Lerche <me@carllerche.com>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
target = { target, features }: target."windows";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "miow";
packageId = "miow 0.3.4";
target = { target, features }: target."windows";
}
{
name = "ntapi";
packageId = "ntapi";
target = { target, features }: target."windows";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "winsock2" "mswsock" ];
}
];
features = {
};
resolvedDefaultFeatures = [ "default" "os-poll" "tcp" ];
};
"mio-uds" = rec {
crateName = "mio-uds";
version = "0.6.8";
edition = "2015";
sha256 = "1w36w09gd8as1mah80wdy0kgpshmphmljj68gij34hvdnag6kjxg";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
dependencies = [
{
name = "iovec";
packageId = "iovec";
target = { target, features }: target."unix";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "mio";
packageId = "mio 0.6.22";
target = { target, features }: target."unix";
}
];
};
"miow 0.2.1" = rec {
crateName = "miow";
version = "0.2.1";
edition = "2015";
sha256 = "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
dependencies = [
{
name = "kernel32-sys";
packageId = "kernel32-sys";
}
{
name = "net2";
packageId = "net2";
usesDefaultFeatures = false;
}
{
name = "winapi";
packageId = "winapi 0.2.8";
}
{
name = "ws2_32-sys";
packageId = "ws2_32-sys";
}
];
};
"miow 0.3.4" = rec {
crateName = "miow";
version = "0.3.4";
edition = "2018";
sha256 = "1iy142jh045gsz8a3cd3lavmzw1sbh00gv8ppmd9lqxja4fxvpr2";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
dependencies = [
{
name = "socket2";
packageId = "socket2";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
features = [ "std" "fileapi" "handleapi" "ioapiset" "minwindef" "namedpipeapi" "ntdef" "synchapi" "winerror" "winsock2" "ws2def" "ws2ipdef" ];
}
];
};
"native-tls" = rec {
crateName = "native-tls";
version = "0.2.4";
edition = "2015";
sha256 = "0bcbqm8gpm5azlp8rwznhrfk3ngikr041fj883lmw3g9dz08h39b";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
target = { target, features }: ((target."os" == "macos") || (target."os" == "ios"));
}
{
name = "libc";
packageId = "libc";
target = { target, features }: ((target."os" == "macos") || (target."os" == "ios"));
}
{
name = "log";
packageId = "log 0.4.8";
target = { target, features }: (!((target."os" == "windows") || (target."os" == "macos") || (target."os" == "ios")));
}
{
name = "openssl";
packageId = "openssl";
target = { target, features }: (!((target."os" == "windows") || (target."os" == "macos") || (target."os" == "ios")));
}
{
name = "openssl-probe";
packageId = "openssl-probe";
target = { target, features }: (!((target."os" == "windows") || (target."os" == "macos") || (target."os" == "ios")));
}
{
name = "openssl-sys";
packageId = "openssl-sys";
target = { target, features }: (!((target."os" == "windows") || (target."os" == "macos") || (target."os" == "ios")));
}
{
name = "schannel";
packageId = "schannel";
target = { target, features }: (target."os" == "windows");
}
{
name = "security-framework";
packageId = "security-framework";
target = { target, features }: ((target."os" == "macos") || (target."os" == "ios"));
}
{
name = "security-framework-sys";
packageId = "security-framework-sys";
target = { target, features }: ((target."os" == "macos") || (target."os" == "ios"));
}
{
name = "tempfile";
packageId = "tempfile 3.1.0";
target = { target, features }: ((target."os" == "macos") || (target."os" == "ios"));
}
];
features = {
"vendored" = [ "openssl/vendored" ];
};
};
"net2" = rec {
crateName = "net2";
version = "0.2.34";
edition = "2015";
sha256 = "1xsay6x9fqkq34mfyfyavkrk29z7j4wb9fzw5as4yw3nmhcck9rb";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: ((target."os" == "redox") || target."unix" || (target."os" == "wasi"));
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "handleapi" "winsock2" "ws2def" "ws2ipdef" "ws2tcpip" ];
}
];
features = {
"default" = [ "duration" ];
};
resolvedDefaultFeatures = [ "default" "duration" ];
};
"nom 4.2.3" = rec {
crateName = "nom";
version = "4.2.3";
edition = "2015";
sha256 = "1mkvby8b4m61p4g1px0pwr58yfkphyp1jcfbp4qfp7l6iqdaklia";
authors = [
"contact@geoffroycouprie.com"
];
dependencies = [
{
name = "memchr";
packageId = "memchr";
usesDefaultFeatures = false;
}
];
buildDependencies = [
{
name = "version_check";
packageId = "version_check 0.1.5";
}
];
features = {
"default" = [ "std" ];
"regexp" = [ "regex" ];
"regexp_macros" = [ "regexp" "lazy_static" ];
"std" = [ "alloc" "memchr/use_std" ];
"verbose-errors" = [ "alloc" ];
};
resolvedDefaultFeatures = [ "alloc" "default" "std" ];
};
"nom 6.0.0-alpha1" = rec {
crateName = "nom";
version = "6.0.0-alpha1";
edition = "2018";
sha256 = "1ih5jxqci844ckgpddcp5fyz3glx7kr44frj2ywigxsbaiwhf0i5";
authors = [
"contact@geoffroycouprie.com"
];
dependencies = [
{
name = "lexical-core";
packageId = "lexical-core";
optional = true;
}
{
name = "memchr";
packageId = "memchr";
usesDefaultFeatures = false;
}
];
buildDependencies = [
{
name = "version_check";
packageId = "version_check 0.9.2";
}
];
features = {
"default" = [ "std" "lexical" ];
"lexical" = [ "lexical-core" ];
"regexp" = [ "regex" ];
"std" = [ "alloc" "memchr/use_std" ];
};
resolvedDefaultFeatures = [ "alloc" "default" "lexical" "lexical-core" "std" ];
};
"ntapi" = rec {
crateName = "ntapi";
version = "0.3.4";
edition = "2018";
sha256 = "1lm9rxl625zcmakkyj00nca19p7a3mby7q6s5p3kjd82x9yr6cbs";
authors = [
"MSxDOS <melcodos@gmail.com>"
];
dependencies = [
{
name = "winapi";
packageId = "winapi 0.3.8";
features = [ "cfg" "evntrace" "in6addr" "inaddr" "minwinbase" "ntsecapi" "windef" "winioctl" ];
}
];
features = {
"default" = [ "user" ];
"impl-default" = [ "winapi/impl-default" ];
};
resolvedDefaultFeatures = [ "default" "user" ];
};
"num-integer" = rec {
crateName = "num-integer";
version = "0.1.42";
edition = "2015";
sha256 = "1fpw8yr9xwsf3qrh91rm7mzqaiwlc2dmnalsxv9pr9w1klpacviz";
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.11";
edition = "2015";
sha256 = "15khrlm1bra50nd48ijl1vln13m9xg4fxzghf28jp16ic5zf8ay6";
authors = [
"The Rust Project Developers"
];
buildDependencies = [
{
name = "autocfg";
packageId = "autocfg";
}
];
features = {
"default" = [ "std" ];
};
};
"num_cpus" = rec {
crateName = "num_cpus";
version = "1.13.0";
edition = "2015";
sha256 = "1cv6yxhz2zbnwn8pn1yn8grg7zsnd523947fby41a737aqvryj85";
authors = [
"Sean McArthur <sean@seanmonstar.com>"
];
dependencies = [
{
name = "hermit-abi";
packageId = "hermit-abi";
target = { target, features }: (((target."arch" == "x86_64") || (target."arch" == "aarch64")) && (target."os" == "hermit"));
}
{
name = "libc";
packageId = "libc";
}
];
};
"object" = rec {
crateName = "object";
version = "0.19.0";
edition = "2018";
sha256 = "1cpc3arnxypx0292q8mrh08jzlic5s0rr7alz8lfcbj89i1akg4w";
authors = [
"Nick Fitzgerald <fitzgen@gmail.com>"
"Philip Craig <philipjcraig@gmail.com>"
];
features = {
"compression" = [ "flate2" "std" ];
"default" = [ "read" "compression" ];
"pe" = [ "coff" ];
"read" = [ "read_core" "coff" "elf" "macho" "pe" "wasm" ];
"wasm" = [ "wasmparser" ];
"write" = [ "write_core" "coff" "elf" "macho" ];
"write_core" = [ "crc32fast" "indexmap" "std" ];
};
resolvedDefaultFeatures = [ "coff" "elf" "macho" "pe" "read_core" ];
};
"ofborg" = rec {
crateName = "ofborg";
version = "0.1.9";
edition = "2018";
crateBin = [
{ name = "log-message-generator"; path = "src/bin/log-message-generator.rs"; }
{ name = "github-comment-filter"; path = "src/bin/github-comment-filter.rs"; }
{ name = "build-faker"; path = "src/bin/build-faker.rs"; }
{ name = "mass-rebuilder"; path = "src/bin/mass-rebuilder.rs"; }
{ name = "github-comment-poster"; path = "src/bin/github-comment-poster.rs"; }
{ name = "stats"; path = "src/bin/stats.rs"; }
{ name = "log-message-collector"; path = "src/bin/log-message-collector.rs"; }
{ name = "evaluation-filter"; path = "src/bin/evaluation-filter.rs"; }
{ name = "builder"; path = "src/bin/builder.rs"; }
];
src = (builtins.filterSource sourceFilter ./ofborg);
authors = [
"Graham Christensen <graham@grahamc.com>"
];
dependencies = [
{
name = "async-std";
packageId = "async-std";
}
{
name = "chrono";
packageId = "chrono";
}
{
name = "either";
packageId = "either";
}
{
name = "fs2";
packageId = "fs2";
}
{
name = "hubcaps";
packageId = "hubcaps";
}
{
name = "hyper";
packageId = "hyper";
}
{
name = "hyper-native-tls";
packageId = "hyper-native-tls";
}
{
name = "lapin";
packageId = "lapin";
}
{
name = "lru-cache";
packageId = "lru-cache";
}
{
name = "md5";
packageId = "md5";
}
{
name = "nom";
packageId = "nom 4.2.3";
}
{
name = "separator";
packageId = "separator";
}
{
name = "serde";
packageId = "serde";
}
{
name = "serde_derive";
packageId = "serde_derive";
}
{
name = "serde_json";
packageId = "serde_json";
}
{
name = "sys-info";
packageId = "sys-info";
}
{
name = "tempfile";
packageId = "tempfile 2.2.0";
}
{
name = "tracing";
packageId = "tracing";
}
{
name = "tracing-subscriber";
packageId = "tracing-subscriber";
features = [ "json" ];
}
{
name = "uuid";
packageId = "uuid";
features = [ "v4" ];
}
];
};
"ofborg-simple-build" = rec {
crateName = "ofborg-simple-build";
version = "0.1.0";
edition = "2018";
crateBin = [
{ name = "ofborg-simple-build"; path = "src/main.rs"; }
];
src = (builtins.filterSource sourceFilter ./ofborg-simple-build);
authors = [
"Daiderd Jordan <daiderd@gmail.com>"
];
dependencies = [
{
name = "log";
packageId = "log 0.3.9";
}
{
name = "ofborg";
packageId = "ofborg";
}
];
};
"once_cell" = rec {
crateName = "once_cell";
version = "1.4.0";
edition = "2018";
sha256 = "138n52yni5qym7ds8kxckvhdy4x0m0scy0gl74brmwsahmz1yqqb";
authors = [
"Aleksey Kladov <aleksey.kladov@gmail.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"opaque-debug" = rec {
crateName = "opaque-debug";
version = "0.2.3";
edition = "2015";
sha256 = "172j6bs8ndclqxa2m64qc0y1772rr73g4l9fg2svscgicnbfff98";
authors = [
"RustCrypto Developers"
];
};
"openssl" = rec {
crateName = "openssl";
version = "0.10.29";
edition = "2015";
sha256 = "1p8bybxjkcf8p49jk0lywa10qa1x4f5bdmc5dadgbi5l9igxirnf";
authors = [
"Steven Fackler <sfackler@gmail.com>"
];
dependencies = [
{
name = "bitflags";
packageId = "bitflags";
}
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "foreign-types";
packageId = "foreign-types";
}
{
name = "lazy_static";
packageId = "lazy_static";
}
{
name = "libc";
packageId = "libc";
}
{
name = "openssl-sys";
packageId = "openssl-sys";
}
];
features = {
"vendored" = [ "openssl-sys/vendored" ];
};
};
"openssl-probe" = rec {
crateName = "openssl-probe";
version = "0.1.2";
edition = "2015";
sha256 = "1pijrdifgsdwd45b08c2g0dsmnhz7c3kmagb70839ngrd7d29bvp";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
};
"openssl-sys" = rec {
crateName = "openssl-sys";
version = "0.9.57";
edition = "2015";
sha256 = "142r772cxxbwyg8z34gas47xzhwsp055qxb39wfhgb7q1bwgw43l";
build = "build/main.rs";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
"Steven Fackler <sfackler@gmail.com>"
];
dependencies = [
{
name = "libc";
packageId = "libc";
}
];
buildDependencies = [
{
name = "autocfg";
packageId = "autocfg";
}
{
name = "cc";
packageId = "cc";
}
{
name = "pkg-config";
packageId = "pkg-config";
}
{
name = "vcpkg";
packageId = "vcpkg";
target = {target, features}: (target."env" == "msvc");
}
];
features = {
"vendored" = [ "openssl-src" ];
};
};
"parking_lot" = rec {
crateName = "parking_lot";
version = "0.10.2";
edition = "2018";
sha256 = "0pjhcbyk6n0g6jsr6s9nf4x8wribm1b2yf8fgc8drbqa77mh99yk";
authors = [
"Amanieu d'Antras <amanieu@gmail.com>"
];
dependencies = [
{
name = "lock_api";
packageId = "lock_api";
}
{
name = "parking_lot_core";
packageId = "parking_lot_core";
}
];
features = {
"deadlock_detection" = [ "parking_lot_core/deadlock_detection" ];
"nightly" = [ "parking_lot_core/nightly" "lock_api/nightly" ];
"owning_ref" = [ "lock_api/owning_ref" ];
"serde" = [ "lock_api/serde" ];
};
resolvedDefaultFeatures = [ "default" ];
};
"parking_lot_core" = rec {
crateName = "parking_lot_core";
version = "0.7.2";
edition = "2018";
sha256 = "18s0cw5y32447c06fhg2mp3xfng22fn1h9fpx3il98sbimv7r36m";
authors = [
"Amanieu d'Antras <amanieu@gmail.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "cloudabi";
packageId = "cloudabi";
target = { target, features }: (target."os" == "cloudabi");
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "redox_syscall";
packageId = "redox_syscall";
target = { target, features }: (target."os" == "redox");
}
{
name = "smallvec";
packageId = "smallvec";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "winnt" "ntstatus" "minwindef" "winerror" "winbase" "errhandlingapi" "handleapi" ];
}
];
features = {
"deadlock_detection" = [ "petgraph" "thread-id" "backtrace" ];
};
};
"pem" = rec {
crateName = "pem";
version = "0.7.0";
edition = "2018";
sha256 = "14wpql0znpxrg6bq6lmp9kvbs9v24l0zzqqf3yj5d9spqxh1fn51";
authors = [
"Jonathan Creekmore <jonathan@thecreekmores.org>"
];
dependencies = [
{
name = "base64";
packageId = "base64 0.11.0";
}
{
name = "lazy_static";
packageId = "lazy_static";
}
{
name = "regex";
packageId = "regex";
}
];
};
"percent-encoding 1.0.1" = rec {
crateName = "percent-encoding";
version = "1.0.1";
edition = "2015";
sha256 = "0cgq08v1fvr6bs5fvy390cz830lq4fak8havdasdacxcw790s09i";
libPath = "lib.rs";
authors = [
"The rust-url developers"
];
};
"percent-encoding 2.1.0" = rec {
crateName = "percent-encoding";
version = "2.1.0";
edition = "2015";
sha256 = "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl";
libPath = "lib.rs";
authors = [
"The rust-url developers"
];
};
"pest" = rec {
crateName = "pest";
version = "2.1.3";
edition = "2015";
sha256 = "0lry80bm90x47nq71wxq83kjrm9ashpz4kbm92p90ysdx4m8gx0h";
authors = [
"Dragoș Tiselice <dragostiselice@gmail.com>"
];
dependencies = [
{
name = "ucd-trie";
packageId = "ucd-trie";
}
];
features = {
"pretty-print" = [ "serde" "serde_json" ];
};
};
"pest_derive" = rec {
crateName = "pest_derive";
version = "2.1.0";
edition = "2015";
sha256 = "1l5jfa6ril71cw5nsiw0r45br54dd8cj2r1nc2d1wq6wb3jilgc3";
procMacro = true;
authors = [
"Dragoș Tiselice <dragostiselice@gmail.com>"
];
dependencies = [
{
name = "pest";
packageId = "pest";
}
{
name = "pest_generator";
packageId = "pest_generator";
}
];
};
"pest_generator" = rec {
crateName = "pest_generator";
version = "2.1.3";
edition = "2015";
sha256 = "0mfgl0p6v91ywdqr9i8w053v70cnfqjk8y5rhwbvir9idridpf4r";
authors = [
"Dragoș Tiselice <dragostiselice@gmail.com>"
];
dependencies = [
{
name = "pest";
packageId = "pest";
}
{
name = "pest_meta";
packageId = "pest_meta";
}
{
name = "proc-macro2";
packageId = "proc-macro2";
}
{
name = "quote";
packageId = "quote";
}
{
name = "syn";
packageId = "syn";
}
];
};
"pest_meta" = rec {
crateName = "pest_meta";
version = "2.1.3";
edition = "2015";
sha256 = "07d1jbbbpxpchk0j37ljas46sdyyg599z3zw2ac0f5sk9x06xgjl";
authors = [
"Dragoș Tiselice <dragostiselice@gmail.com>"
];
dependencies = [
{
name = "maplit";
packageId = "maplit";
}
{
name = "pest";
packageId = "pest";
}
];
buildDependencies = [
{
name = "sha-1";
packageId = "sha-1";
usesDefaultFeatures = false;
}
];
};
"pin-project-lite" = rec {
crateName = "pin-project-lite";
version = "0.1.5";
edition = "2018";
sha256 = "0zznprlm9yhagpbxj6c1xqhb3ns894f1gxq8c47jwjbqppp5wl7p";
authors = [
"Taiki Endo <te316e89@gmail.com>"
];
};
"pin-utils" = rec {
crateName = "pin-utils";
version = "0.1.0";
edition = "2018";
sha256 = "117ir7vslsl2z1a7qzhws4pd01cg2d3338c47swjyvqv2n60v1wb";
authors = [
"Josef Brandl <mail@josefbrandl.de>"
];
};
"pinky-swear" = rec {
crateName = "pinky-swear";
version = "4.0.0";
edition = "2018";
sha256 = "012md12m4v1n9ffjq4q1r3aj0aynm86ssshb7bmin598z96hc7q7";
authors = [
"Marc-Antoine Perennou <Marc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "doc-comment";
packageId = "doc-comment";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "parking_lot";
packageId = "parking_lot";
}
];
};
"pkg-config" = rec {
crateName = "pkg-config";
version = "0.3.17";
edition = "2015";
sha256 = "0xynnaxdv0gzadlw4h79j855k0q7rj4zb9xb1vk00nc6ss559nh5";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
};
"ppv-lite86" = rec {
crateName = "ppv-lite86";
version = "0.2.8";
edition = "2018";
sha256 = "1shj4q7jwj0azssr8cg51dk3kh7d4lg9rmbbz1kbqk971vc5wyi3";
authors = [
"The CryptoCorrosion Contributors"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "simd" "std" ];
};
"proc-macro2" = rec {
crateName = "proc-macro2";
version = "1.0.17";
edition = "2018";
sha256 = "0081b9kbpm1fraafv6cpq8mja306w07hsmpzrg4s8jcc8lpd20hm";
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.6";
edition = "2018";
sha256 = "1sj4prziz4zdbwad2krk5rlzixlg757ij44m1ihnzbajlr91i8jl";
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 0.3.23" = rec {
crateName = "rand";
version = "0.3.23";
edition = "2015";
sha256 = "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "libc";
packageId = "libc";
}
{
name = "rand";
packageId = "rand 0.4.6";
}
];
features = {
"nightly" = [ "i128_support" ];
};
};
"rand 0.4.6" = rec {
crateName = "rand";
version = "0.4.6";
edition = "2015";
sha256 = "14qjfv3gggzhnma20k0sc1jf8y6pplsaq7n1j9ls5c8kf2wl0a2m";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "fuchsia-cprng";
packageId = "fuchsia-cprng";
target = { target, features }: (target."os" == "fuchsia");
}
{
name = "libc";
packageId = "libc";
optional = true;
target = { target, features }: target."unix";
}
{
name = "rand_core";
packageId = "rand_core 0.3.1";
usesDefaultFeatures = false;
target = { target, features }: (target."env" == "sgx");
}
{
name = "rdrand";
packageId = "rdrand";
target = { target, features }: (target."env" == "sgx");
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "minwindef" "ntsecapi" "profileapi" "winnt" ];
}
];
features = {
"default" = [ "std" ];
"nightly" = [ "i128_support" ];
"std" = [ "libc" ];
};
resolvedDefaultFeatures = [ "default" "libc" "std" ];
};
"rand 0.7.3" = rec {
crateName = "rand";
version = "0.7.3";
edition = "2018";
sha256 = "00sdaimkbz491qgi6qxkv582yivl32m2jd401kzbn94vsiwicsva";
authors = [
"The Rand Project Developers"
"The Rust Project Developers"
];
dependencies = [
{
name = "getrandom";
packageId = "getrandom";
rename = "getrandom_package";
optional = true;
}
{
name = "libc";
packageId = "libc";
optional = true;
usesDefaultFeatures = false;
target = { target, features }: target."unix";
}
{
name = "rand_chacha";
packageId = "rand_chacha";
usesDefaultFeatures = false;
target = { target, features }: (!(target."os" == "emscripten"));
}
{
name = "rand_core";
packageId = "rand_core 0.5.1";
}
{
name = "rand_hc";
packageId = "rand_hc";
target = { target, features }: (target."os" == "emscripten");
}
];
devDependencies = [
{
name = "rand_hc";
packageId = "rand_hc";
}
];
features = {
"alloc" = [ "rand_core/alloc" ];
"default" = [ "std" ];
"getrandom" = [ "getrandom_package" "rand_core/getrandom" ];
"nightly" = [ "simd_support" ];
"simd_support" = [ "packed_simd" ];
"small_rng" = [ "rand_pcg" ];
"std" = [ "rand_core/std" "rand_chacha/std" "alloc" "getrandom" "libc" ];
"stdweb" = [ "getrandom_package/stdweb" ];
"wasm-bindgen" = [ "getrandom_package/wasm-bindgen" ];
};
resolvedDefaultFeatures = [ "alloc" "default" "getrandom" "getrandom_package" "libc" "std" ];
};
"rand_chacha" = rec {
crateName = "rand_chacha";
version = "0.2.2";
edition = "2018";
sha256 = "00il36fkdbsmpr99p9ksmmp6dn1md7rmnwmz0rr77jbrca2yvj7l";
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 0.5.1";
}
];
features = {
"default" = [ "std" "simd" ];
"std" = [ "ppv-lite86/std" ];
};
resolvedDefaultFeatures = [ "std" ];
};
"rand_core 0.3.1" = rec {
crateName = "rand_core";
version = "0.3.1";
edition = "2015";
sha256 = "0jzdgszfa4bliigiy4hi66k7fs3gfwi2qxn8vik84ph77fwdwvvs";
authors = [
"The Rand Project Developers"
"The Rust Project Developers"
];
dependencies = [
{
name = "rand_core";
packageId = "rand_core 0.4.2";
}
];
features = {
"alloc" = [ "rand_core/alloc" ];
"default" = [ "std" ];
"serde1" = [ "rand_core/serde1" ];
"std" = [ "rand_core/std" ];
};
};
"rand_core 0.4.2" = rec {
crateName = "rand_core";
version = "0.4.2";
edition = "2015";
sha256 = "1p09ynysrq1vcdlmcqnapq4qakl2yd1ng3kxh3qscpx09k2a6cww";
authors = [
"The Rand Project Developers"
"The Rust Project Developers"
];
features = {
"serde1" = [ "serde" "serde_derive" ];
"std" = [ "alloc" ];
};
};
"rand_core 0.5.1" = rec {
crateName = "rand_core";
version = "0.5.1";
edition = "2018";
sha256 = "06bdvx08v3rkz451cm7z59xwwqn1rkfh6v9ay77b14f8dwlybgch";
authors = [
"The Rand Project Developers"
"The Rust Project Developers"
];
dependencies = [
{
name = "getrandom";
packageId = "getrandom";
optional = true;
}
];
features = {
"serde1" = [ "serde" ];
"std" = [ "alloc" "getrandom" "getrandom/std" ];
};
resolvedDefaultFeatures = [ "alloc" "getrandom" "std" ];
};
"rand_hc" = rec {
crateName = "rand_hc";
version = "0.2.0";
edition = "2018";
sha256 = "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa";
authors = [
"The Rand Project Developers"
];
dependencies = [
{
name = "rand_core";
packageId = "rand_core 0.5.1";
}
];
};
"rdrand" = rec {
crateName = "rdrand";
version = "0.4.0";
edition = "2015";
sha256 = "1cjq0kwx1bk7jx3kzyciiish5gqsj7620dm43dc52sr8fzmm9037";
authors = [
"Simonas Kazlauskas <rdrand@kazlauskas.me>"
];
dependencies = [
{
name = "rand_core";
packageId = "rand_core 0.3.1";
usesDefaultFeatures = false;
}
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"redox_syscall" = rec {
crateName = "redox_syscall";
version = "0.1.56";
edition = "2015";
sha256 = "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94";
libName = "syscall";
authors = [
"Jeremy Soller <jackpot51@gmail.com>"
];
};
"regex" = rec {
crateName = "regex";
version = "1.3.7";
edition = "2015";
sha256 = "14knp8k0r89lf6qanv0nh93br09q8lksd0hvf561kqr2941hy0m6";
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-automata" = rec {
crateName = "regex-automata";
version = "0.1.9";
edition = "2015";
sha256 = "1r3aqa9c0s9sfrmd2w0mli16ldjzbar0rzb1x7srfjkasrqys7df";
authors = [
"Andrew Gallant <jamslam@gmail.com>"
];
dependencies = [
{
name = "byteorder";
packageId = "byteorder";
usesDefaultFeatures = false;
}
{
name = "regex-syntax";
packageId = "regex-syntax";
optional = true;
}
];
features = {
"default" = [ "std" ];
"std" = [ "regex-syntax" ];
"transducer" = [ "std" "fst" ];
};
resolvedDefaultFeatures = [ "default" "regex-syntax" "std" ];
};
"regex-syntax" = rec {
crateName = "regex-syntax";
version = "0.6.17";
edition = "2015";
sha256 = "1blmlgzcg7in3kcxqabpfzzrbnamr2i671flbrmlqhfps5bvvrbz";
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" ];
};
"remove_dir_all" = rec {
crateName = "remove_dir_all";
version = "0.5.2";
edition = "2015";
sha256 = "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa";
authors = [
"Aaronepower <theaaronepower@gmail.com>"
];
dependencies = [
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "std" "errhandlingapi" "winerror" "fileapi" "winbase" ];
}
];
};
"rustc-demangle" = rec {
crateName = "rustc-demangle";
version = "0.1.16";
edition = "2015";
sha256 = "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
features = {
"rustc-dep-of-std" = [ "core" "compiler_builtins" ];
};
};
"ryu" = rec {
crateName = "ryu";
version = "1.0.4";
edition = "2015";
sha256 = "1qa1g46584i1qvfpn8a96b2f1p4hslkfzrky7zmyyc24qqmn2ggd";
authors = [
"David Tolnay <dtolnay@gmail.com>"
];
features = {
};
};
"safemem" = rec {
crateName = "safemem";
version = "0.3.3";
edition = "2015";
sha256 = "0wp0d2b2284lw11xhybhaszsczpbq1jbdklkxgifldcknmy3nw7g";
authors = [
"Austin Bonander <austin.bonander@gmail.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"schannel" = rec {
crateName = "schannel";
version = "0.1.19";
edition = "2015";
sha256 = "0xdwr3clrylywpv2r5hw7mrxmsf7ljagwiymw2z60ki3kihbl1cg";
authors = [
"Steven Fackler <sfackler@gmail.com>"
"Steffen Butzer <steffen.butzer@outlook.com>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
features = [ "lmcons" "minschannel" "securitybaseapi" "schannel" "sspi" "sysinfoapi" "timezoneapi" "winbase" "wincrypt" "winerror" ];
}
];
};
"scopeguard" = rec {
crateName = "scopeguard";
version = "1.1.0";
edition = "2015";
sha256 = "1kbqm85v43rq92vx7hfiay6pmcga03vrjbbfwqpyj3pwsg3b16nj";
authors = [
"bluss"
];
features = {
"default" = [ "use_std" ];
};
};
"security-framework" = rec {
crateName = "security-framework";
version = "0.4.4";
edition = "2015";
sha256 = "0dg504y0ys27qksdcnn8qcyvrfhkjx8f5d6jvpm7i7yrsw18k034";
authors = [
"Steven Fackler <sfackler@gmail.com>"
"Kornel <kornel@geekhood.net>"
];
dependencies = [
{
name = "bitflags";
packageId = "bitflags";
}
{
name = "core-foundation";
packageId = "core-foundation";
}
{
name = "core-foundation-sys";
packageId = "core-foundation-sys";
}
{
name = "libc";
packageId = "libc";
}
{
name = "security-framework-sys";
packageId = "security-framework-sys";
}
];
features = {
"OSX_10_10" = [ "OSX_10_9" "security-framework-sys/OSX_10_10" ];
"OSX_10_11" = [ "OSX_10_10" "security-framework-sys/OSX_10_11" ];
"OSX_10_12" = [ "OSX_10_11" "security-framework-sys/OSX_10_12" ];
"OSX_10_13" = [ "OSX_10_12" "security-framework-sys/OSX_10_13" "alpn" "session-tickets" ];
"OSX_10_9" = [ "security-framework-sys/OSX_10_9" ];
};
};
"security-framework-sys" = rec {
crateName = "security-framework-sys";
version = "0.4.3";
edition = "2015";
sha256 = "01c4fkj78frz6kz9vri1am2pbkz52raxws5lbrli5xajjbci3gqp";
authors = [
"Steven Fackler <sfackler@gmail.com>"
"Kornel <kornel@geekhood.net>"
];
dependencies = [
{
name = "core-foundation-sys";
packageId = "core-foundation-sys";
}
{
name = "libc";
packageId = "libc";
}
];
features = {
"OSX_10_10" = [ "OSX_10_9" ];
"OSX_10_11" = [ "OSX_10_10" ];
"OSX_10_12" = [ "OSX_10_11" ];
"OSX_10_13" = [ "OSX_10_12" ];
};
};
"separator" = rec {
crateName = "separator";
version = "0.4.1";
edition = "2018";
sha256 = "1r9cfwknv4p4v5ryd204wqk5j85742ibkcz7sby41w7f8ykl2y7r";
authors = [
"Saghm Rossi <saghmrossi@gmail.com>"
];
};
"serde" = rec {
crateName = "serde";
version = "1.0.110";
edition = "2015";
sha256 = "0k10135zxqc67y6dhq5bc1vq3viy5aby8r4rp9pba5jd8q4b7rwr";
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.110";
edition = "2015";
sha256 = "110rfxlcli1dm9bif7f7pqavkiq0m93qa56arazx6hlsz9mvz3w1";
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" ];
};
"serde_json" = rec {
crateName = "serde_json";
version = "1.0.53";
edition = "2018";
sha256 = "18nfckwa4zqaz27l7di0jwgw5bf6a3wjhx8snfli34hqbgklhfcr";
authors = [
"Erick Tryzelaar <erick.tryzelaar@gmail.com>"
"David Tolnay <dtolnay@gmail.com>"
];
dependencies = [
{
name = "itoa";
packageId = "itoa";
usesDefaultFeatures = false;
}
{
name = "ryu";
packageId = "ryu";
}
{
name = "serde";
packageId = "serde";
usesDefaultFeatures = false;
}
];
features = {
"alloc" = [ "serde/alloc" ];
"default" = [ "std" ];
"preserve_order" = [ "indexmap" ];
"std" = [ "serde/std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"sha-1" = rec {
crateName = "sha-1";
version = "0.8.2";
edition = "2015";
sha256 = "1pv387q0r7llk2cqzyq0nivzvkgqgzsiygqzlv7b68z9xl5lvngp";
libName = "sha1";
authors = [
"RustCrypto Developers"
];
dependencies = [
{
name = "block-buffer";
packageId = "block-buffer";
}
{
name = "digest";
packageId = "digest";
}
{
name = "fake-simd";
packageId = "fake-simd";
}
{
name = "opaque-debug";
packageId = "opaque-debug";
}
];
devDependencies = [
{
name = "digest";
packageId = "digest";
features = [ "dev" ];
}
];
features = {
"asm" = [ "sha1-asm" ];
"asm-aarch64" = [ "asm" "libc" ];
"default" = [ "std" ];
"std" = [ "digest/std" ];
};
};
"sharded-slab" = rec {
crateName = "sharded-slab";
version = "0.0.9";
edition = "2018";
sha256 = "0gpz2zmc73w0qlhypqv1b4irw56yp7lfxwirahmb9dbg2vss7m86";
authors = [
"Eliza Weisman <eliza@buoyant.io>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
}
];
};
"slab" = rec {
crateName = "slab";
version = "0.4.2";
edition = "2015";
sha256 = "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1";
authors = [
"Carl Lerche <me@carllerche.com>"
];
};
"smallvec" = rec {
crateName = "smallvec";
version = "1.4.0";
edition = "2018";
sha256 = "1r2yxn8qamzb1jn91zbphl0x49scbfxxjr629ql58mv1w5w5djy7";
libPath = "lib.rs";
authors = [
"Simon Sapin <simon.sapin@exyr.org>"
];
features = {
};
};
"socket2" = rec {
crateName = "socket2";
version = "0.3.12";
edition = "2018";
sha256 = "062921z4yc29mwzxx982nwd1kb8lnfqyvhncydbf7p3pys9qf203";
authors = [
"Alex Crichton <alex@alexcrichton.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
target = { target, features }: (target."unix" || (target."os" == "redox"));
}
{
name = "libc";
packageId = "libc";
target = { target, features }: (target."unix" || (target."os" == "redox"));
}
{
name = "redox_syscall";
packageId = "redox_syscall";
target = { target, features }: (target."os" == "redox");
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "handleapi" "ws2def" "ws2ipdef" "ws2tcpip" "minwindef" ];
}
];
features = {
};
};
"static_assertions" = rec {
crateName = "static_assertions";
version = "1.1.0";
edition = "2015";
sha256 = "0gsl6xmw10gvn3zs1rv99laj5ig7ylffnh71f9l34js4nr4r7sx2";
authors = [
"Nikolai Vazquez"
];
features = {
};
};
"syn" = rec {
crateName = "syn";
version = "1.0.23";
edition = "2018";
sha256 = "0sbj8jjy43rv9fg3c8ijjfc3p26z4jrgxwhk58qaaj4ycj9g3dcm";
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" "extra-traits" "full" "parsing" "printing" "proc-macro" "quote" "visit" ];
};
"sys-info" = rec {
crateName = "sys-info";
version = "0.5.10";
edition = "2015";
sha256 = "0g22by74q93jpbpjv3c8ykdpnspdgnzqp7q6wanzqai1r543la2q";
libName = "sys_info";
libPath = "lib.rs";
authors = [
"Siyu Wang <FillZpp.pub@gmail.com>"
];
dependencies = [
{
name = "libc";
packageId = "libc";
}
];
buildDependencies = [
{
name = "cc";
packageId = "cc";
}
];
};
"tcp-stream" = rec {
crateName = "tcp-stream";
version = "0.19.1";
edition = "2018";
sha256 = "0gihcjbkl1bfakq9cphbf54i2z30rb1jsjvm1bjm6fy8dyk3dy9v";
libName = "tcp_stream";
authors = [
"Marc-Antoine Perennou <Marc-Antoine@Perennou.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "mio";
packageId = "mio 0.7.0";
usesDefaultFeatures = false;
features = [ "os-poll" "tcp" ];
}
{
name = "native-tls";
packageId = "native-tls";
rename = "native-tls-crate";
optional = true;
}
{
name = "pem";
packageId = "pem";
optional = true;
}
];
features = {
"dangerous-configuration" = [ "rustls-connector/dangerous-configuration" ];
"default" = [ "native-tls" ];
"native-tls" = [ "native-tls-crate" "pem" ];
"quic" = [ "rustls-connector/quic" ];
"rustls" = [ "rustls-native-certs" ];
"rustls-common" = [ "rustls-connector" "p12" ];
"rustls-native-certs" = [ "rustls-common" "rustls-connector/native-certs" ];
"rustls-webpki-roots-certs" = [ "rustls-common" "rustls-connector/webpki-roots-certs" ];
"vendored-openssl" = [ "openssl/vendored" ];
};
resolvedDefaultFeatures = [ "native-tls" "native-tls-crate" "pem" ];
};
"tempfile 2.2.0" = rec {
crateName = "tempfile";
version = "2.2.0";
edition = "2015";
sha256 = "1q61byf232rra0vqxp4qp10wwwqsqqd45qjj80ql5f34vgljzkhi";
authors = [
"Steven Allen <steven@stebalien.com>"
];
dependencies = [
{
name = "kernel32-sys";
packageId = "kernel32-sys";
target = { target, features }: target."windows";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "rand";
packageId = "rand 0.3.23";
}
{
name = "redox_syscall";
packageId = "redox_syscall";
target = { target, features }: (target."os" == "redox");
}
{
name = "winapi";
packageId = "winapi 0.2.8";
target = { target, features }: target."windows";
}
];
};
"tempfile 3.1.0" = rec {
crateName = "tempfile";
version = "3.1.0";
edition = "2018";
sha256 = "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks";
authors = [
"Steven Allen <steven@stebalien.com>"
"The Rust Project Developers"
"Ashley Mannix <ashleymannix@live.com.au>"
"Jason White <jasonaw0@gmail.com>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "libc";
packageId = "libc";
target = { target, features }: target."unix";
}
{
name = "rand";
packageId = "rand 0.7.3";
}
{
name = "redox_syscall";
packageId = "redox_syscall";
target = { target, features }: (target."os" == "redox");
}
{
name = "remove_dir_all";
packageId = "remove_dir_all";
}
{
name = "winapi";
packageId = "winapi 0.3.8";
target = { target, features }: target."windows";
features = [ "fileapi" "handleapi" "winbase" ];
}
];
};
"thread_local" = rec {
crateName = "thread_local";
version = "1.0.1";
edition = "2015";
sha256 = "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l";
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 0.3.8";
target = { target, features }: target."windows";
features = [ "std" "minwinbase" "minwindef" "ntdef" "profileapi" "sysinfoapi" "timezoneapi" ];
}
];
devDependencies = [
{
name = "winapi";
packageId = "winapi 0.3.8";
features = [ "std" "processthreadsapi" "winbase" ];
}
];
};
"tracing" = rec {
crateName = "tracing";
version = "0.1.14";
edition = "2018";
sha256 = "08r98sp312rxwsm26wzgd013w134gfvhdswhv6r8q8bd26fvbim7";
authors = [
"Eliza Weisman <eliza@buoyant.io>"
"Tokio Contributors <team@tokio.rs>"
];
dependencies = [
{
name = "cfg-if";
packageId = "cfg-if";
}
{
name = "tracing-attributes";
packageId = "tracing-attributes";
optional = true;
}
{
name = "tracing-core";
packageId = "tracing-core";
usesDefaultFeatures = false;
}
];
features = {
"attributes" = [ "tracing-attributes" ];
"default" = [ "std" "attributes" ];
"log-always" = [ "log" ];
"std" = [ "tracing-core/std" ];
};
resolvedDefaultFeatures = [ "attributes" "default" "std" "tracing-attributes" ];
};
"tracing-attributes" = rec {
crateName = "tracing-attributes";
version = "0.1.8";
edition = "2018";
sha256 = "0k4qvq437md3zynm8qbas6jfb0xp222xisij6af3r4pxwc6svfwr";
procMacro = true;
authors = [
"Tokio Contributors <team@tokio.rs>"
"Eliza Weisman <eliza@buoyant.io>"
"David Barsky <dbarsky@amazon.com>"
];
dependencies = [
{
name = "proc-macro2";
packageId = "proc-macro2";
}
{
name = "quote";
packageId = "quote";
}
{
name = "syn";
packageId = "syn";
features = [ "full" "extra-traits" ];
}
];
features = {
};
};
"tracing-core" = rec {
crateName = "tracing-core";
version = "0.1.10";
edition = "2018";
sha256 = "05dpa21valy0c6nj5ybn951774icxhdb70cwq0ida7088yd3ma0a";
authors = [
"Tokio Contributors <team@tokio.rs>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
optional = true;
}
];
features = {
"default" = [ "std" ];
"std" = [ "lazy_static" ];
};
resolvedDefaultFeatures = [ "default" "lazy_static" "std" ];
};
"tracing-log" = rec {
crateName = "tracing-log";
version = "0.1.1";
edition = "2018";
sha256 = "1fdr0az98q9m5kiybvdvsb2m9mg86fdidgb5czzq2d71g1qqq3sy";
authors = [
"Tokio Contributors <team@tokio.rs>"
];
dependencies = [
{
name = "lazy_static";
packageId = "lazy_static";
}
{
name = "log";
packageId = "log 0.4.8";
}
{
name = "tracing-core";
packageId = "tracing-core";
}
];
features = {
"default" = [ "log-tracer" "trace-logger" "std" ];
"std" = [ "log/std" ];
};
resolvedDefaultFeatures = [ "log-tracer" "std" ];
};
"tracing-serde" = rec {
crateName = "tracing-serde";
version = "0.1.1";
edition = "2018";
sha256 = "0ybfv0bzx542xkqzhcjx33knbs92zyvxjrf7iwkfvq0niwpvmk5n";
authors = [
"Tokio Contributors <team@tokio.rs>"
];
dependencies = [
{
name = "serde";
packageId = "serde";
}
{
name = "tracing-core";
packageId = "tracing-core";
}
];
};
"tracing-subscriber" = rec {
crateName = "tracing-subscriber";
version = "0.2.5";
edition = "2018";
sha256 = "1li6g1hw2q3wz39c5g9kvw1q9jl6d3r87x0zsapcjsdai42c8lqx";
authors = [
"Eliza Weisman <eliza@buoyant.io>"
"David Barsky <me@davidbarsky.com>"
"Tokio Contributors <team@tokio.rs>"
];
dependencies = [
{
name = "ansi_term";
packageId = "ansi_term";
optional = true;
}
{
name = "chrono";
packageId = "chrono";
optional = true;
}
{
name = "lazy_static";
packageId = "lazy_static";
optional = true;
}
{
name = "matchers";
packageId = "matchers";
optional = true;
}
{
name = "regex";
packageId = "regex";
optional = true;
}
{
name = "serde";
packageId = "serde";
optional = true;
}
{
name = "serde_json";
packageId = "serde_json";
optional = true;
}
{
name = "sharded-slab";
packageId = "sharded-slab";
optional = true;
}
{
name = "smallvec";
packageId = "smallvec";
optional = true;
}
{
name = "tracing-core";
packageId = "tracing-core";
}
{
name = "tracing-log";
packageId = "tracing-log";
optional = true;
usesDefaultFeatures = false;
features = [ "log-tracer" "std" ];
}
{
name = "tracing-serde";
packageId = "tracing-serde";
optional = true;
}
];
devDependencies = [
{
name = "tracing-log";
packageId = "tracing-log";
}
];
features = {
"ansi" = [ "fmt" "ansi_term" ];
"default" = [ "env-filter" "smallvec" "fmt" "ansi" "chrono" "tracing-log" "json" ];
"env-filter" = [ "matchers" "regex" "lazy_static" ];
"fmt" = [ "registry" ];
"json" = [ "tracing-serde" "serde" "serde_json" ];
"registry" = [ "sharded-slab" ];
};
resolvedDefaultFeatures = [ "ansi" "ansi_term" "chrono" "default" "env-filter" "fmt" "json" "lazy_static" "matchers" "regex" "registry" "serde" "serde_json" "sharded-slab" "smallvec" "tracing-log" "tracing-serde" ];
};
"traitobject" = rec {
crateName = "traitobject";
version = "0.1.0";
edition = "2015";
sha256 = "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg";
authors = [
"Jonathan Reem <jonathan.reem@gmail.com>"
];
};
"typeable" = rec {
crateName = "typeable";
version = "0.1.2";
edition = "2015";
sha256 = "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l";
authors = [
"Jonathan Reem <jonathan.reem@gmail.com>"
];
};
"typenum" = rec {
crateName = "typenum";
version = "1.12.0";
edition = "2015";
sha256 = "0cvbksljz61ian21fnn0h51kphl0pwpzb932bv4s0rwy1wh8lg1p";
build = "build/main.rs";
authors = [
"Paho Lurie-Gregg <paho@paholg.com>"
"Andre Bogus <bogusandre@gmail.com>"
];
features = {
};
};
"ucd-trie" = rec {
crateName = "ucd-trie";
version = "0.1.3";
edition = "2018";
sha256 = "072cblf8v3wzyaz3lhbpzgil4s03dpzg1ppy3gqx2l4v622y3pjn";
authors = [
"Andrew Gallant <jamslam@gmail.com>"
];
features = {
"default" = [ "std" ];
};
resolvedDefaultFeatures = [ "default" "std" ];
};
"unicase" = rec {
crateName = "unicase";
version = "1.4.2";
edition = "2015";
sha256 = "0cwazh4qsmm9msckjk86zc1z35xg7hjxjykrgjalzdv367w6aivz";
authors = [
"Sean McArthur <sean.monstar@gmail.com>"
];
buildDependencies = [
{
name = "version_check";
packageId = "version_check 0.1.5";
}
];
features = {
"heap_size" = [ "heapsize" "heapsize_plugin" ];
};
};
"unicode-bidi" = rec {
crateName = "unicode-bidi";
version = "0.3.4";
edition = "2015";
sha256 = "1malx8ljgm7v1gbaazkn7iicy5wj0bwcyadj3l727a38ch6bvwj9";
libName = "unicode_bidi";
authors = [
"The Servo Project Developers"
];
dependencies = [
{
name = "matches";
packageId = "matches";
}
];
features = {
"flame_it" = [ "flame" "flamer" ];
"with_serde" = [ "serde" ];
};
resolvedDefaultFeatures = [ "default" ];
};
"unicode-normalization" = rec {
crateName = "unicode-normalization";
version = "0.1.12";
edition = "2015";
sha256 = "195gb4fzlgg4g9cv6w057ncpmvvnx30r00w9hj114knhmlmm6yal";
authors = [
"kwantam <kwantam@gmail.com>"
];
dependencies = [
{
name = "smallvec";
packageId = "smallvec";
}
];
};
"unicode-xid" = rec {
crateName = "unicode-xid";
version = "0.2.0";
edition = "2015";
sha256 = "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2";
authors = [
"erick.tryzelaar <erick.tryzelaar@gmail.com>"
"kwantam <kwantam@gmail.com>"
];
features = {
};
resolvedDefaultFeatures = [ "default" ];
};
"url 1.7.2" = rec {
crateName = "url";
version = "1.7.2";
edition = "2015";
sha256 = "0nim1c90mxpi9wgdw2xh8dqd72vlklwlzam436akcrhjac6pqknx";
authors = [
"The rust-url developers"
];
dependencies = [
{
name = "idna";
packageId = "idna 0.1.5";
}
{
name = "matches";
packageId = "matches";
}
{
name = "percent-encoding";
packageId = "percent-encoding 1.0.1";
}
];
features = {
"heap_size" = [ "heapsize" ];
"query_encoding" = [ "encoding" ];
};
};
"url 2.1.1" = rec {
crateName = "url";
version = "2.1.1";
edition = "2015";
sha256 = "1jw7cw8br4xvjb92ddrrh1r7jvqhyhiknnnfpgq9np63fs24m7c2";
authors = [
"The rust-url developers"
];
dependencies = [
{
name = "idna";
packageId = "idna 0.2.0";
}
{
name = "matches";
packageId = "matches";
}
{
name = "percent-encoding";
packageId = "percent-encoding 2.1.0";
}
];
};
"uuid" = rec {
crateName = "uuid";
version = "0.4.0";
edition = "2015";
sha256 = "0cdj2v6v2yy3zyisij69waksd17cyir1n58kwyk1n622105wbzkw";
authors = [
"The Rust Project Developers"
];
dependencies = [
{
name = "rand";
packageId = "rand 0.3.23";
optional = true;
}
];
features = {
"v4" = [ "rand" ];
"v5" = [ "sha1" ];
};
resolvedDefaultFeatures = [ "rand" "v4" ];
};
"vcpkg" = rec {
crateName = "vcpkg";
version = "0.2.8";
edition = "2015";
sha256 = "0s1ijdrsg6917imja2hb07l0z4vbx7ydm8m2i1n9g62fg7r3ki1z";
authors = [
"Jim McGrath <jimmc2@gmail.com>"
];
};
"version_check 0.1.5" = rec {
crateName = "version_check";
version = "0.1.5";
edition = "2015";
sha256 = "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi";
authors = [
"Sergio Benitez <sb@sergio.bz>"
];
};
"version_check 0.9.2" = rec {
crateName = "version_check";
version = "0.9.2";
edition = "2015";
sha256 = "1vbaqdf802qinsq8q20w8w0qn2pv0rkq5p73ijcblrwxcvjp5adm";
authors = [
"Sergio Benitez <sb@sergio.bz>"
];
};
"wasi" = 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 0.2.8" = rec {
crateName = "winapi";
version = "0.2.8";
edition = "2015";
sha256 = "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n";
authors = [
"Peter Atashian <retep998@gmail.com>"
];
};
"winapi 0.3.8" = rec {
crateName = "winapi";
version = "0.3.8";
edition = "2015";
sha256 = "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0";
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 = [ "cfg" "consoleapi" "errhandlingapi" "evntrace" "fileapi" "handleapi" "in6addr" "inaddr" "ioapiset" "lmcons" "minschannel" "minwinbase" "minwindef" "mswsock" "namedpipeapi" "ntdef" "ntsecapi" "ntstatus" "processenv" "processthreadsapi" "profileapi" "schannel" "securitybaseapi" "sspi" "std" "synchapi" "sysinfoapi" "timezoneapi" "winbase" "wincrypt" "windef" "winerror" "winioctl" "winnt" "winsock2" "ws2def" "ws2ipdef" "ws2tcpip" ];
};
"winapi-build" = rec {
crateName = "winapi-build";
version = "0.1.1";
edition = "2015";
sha256 = "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d";
libName = "build";
authors = [
"Peter Atashian <retep998@gmail.com>"
];
};
"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>"
];
};
"ws2_32-sys" = rec {
crateName = "ws2_32-sys";
version = "0.2.1";
edition = "2015";
sha256 = "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m";
libName = "ws2_32";
authors = [
"Peter Atashian <retep998@gmail.com>"
];
dependencies = [
{
name = "winapi";
packageId = "winapi 0.2.8";
}
];
buildDependencies = [
{
name = "winapi-build";
packageId = "winapi-build";
}
];
};
};
#
# 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)
#
};
}