diff options
author | Irene Knapp <ireneista@gmail.com> | 2023-03-12 22:34:42 -0700 |
---|---|---|
committer | Irene Knapp <ireneista@gmail.com> | 2023-03-12 22:34:42 -0700 |
commit | 93f935c38c7ed6108eea556cacb69a097f6bcf4b (patch) | |
tree | f844da949fd7c509917b4956633721ae1aeb7780 | |
parent | b1b668ddaff33c6d5e7ca298675c4f2e6b06f7a1 (diff) |
fully flakeify
-rw-r--r-- | .envrc | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Cargo.nix | 3593 | ||||
-rw-r--r-- | build.rs | 5 | ||||
-rw-r--r-- | default.nix | 15 | ||||
-rw-r--r-- | flake.lock | 105 | ||||
-rw-r--r-- | shell.nix | 17 | ||||
-rw-r--r-- | src/terminal.rs | 7 |
8 files changed, 116 insertions, 3629 deletions
diff --git a/.envrc b/.envrc index be81fed..3550a30 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -eval "$(lorri direnv)" \ No newline at end of file +use flake diff --git a/.gitignore b/.gitignore index 31158d2..878f7eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.direnv /target /result /result-* diff --git a/Cargo.nix b/Cargo.nix deleted file mode 100644 index 35566b5..0000000 --- a/Cargo.nix +++ /dev/null @@ -1,3593 +0,0 @@ - -# This file was @generated by crate2nix 0.8.0 with the command: -# "generate" -# See https://github.com/kolloch/crate2nix for more info. - -{ nixpkgs ? <nixpkgs> -, pkgs ? import nixpkgs { config = {}; } -, lib ? pkgs.lib -, stdenv ? pkgs.stdenv -, buildRustCrate ? pkgs.buildRustCrate - # This is used as the `crateOverrides` argument for `buildRustCrate`. -, defaultCrateOverrides ? pkgs.defaultCrateOverrides - # The features to enable for the root_crate or the workspace_members. -, rootFeatures ? [ "default" ] - # If true, throw errors instead of issueing deprecation warnings. -, strictDeprecation ? false - # Whether to perform release builds: longer compile times, faster binaries. -, release ? true -}: - -rec { - # - # "public" attributes that we attempt to keep stable with new versions of crate2nix. - # - - rootCrate = rec { - packageId = "shell"; - - # Use this attribute to refer to the derivation building your root crate package. - # You can override the features with rootCrate.build.override { features = [ "default" "feature1" ... ]; }. - build = internal.buildRustCrateWithFeatures { - inherit packageId; - }; - - # Debug support which might change between releases. - # File a bug if you depend on any for non-debug work! - debug = internal.debugCrate { inherit packageId; }; - }; - root_crate = - internal.deprecationWarning - "root_crate is deprecated since crate2nix 0.4. Please use rootCrate instead." - rootCrate.build; - # Refer your crate build derivation by name here. - # You can override the features with - # workspaceMembers."${crateName}".build.override { features = [ "default" "feature1" ... ]; }. - workspaceMembers = { - "shell" = rec { - packageId = "shell"; - build = internal.buildRustCrateWithFeatures { - packageId = "shell"; - }; - - # Debug support which might change between releases. - # File a bug if you depend on any for non-debug work! - debug = internal.debugCrate { inherit packageId; }; - }; - }; - workspace_members = - internal.deprecationWarning - "workspace_members is deprecated in crate2nix 0.4. Please use workspaceMembers instead." - lib.mapAttrs (n: v: v.build) workspaceMembers; - - # - # "internal" ("private") attributes that may change in every new version of crate2nix. - # - - internal = rec { - # Build and dependency information for crates. - # Many of the fields are passed one-to-one to buildRustCrate. - # - # Noteworthy: - # * `dependencies`/`buildDependencies`: similar to the corresponding fields for buildRustCrate. - # but with additional information which is used during dependency/feature resolution. - # * `resolvedDependencies`: the selected default features reported by cargo - only included for debugging. - # * `devDependencies` as of now not used by `buildRustCrate` but used to - # inject test dependencies into the build - - crates = { - "aho-corasick" = rec { - crateName = "aho-corasick"; - version = "0.7.13"; - edition = "2015"; - sha256 = "11hfmqf90rdvjdpk0x1lixw1s9n08y3fxfy9zqsk0k2wpbc68c84"; - libName = "aho_corasick"; - authors = [ - "Andrew Gallant <jamslam@gmail.com>" - ]; - dependencies = [ - { - name = "memchr"; - packageId = "memchr"; - usesDefaultFeatures = false; - } - ]; - features = { - "default" = [ "std" ]; - "std" = [ "memchr/use_std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "arrayref" = rec { - crateName = "arrayref"; - version = "0.3.6"; - edition = "2015"; - sha256 = "0i6m1l3f73i0lf0cjdf5rh3xpvxydyhfbakq7xx7bkrp5qajgid4"; - authors = [ - "David Roundy <roundyd@physics.oregonstate.edu>" - ]; - - }; - "arrayvec" = rec { - crateName = "arrayvec"; - version = "0.5.1"; - edition = "2018"; - sha256 = "1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg"; - authors = [ - "bluss" - ]; - features = { - "default" = [ "std" ]; - }; - }; - "ascii-canvas" = rec { - crateName = "ascii-canvas"; - version = "2.0.0"; - edition = "2015"; - sha256 = "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"; - authors = [ - "Niko Matsakis <niko@alum.mit.edu>" - ]; - dependencies = [ - { - name = "term"; - packageId = "term"; - } - ]; - - }; - "async-channel" = rec { - crateName = "async-channel"; - version = "1.5.1"; - edition = "2018"; - sha256 = "1ffn42ig82az8ndgjb545imifarcavwxs9dff6psbdkdjj1hsx2r"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "concurrent-queue"; - packageId = "concurrent-queue"; - } - { - name = "event-listener"; - packageId = "event-listener"; - } - { - name = "futures-core"; - packageId = "futures-core"; - } - ]; - - }; - "async-executor" = rec { - crateName = "async-executor"; - version = "1.4.0"; - edition = "2018"; - sha256 = "0ilivvzc082ynr096xxghc8hdmlmacxilcpn738ylh5lqxq7k1zb"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "async-task"; - packageId = "async-task"; - } - { - name = "concurrent-queue"; - packageId = "concurrent-queue"; - } - { - name = "fastrand"; - packageId = "fastrand"; - } - { - name = "futures-lite"; - packageId = "futures-lite"; - } - { - name = "once_cell"; - packageId = "once_cell"; - } - { - name = "vec-arena"; - packageId = "vec-arena"; - } - ]; - - }; - "async-global-executor" = rec { - crateName = "async-global-executor"; - version = "2.0.2"; - edition = "2018"; - sha256 = "1xjacr43sbz2zk0zygpd9k14n95wa61x8n9i8mcdwdkz659fr1lm"; - authors = [ - "Marc-Antoine Perennou <Marc-Antoine@Perennou.com>" - ]; - dependencies = [ - { - name = "async-channel"; - packageId = "async-channel"; - } - { - name = "async-executor"; - packageId = "async-executor"; - } - { - name = "async-io"; - packageId = "async-io"; - optional = true; - } - { - name = "async-mutex"; - packageId = "async-mutex"; - } - { - name = "blocking"; - packageId = "blocking"; - } - { - name = "futures-lite"; - packageId = "futures-lite"; - } - { - name = "num_cpus"; - packageId = "num_cpus"; - } - { - name = "once_cell"; - packageId = "once_cell"; - } - ]; - features = { - "default" = [ "async-io" ]; - "tokio" = [ "tokio-crate" ]; - "tokio02" = [ "tokio02-crate" ]; - "tokio03" = [ "tokio03-crate" ]; - }; - resolvedDefaultFeatures = [ "async-io" "default" ]; - }; - "async-io" = rec { - crateName = "async-io"; - version = "1.3.1"; - edition = "2018"; - sha256 = "1zg0bvb58615qar6ih3ddr1cyjh0fsrfdhpy90z1qxjnfpqgh5ck"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "concurrent-queue"; - packageId = "concurrent-queue"; - } - { - name = "fastrand"; - packageId = "fastrand"; - } - { - name = "futures-lite"; - packageId = "futures-lite"; - } - { - name = "libc"; - packageId = "libc"; - target = { target, features }: target."unix"; - } - { - name = "log"; - packageId = "log"; - } - { - name = "nb-connect"; - packageId = "nb-connect"; - } - { - name = "once_cell"; - packageId = "once_cell"; - } - { - name = "parking"; - packageId = "parking"; - } - { - name = "polling"; - packageId = "polling"; - } - { - name = "vec-arena"; - packageId = "vec-arena"; - } - { - name = "waker-fn"; - packageId = "waker-fn"; - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "winsock2" ]; - } - ]; - - }; - "async-lock" = rec { - crateName = "async-lock"; - version = "2.3.0"; - edition = "2018"; - sha256 = "1yrvnshs94aiimvprqkhcg1z7x9abzsja8f4ifcakr5x6abn15hr"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "event-listener"; - packageId = "event-listener"; - } - ]; - - }; - "async-mutex" = rec { - crateName = "async-mutex"; - version = "1.4.0"; - edition = "2018"; - sha256 = "0vhmsscqx48dmxw0yir6az0pbwcq6qjvcv2f43vdpn95vd9bi7a7"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "event-listener"; - packageId = "event-listener"; - } - ]; - - }; - "async-std" = rec { - crateName = "async-std"; - version = "1.9.0"; - edition = "2018"; - sha256 = "0h834fni3npsggjqin8386d2fn11m2z42dr1ymq0aknppa2ndw6r"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - "Yoshua Wuyts <yoshuawuyts@gmail.com>" - "Friedel Ziegelmayer <me@dignifiedquire.com>" - "Contributors to async-std" - ]; - dependencies = [ - { - name = "async-channel"; - packageId = "async-channel"; - optional = true; - } - { - name = "async-global-executor"; - packageId = "async-global-executor"; - optional = true; - target = { target, features }: (!(target."os" == "unknown")); - features = [ "async-io" ]; - } - { - name = "async-io"; - packageId = "async-io"; - optional = true; - target = { target, features }: (!(target."os" == "unknown")); - } - { - name = "async-lock"; - packageId = "async-lock"; - optional = true; - } - { - name = "crossbeam-utils"; - packageId = "crossbeam-utils 0.8.1"; - optional = true; - } - { - name = "futures-channel"; - packageId = "futures-channel"; - optional = true; - target = { target, features }: (target."arch" == "wasm32"); - } - { - name = "futures-core"; - packageId = "futures-core"; - optional = true; - usesDefaultFeatures = false; - } - { - name = "futures-io"; - packageId = "futures-io"; - optional = true; - } - { - name = "futures-lite"; - packageId = "futures-lite"; - optional = true; - target = { target, features }: (!(target."os" == "unknown")); - } - { - name = "gloo-timers"; - packageId = "gloo-timers"; - optional = true; - target = { target, features }: (target."arch" == "wasm32"); - features = [ "futures" ]; - } - { - name = "kv-log-macro"; - packageId = "kv-log-macro"; - optional = true; - } - { - name = "log"; - packageId = "log"; - optional = true; - features = [ "kv_unstable" ]; - } - { - name = "memchr"; - packageId = "memchr"; - 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; - } - { - name = "wasm-bindgen-futures"; - packageId = "wasm-bindgen-futures"; - optional = true; - target = { target, features }: (target."arch" == "wasm32"); - } - ]; - features = { - "alloc" = [ "futures-core/alloc" "pin-project-lite" ]; - "attributes" = [ "async-attributes" ]; - "default" = [ "std" "async-global-executor" "async-io" "futures-lite" "kv-log-macro" "log" "num_cpus" "pin-project-lite" "gloo-timers" ]; - "docs" = [ "attributes" "unstable" "default" ]; - "std" = [ "alloc" "crossbeam-utils" "futures-core/std" "futures-io" "memchr" "once_cell" "pin-utils" "slab" "wasm-bindgen-futures" "futures-channel" "async-channel" "async-lock" ]; - "tokio02" = [ "async-global-executor/tokio02" ]; - "tokio03" = [ "async-global-executor/tokio03" ]; - "tokio1" = [ "async-global-executor/tokio" ]; - "unstable" = [ "std" "async-io" "async-process" ]; - }; - resolvedDefaultFeatures = [ "alloc" "async-channel" "async-global-executor" "async-io" "async-lock" "crossbeam-utils" "default" "futures-channel" "futures-core" "futures-io" "futures-lite" "gloo-timers" "kv-log-macro" "log" "memchr" "num_cpus" "once_cell" "pin-project-lite" "pin-utils" "slab" "std" "wasm-bindgen-futures" ]; - }; - "async-task" = rec { - crateName = "async-task"; - version = "4.0.3"; - edition = "2018"; - sha256 = "1w0a1c8jim6s5bvcyiiwg9m4bdv3xnd4hbjm97ndgmphmgg32679"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "atomic-waker" = rec { - crateName = "atomic-waker"; - version = "1.0.0"; - edition = "2018"; - sha256 = "0ansiq5vlw684fhks2x4a4is2rqlbv50q5mi8x0fxxvx5q2p8lq6"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - - }; - "atty" = rec { - crateName = "atty"; - version = "0.2.14"; - edition = "2015"; - sha256 = "1s7yslcs6a28c5vz7jwj63lkfgyx8mx99fdirlhi9lbhhzhrpcyr"; - authors = [ - "softprops <d.tangren@gmail.com>" - ]; - dependencies = [ - { - name = "hermit-abi"; - packageId = "hermit-abi"; - target = { target, features }: (target."os" == "hermit"); - } - { - name = "libc"; - packageId = "libc"; - usesDefaultFeatures = false; - target = { target, features }: target."unix"; - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "consoleapi" "processenv" "minwinbase" "minwindef" "winbase" ]; - } - ]; - - }; - "autocfg" = rec { - crateName = "autocfg"; - version = "1.0.1"; - edition = "2015"; - sha256 = "0jj6i9zn4gjl03kjvziqdji6rwx8ykz8zk2ngpc331z2g3fk3c6d"; - authors = [ - "Josh Stone <cuviper@gmail.com>" - ]; - - }; - "base64" = rec { - crateName = "base64"; - version = "0.12.3"; - edition = "2018"; - sha256 = "1zq33had71xh48n17g4kqs96szhx3yh7qibzwi4fk217n3vz0h9l"; - authors = [ - "Alice Maz <alice@alicemaz.com>" - "Marshall Pierce <marshall@mpierce.org>" - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "bit-set" = rec { - crateName = "bit-set"; - version = "0.5.2"; - edition = "2015"; - sha256 = "1pjrmpsnad5ipwjsv8ppi0qrhqvgpyn3wfbvk7jy8dga6mhf24bf"; - authors = [ - "Alexis Beingessner <a.beingessner@gmail.com>" - ]; - dependencies = [ - { - name = "bit-vec"; - packageId = "bit-vec"; - usesDefaultFeatures = false; - } - ]; - features = { - "default" = [ "std" ]; - "std" = [ "bit-vec/std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "bit-vec" = rec { - crateName = "bit-vec"; - version = "0.6.2"; - edition = "2015"; - sha256 = "1lwws9l5x4j2m1aw9qvr7pbhsk0v02xmhy6419jqa6la5mgwa3az"; - authors = [ - "Alexis Beingessner <a.beingessner@gmail.com>" - ]; - features = { - "default" = [ "std" ]; - "serde_no_std" = [ "serde/alloc" ]; - "serde_std" = [ "std" "serde/std" ]; - }; - resolvedDefaultFeatures = [ "std" ]; - }; - "bitflags" = rec { - crateName = "bitflags"; - version = "1.2.1"; - edition = "2015"; - sha256 = "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg"; - authors = [ - "The Rust Project Developers" - ]; - features = { - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "blake2b_simd" = rec { - crateName = "blake2b_simd"; - version = "0.5.10"; - edition = "2018"; - sha256 = "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq"; - authors = [ - "Jack O'Connor" - ]; - dependencies = [ - { - name = "arrayref"; - packageId = "arrayref"; - } - { - name = "arrayvec"; - packageId = "arrayvec"; - usesDefaultFeatures = false; - } - { - name = "constant_time_eq"; - packageId = "constant_time_eq"; - } - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "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"; - } - ]; - - }; - "blocking" = rec { - crateName = "blocking"; - version = "1.0.2"; - edition = "2018"; - sha256 = "1s9myg9gqmwzrbc38p23bh4vkc8w4pbpddqrcrrl1xz1xpdp1qf5"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "async-channel"; - packageId = "async-channel"; - } - { - name = "async-task"; - packageId = "async-task"; - } - { - name = "atomic-waker"; - packageId = "atomic-waker"; - } - { - name = "fastrand"; - packageId = "fastrand"; - } - { - name = "futures-lite"; - packageId = "futures-lite"; - } - { - name = "once_cell"; - packageId = "once_cell"; - } - ]; - - }; - "bumpalo" = rec { - crateName = "bumpalo"; - version = "3.5.0"; - edition = "2018"; - sha256 = "0n8dfj0caarpq409anz4d62idqgz9nlvc1q3pshkj93hiilacyph"; - authors = [ - "Nick Fitzgerald <fitzgen@gmail.com>" - ]; - features = { - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "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" ]; - }; - "cache-padded" = rec { - crateName = "cache-padded"; - version = "1.1.1"; - edition = "2018"; - sha256 = "1fkdwv9vjazm6fs3s5v56mm4carwswdmw8fcwm9ygrcvihcya6k3"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - - }; - "cc" = rec { - crateName = "cc"; - version = "1.0.66"; - edition = "2018"; - crateBin = []; - sha256 = "0j7d7h4n81z5f22l3v8ggjvvw8m64636nlaqax4x1y44da1rc12c"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - features = { - "parallel" = [ "jobserver" ]; - }; - }; - "cfg-if 0.1.10" = rec { - crateName = "cfg-if"; - version = "0.1.10"; - edition = "2018"; - sha256 = "08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - features = { - "rustc-dep-of-std" = [ "core" "compiler_builtins" ]; - }; - }; - "cfg-if 1.0.0" = rec { - crateName = "cfg-if"; - version = "1.0.0"; - edition = "2018"; - sha256 = "1za0vb97n4brpzpv8lsbnzmq5r8f2b0cpqqr0sy8h5bn751xxwds"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - features = { - "rustc-dep-of-std" = [ "core" "compiler_builtins" ]; - }; - }; - "concurrent-queue" = rec { - crateName = "concurrent-queue"; - version = "1.2.2"; - edition = "2018"; - sha256 = "18w6hblcjjk9d0my3657ra1zdj79gwfjmzvc0b3985g01dahgv9h"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "cache-padded"; - packageId = "cache-padded"; - } - ]; - - }; - "constant_time_eq" = rec { - crateName = "constant_time_eq"; - version = "0.1.5"; - edition = "2015"; - sha256 = "1g3vp04qzmk6cpzrd19yci6a95m7ap6wy7wkwgiy2pjklklrfl14"; - authors = [ - "Cesar Eduardo Barros <cesarb@cesarb.eti.br>" - ]; - - }; - "crossbeam-utils 0.7.2" = rec { - crateName = "crossbeam-utils"; - version = "0.7.2"; - edition = "2015"; - sha256 = "1a31wbrda1320gj2a6az1lin2d34xfc3xf88da4c17qy5lxcgiy3"; - authors = [ - "The Crossbeam Project Developers" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 0.1.10"; - } - { - name = "lazy_static"; - packageId = "lazy_static"; - optional = true; - } - ]; - buildDependencies = [ - { - name = "autocfg"; - packageId = "autocfg"; - } - ]; - features = { - "default" = [ "std" ]; - "std" = [ "lazy_static" ]; - }; - resolvedDefaultFeatures = [ "default" "lazy_static" "std" ]; - }; - "crossbeam-utils 0.8.1" = rec { - crateName = "crossbeam-utils"; - version = "0.8.1"; - edition = "2018"; - sha256 = "13fvrqlap7bgvlnpqr5gjcxdhx1jv99pkfg5xdlq5xcy30g6vn82"; - authors = [ - "The Crossbeam Project Developers" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 1.0.0"; - } - { - name = "lazy_static"; - packageId = "lazy_static"; - optional = true; - } - ]; - buildDependencies = [ - { - name = "autocfg"; - packageId = "autocfg"; - } - ]; - features = { - "default" = [ "std" ]; - "std" = [ "lazy_static" ]; - }; - resolvedDefaultFeatures = [ "default" "lazy_static" "std" ]; - }; - "diff" = rec { - crateName = "diff"; - version = "0.1.12"; - edition = "2015"; - sha256 = "16b40bhsa2qgvgvxs983l625pkxyp6m0mzmpwg2605cvj53yl98f"; - authors = [ - "Utkarsh Kukreti <utkarshkukreti@gmail.com>" - ]; - - }; - "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" ]; - }; - resolvedDefaultFeatures = [ "std" ]; - }; - "dirs" = rec { - crateName = "dirs"; - version = "1.0.5"; - edition = "2015"; - sha256 = "009rrhzj9pxyncmm2vhlj70npg0cgggv2hjbbkiwdl9vccq8kmrz"; - authors = [ - "Simon Ochsenreither <simon@ochsenreither.de>" - ]; - dependencies = [ - { - name = "libc"; - packageId = "libc"; - target = { target, features }: target."unix"; - } - { - name = "redox_users"; - packageId = "redox_users"; - target = { target, features }: (target."os" == "redox"); - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "knownfolders" "objbase" "shlobj" "winbase" "winerror" ]; - } - ]; - - }; - "docopt" = rec { - crateName = "docopt"; - version = "1.1.0"; - edition = "2018"; - crateBin = []; - sha256 = "0s9rcpmnnivs502q69lc1h1wrwapkq09ikgbfbgqf31idmc5llkz"; - authors = [ - "Andrew Gallant <jamslam@gmail.com>" - ]; - dependencies = [ - { - name = "lazy_static"; - packageId = "lazy_static"; - } - { - name = "regex"; - packageId = "regex"; - } - { - name = "serde"; - packageId = "serde"; - features = [ "derive" ]; - } - { - name = "strsim"; - packageId = "strsim"; - } - ]; - - }; - "either" = rec { - crateName = "either"; - version = "1.6.0"; - edition = "2015"; - sha256 = "0krcvv612bd14iz2nxncjya3nv4ga3x9qxsqb6n4gsdwcncbamnd"; - authors = [ - "bluss" - ]; - features = { - "default" = [ "use_std" ]; - }; - }; - "ena" = rec { - crateName = "ena"; - version = "0.14.0"; - edition = "2015"; - sha256 = "1hrnkx2swbczn0jzpscxxipx7jcxhg6sf9vk911ff91wm6a2nh6p"; - authors = [ - "Niko Matsakis <niko@alum.mit.edu>" - ]; - dependencies = [ - { - name = "log"; - packageId = "log"; - } - ]; - features = { - "congruence-closure" = [ "petgraph" ]; - "persistent" = [ "dogged" ]; - }; - }; - "event-listener" = rec { - crateName = "event-listener"; - version = "2.5.1"; - edition = "2018"; - sha256 = "0ndyp41pb2cx7gxijqh4ymnc47nyrvhvir7rvjlw6x09ayb10lzp"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - - }; - "fake-simd" = rec { - crateName = "fake-simd"; - version = "0.1.2"; - edition = "2015"; - sha256 = "1vfylvk4va2ivqx85603lyqqp0zk52cgbs4n5nfbbbqx577qm2p8"; - authors = [ - "The Rust-Crypto Project Developers" - ]; - - }; - "fastrand" = rec { - crateName = "fastrand"; - version = "1.4.0"; - edition = "2018"; - sha256 = "1qvz1i7g5mb2hcsaawrvxx88b8vwrsr85qr98ffmrkj5fh2sypya"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "instant"; - packageId = "instant"; - target = { target, features }: (target."arch" == "wasm32"); - } - ]; - - }; - "fixedbitset" = rec { - crateName = "fixedbitset"; - version = "0.2.0"; - edition = "2015"; - sha256 = "0kg03p777wc0dajd9pvlcnsyrwa8dhqwf0sd9r4dw0p82rs39arp"; - authors = [ - "bluss" - ]; - features = { - "default" = [ "std" ]; - }; - }; - "futures-channel" = rec { - crateName = "futures-channel"; - version = "0.3.12"; - edition = "2018"; - sha256 = "0ihq3a3yc6ial3sw536q75hrhixq22xk6wn5qzpnxazgqxz1plzj"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - dependencies = [ - { - name = "futures-core"; - packageId = "futures-core"; - usesDefaultFeatures = false; - } - ]; - features = { - "alloc" = [ "futures-core/alloc" ]; - "cfg-target-has-atomic" = [ "futures-core/cfg-target-has-atomic" ]; - "default" = [ "std" ]; - "sink" = [ "futures-sink" ]; - "std" = [ "alloc" "futures-core/std" ]; - "unstable" = [ "futures-core/unstable" ]; - }; - resolvedDefaultFeatures = [ "alloc" "default" "std" ]; - }; - "futures-core" = rec { - crateName = "futures-core"; - version = "0.3.12"; - edition = "2018"; - sha256 = "0r8ag0mkxx9cd74yrccjk31lph4gr6lhgb9di6rx39wdvrfi9rbr"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - features = { - "default" = [ "std" ]; - "std" = [ "alloc" ]; - }; - resolvedDefaultFeatures = [ "alloc" "default" "std" ]; - }; - "futures-io" = rec { - crateName = "futures-io"; - version = "0.3.12"; - edition = "2018"; - sha256 = "0005hz30pdxlbdamhd0imixmxcjpwrfxxr27kljxh6i84lshbgi8"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "futures-lite" = rec { - crateName = "futures-lite"; - version = "1.11.3"; - edition = "2018"; - sha256 = "1ywmyvpy4f348jri8rxhpj59a7bvy12pspm59x5207fys061sj5l"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - "Contributors to futures-rs" - ]; - dependencies = [ - { - name = "fastrand"; - packageId = "fastrand"; - optional = true; - } - { - name = "futures-core"; - packageId = "futures-core"; - usesDefaultFeatures = false; - } - { - name = "futures-io"; - packageId = "futures-io"; - optional = true; - } - { - name = "memchr"; - packageId = "memchr"; - usesDefaultFeatures = false; - } - { - name = "parking"; - packageId = "parking"; - optional = true; - } - { - name = "pin-project-lite"; - packageId = "pin-project-lite"; - } - { - name = "waker-fn"; - packageId = "waker-fn"; - optional = true; - } - ]; - features = { - "default" = [ "std" ]; - "std" = [ "alloc" "fastrand" "futures-io" "parking" "memchr/std" "waker-fn" ]; - }; - resolvedDefaultFeatures = [ "alloc" "default" "fastrand" "futures-io" "parking" "std" "waker-fn" ]; - }; - "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 0.1.10"; - } - { - 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" ]; - }; - }; - "gloo-timers" = rec { - crateName = "gloo-timers"; - version = "0.2.1"; - edition = "2018"; - sha256 = "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"; - authors = [ - "Rust and WebAssembly Working Group" - ]; - dependencies = [ - { - name = "futures-channel"; - packageId = "futures-channel"; - optional = true; - } - { - name = "futures-core"; - packageId = "futures-core"; - optional = true; - } - { - name = "js-sys"; - packageId = "js-sys"; - } - { - name = "wasm-bindgen"; - packageId = "wasm-bindgen"; - } - { - name = "web-sys"; - packageId = "web-sys"; - features = [ "Window" "WorkerGlobalScope" ]; - } - ]; - features = { - "futures" = [ "futures-core" "futures-channel" ]; - }; - resolvedDefaultFeatures = [ "default" "futures" "futures-channel" "futures-core" ]; - }; - "hashbrown" = rec { - crateName = "hashbrown"; - version = "0.9.0"; - edition = "2018"; - sha256 = "1xzmbslaa3ydxnxjb9wda38kl48rl3p0i0yk5r3gnl0rskrkvmh0"; - authors = [ - "Amanieu d'Antras <amanieu@gmail.com>" - ]; - features = { - "ahash-compile-time-rng" = [ "ahash/compile-time-rng" ]; - "default" = [ "ahash" "inline-more" ]; - "rustc-dep-of-std" = [ "nightly" "core" "compiler_builtins" "alloc" "rustc-internal-api" ]; - }; - resolvedDefaultFeatures = [ "raw" ]; - }; - "hermit-abi" = rec { - crateName = "hermit-abi"; - version = "0.1.15"; - edition = "2018"; - sha256 = "1ac5bij39rhzs8zngfxi109dh0h3v0jl5ng8595f9yg7nsbd3vix"; - authors = [ - "Stefan Lankes" - ]; - dependencies = [ - { - name = "libc"; - packageId = "libc"; - usesDefaultFeatures = false; - } - ]; - features = { - "rustc-dep-of-std" = [ "core" "compiler_builtins/rustc-dep-of-std" "libc/rustc-dep-of-std" ]; - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "indexmap" = rec { - crateName = "indexmap"; - version = "1.6.0"; - edition = "2018"; - sha256 = "1wi8l3y2f3k4c2azaf3jm3pw2sksm90rzgv18x1a0lxacp3y9qjm"; - authors = [ - "bluss" - "Josh Stone <cuviper@gmail.com>" - ]; - dependencies = [ - { - name = "hashbrown"; - packageId = "hashbrown"; - usesDefaultFeatures = false; - features = [ "raw" ]; - } - ]; - buildDependencies = [ - { - name = "autocfg"; - packageId = "autocfg"; - } - ]; - features = { - "serde-1" = [ "serde" ]; - }; - }; - "instant" = rec { - crateName = "instant"; - version = "0.1.9"; - edition = "2018"; - sha256 = "1v659qqm55misvjijfbl1p7azjp4yynjbwldan8836ynpgp4w4k1"; - authors = [ - "sebcrozet <developer@crozet.re>" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 1.0.0"; - } - ]; - features = { - "now" = [ "time" ]; - "wasm-bindgen" = [ "js-sys" "wasm-bindgen_rs" "web-sys" ]; - }; - }; - "itertools" = rec { - crateName = "itertools"; - version = "0.9.0"; - edition = "2018"; - sha256 = "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8"; - authors = [ - "bluss" - ]; - dependencies = [ - { - name = "either"; - packageId = "either"; - usesDefaultFeatures = false; - } - ]; - features = { - "default" = [ "use_std" ]; - }; - resolvedDefaultFeatures = [ "default" "use_std" ]; - }; - "js-sys" = rec { - crateName = "js-sys"; - version = "0.3.47"; - edition = "2018"; - sha256 = "0r8gxxgpgpg7y11jk34ccrvx1w0a20jbv35gglv3lhim3h9p7ysw"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "wasm-bindgen"; - packageId = "wasm-bindgen"; - } - ]; - - }; - "kv-log-macro" = rec { - crateName = "kv-log-macro"; - version = "1.0.7"; - edition = "2018"; - sha256 = "0zwp4bxkkp87rl7xy2dain77z977rvcry1gmr5bssdbn541v7s0d"; - authors = [ - "Yoshua Wuyts <yoshuawuyts@gmail.com>" - ]; - dependencies = [ - { - name = "log"; - packageId = "log"; - features = [ "kv_unstable" ]; - } - ]; - - }; - "lalrpop" = rec { - crateName = "lalrpop"; - version = "0.19.1"; - edition = "2015"; - crateBin = []; - sha256 = "1j52sybjhn82ydgsmnw7nkywjyb7pvg50mvyb48m7vdq3wcmdyv0"; - authors = [ - "Niko Matsakis <niko@alum.mit.edu>" - ]; - dependencies = [ - { - name = "ascii-canvas"; - packageId = "ascii-canvas"; - } - { - name = "atty"; - packageId = "atty"; - } - { - name = "bit-set"; - packageId = "bit-set"; - } - { - name = "diff"; - packageId = "diff"; - } - { - name = "docopt"; - packageId = "docopt"; - } - { - name = "ena"; - packageId = "ena"; - } - { - name = "itertools"; - packageId = "itertools"; - } - { - name = "lalrpop-util"; - packageId = "lalrpop-util"; - } - { - name = "petgraph"; - packageId = "petgraph"; - } - { - name = "regex"; - packageId = "regex"; - } - { - name = "regex-syntax"; - packageId = "regex-syntax"; - } - { - name = "serde"; - packageId = "serde"; - } - { - name = "serde_derive"; - packageId = "serde_derive"; - } - { - name = "sha2"; - packageId = "sha2"; - } - { - name = "string_cache"; - packageId = "string_cache"; - } - { - name = "term"; - packageId = "term"; - } - { - name = "unicode-xid"; - packageId = "unicode-xid"; - } - ]; - features = { - "lexer" = [ "lalrpop-util/lexer" ]; - }; - resolvedDefaultFeatures = [ "lexer" ]; - }; - "lalrpop-util" = rec { - crateName = "lalrpop-util"; - version = "0.19.1"; - edition = "2015"; - sha256 = "0224r8gsbk8and96nhwgzdj4hc1c01g78zmvv3x4f5jnzwg1cwb7"; - authors = [ - "Niko Matsakis <niko@alum.mit.edu>" - ]; - dependencies = [ - { - name = "regex"; - packageId = "regex"; - optional = true; - } - ]; - features = { - "lexer" = [ "regex" ]; - }; - resolvedDefaultFeatures = [ "lexer" "regex" ]; - }; - "lazy_static" = rec { - crateName = "lazy_static"; - version = "1.4.0"; - edition = "2015"; - sha256 = "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2"; - authors = [ - "Marvin Löbel <loebel.marvin@gmail.com>" - ]; - features = { - "spin_no_std" = [ "spin" ]; - }; - }; - "libc" = rec { - crateName = "libc"; - version = "0.2.82"; - edition = "2015"; - sha256 = "0a8r4wiyn7hbg8fmlkcr7zwhl368wfy8xbfad989adqap8zky849"; - authors = [ - "The Rust Project Developers" - ]; - features = { - "default" = [ "std" ]; - "rustc-dep-of-std" = [ "align" "rustc-std-workspace-core" ]; - "use_std" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "extra_traits" "std" ]; - }; - "log" = rec { - crateName = "log"; - version = "0.4.11"; - edition = "2015"; - sha256 = "12xzqaflpiljn5cmxsbnbv9sjaj13ykhwsvll0gysbx4blbyvasg"; - authors = [ - "The Rust Project Developers" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 0.1.10"; - } - ]; - features = { - "kv_unstable_sval" = [ "kv_unstable" "sval/fmt" ]; - }; - resolvedDefaultFeatures = [ "kv_unstable" ]; - }; - "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" ]; - }; - "nb-connect" = rec { - crateName = "nb-connect"; - version = "1.0.2"; - edition = "2018"; - sha256 = "1649m71wc0cg1rqgl8vbh0489znkhpwgl0isjd5x8mz470ash8w1"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - "Jayce Fayne <jayce.fayne@mailbox.org>" - ]; - dependencies = [ - { - name = "libc"; - packageId = "libc"; - target = { target, features }: target."unix"; - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "handleapi" "ws2tcpip" ]; - } - ]; - - }; - "new_debug_unreachable" = rec { - crateName = "new_debug_unreachable"; - version = "1.0.4"; - edition = "2018"; - sha256 = "0m1bg3wz3nvxdryg78x4i8hh9fys4wp2bi0zg821dhvf44v4g8p4"; - libName = "debug_unreachable"; - authors = [ - "Matt Brubeck <mbrubeck@limpet.net>" - "Jonathan Reem <jonathan.reem@gmail.com>" - ]; - - }; - "nix" = rec { - crateName = "nix"; - version = "0.19.1"; - edition = "2018"; - sha256 = "1wk1pmaf9pv84sc4jf19gm1as2yq3ydwcx0n5nc1bpsgzq6bmk5j"; - authors = [ - "The nix-rust Project Developers" - ]; - dependencies = [ - { - name = "bitflags"; - packageId = "bitflags"; - } - { - name = "cfg-if"; - packageId = "cfg-if 1.0.0"; - } - { - name = "libc"; - packageId = "libc"; - features = [ "extra_traits" ]; - } - ]; - buildDependencies = [ - { - name = "cc"; - packageId = "cc"; - target = {target, features}: (target."os" == "dragonfly"); - } - ]; - - }; - "num_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"; - } - ]; - - }; - "once_cell" = rec { - crateName = "once_cell"; - version = "1.5.2"; - edition = "2018"; - sha256 = "183zs1dbmsv24mkafjypf9qwjrx46an58vb004a162l113sl3g8k"; - authors = [ - "Aleksey Kladov <aleksey.kladov@gmail.com>" - ]; - features = { - "default" = [ "std" ]; - "std" = [ "alloc" ]; - }; - resolvedDefaultFeatures = [ "alloc" "default" "std" ]; - }; - "opaque-debug" = rec { - crateName = "opaque-debug"; - version = "0.2.3"; - edition = "2015"; - sha256 = "172j6bs8ndclqxa2m64qc0y1772rr73g4l9fg2svscgicnbfff98"; - authors = [ - "RustCrypto Developers" - ]; - - }; - "parking" = rec { - crateName = "parking"; - version = "2.0.0"; - edition = "2018"; - sha256 = "0wnxxnizfxlax3n709s5r83f4n8awy3m4a18q4fdk0z7z693hz22"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - "The Rust Project Developers" - ]; - - }; - "petgraph" = rec { - crateName = "petgraph"; - version = "0.5.1"; - edition = "2018"; - sha256 = "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6"; - authors = [ - "bluss" - "mitchmindtree" - ]; - dependencies = [ - { - name = "fixedbitset"; - packageId = "fixedbitset"; - usesDefaultFeatures = false; - } - { - name = "indexmap"; - packageId = "indexmap"; - } - ]; - features = { - "all" = [ "unstable" "quickcheck" "matrix_graph" "stable_graph" "graphmap" ]; - "default" = [ "graphmap" "stable_graph" "matrix_graph" ]; - "serde-1" = [ "serde" "serde_derive" ]; - "unstable" = [ "generate" ]; - }; - resolvedDefaultFeatures = [ "default" "graphmap" "matrix_graph" "stable_graph" ]; - }; - "phf_shared" = rec { - crateName = "phf_shared"; - version = "0.8.0"; - edition = "2018"; - sha256 = "1xssnqrrcn0nr9ayqrnm8xm37ac4xvwcx8pax7jxss7yxawzh360"; - authors = [ - "Steven Fackler <sfackler@gmail.com>" - ]; - dependencies = [ - { - name = "siphasher"; - packageId = "siphasher"; - } - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "pin-project" = rec { - crateName = "pin-project"; - version = "1.0.4"; - edition = "2018"; - sha256 = "1wm2gjmgcsglw8yqka67fhvcj7zj1fh6yfw6awlal5wza1l0pdwm"; - authors = [ - "Taiki Endo <te316e89@gmail.com>" - ]; - dependencies = [ - { - name = "pin-project-internal"; - packageId = "pin-project-internal"; - usesDefaultFeatures = false; - } - ]; - - }; - "pin-project-internal" = rec { - crateName = "pin-project-internal"; - version = "1.0.4"; - edition = "2018"; - sha256 = "0wcy3n9w856aw27f6ns2ipd2yac7jbl0n3pmn0cyhb7jjdimm8na"; - procMacro = true; - authors = [ - "Taiki Endo <te316e89@gmail.com>" - ]; - dependencies = [ - { - name = "proc-macro2"; - packageId = "proc-macro2"; - } - { - name = "quote"; - packageId = "quote"; - } - { - name = "syn"; - packageId = "syn"; - features = [ "full" "visit-mut" ]; - } - ]; - - }; - "pin-project-lite" = rec { - crateName = "pin-project-lite"; - version = "0.2.4"; - edition = "2018"; - sha256 = "09x8chns8apal89pndqdrr0c2nv8jw6nmi8hl38acjbc6sprg5j3"; - 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>" - ]; - - }; - "polling" = rec { - crateName = "polling"; - version = "2.0.2"; - edition = "2018"; - sha256 = "1r5xm3f6qs84ibg09nw1cz78r883521l3jaiakj35ri959mvr9x2"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 0.1.10"; - } - { - name = "libc"; - packageId = "libc"; - target = { target, features }: target."unix"; - } - { - name = "log"; - packageId = "log"; - } - { - name = "wepoll-sys"; - packageId = "wepoll-sys"; - target = { target, features }: target."windows"; - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "ioapiset" "winsock2" ]; - } - ]; - features = { - "default" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "precomputed-hash" = rec { - crateName = "precomputed-hash"; - version = "0.1.1"; - edition = "2015"; - sha256 = "075k9bfy39jhs53cb2fpb9klfakx2glxnf28zdw08ws6lgpq6lwj"; - authors = [ - "Emilio Cobos Álvarez <emilio@crisal.io>" - ]; - - }; - "proc-macro2" = rec { - crateName = "proc-macro2"; - version = "1.0.24"; - edition = "2018"; - sha256 = "0wcabxzrddcjmryndw8fpyxcq6rw63m701vx86xxf03y3bp081qy"; - authors = [ - "Alex Crichton <alex@alexcrichton.com>" - "David Tolnay <dtolnay@gmail.com>" - ]; - dependencies = [ - { - name = "unicode-xid"; - packageId = "unicode-xid"; - } - ]; - features = { - "default" = [ "proc-macro" ]; - }; - resolvedDefaultFeatures = [ "default" "proc-macro" ]; - }; - "quote" = rec { - crateName = "quote"; - version = "1.0.7"; - edition = "2018"; - sha256 = "0drzd6pq7whq7qhdvvs8wn6pbb0hhc12pz8wv80fb05ixhbksmma"; - 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" ]; - }; - "redox_syscall" = rec { - crateName = "redox_syscall"; - version = "0.1.57"; - edition = "2015"; - sha256 = "1kh59fpwy33w9nwd5iyc283yglq8pf2s41hnhvl48iax9mz0zk21"; - libName = "syscall"; - authors = [ - "Jeremy Soller <jackpot51@gmail.com>" - ]; - - }; - "redox_users" = rec { - crateName = "redox_users"; - version = "0.3.5"; - edition = "2015"; - sha256 = "179fxmyqaqzibp533ajgbn4ljah9lrzpqvd3i73h55bs7qrkf1yy"; - authors = [ - "Jose Narvaez <goyox86@gmail.com>" - "Wesley Hershberger <mggmugginsmc@gmail.com>" - ]; - dependencies = [ - { - name = "getrandom"; - packageId = "getrandom"; - } - { - name = "redox_syscall"; - packageId = "redox_syscall"; - } - { - name = "rust-argon2"; - packageId = "rust-argon2"; - optional = true; - } - ]; - features = { - "auth" = [ "rust-argon2" ]; - "default" = [ "auth" ]; - }; - resolvedDefaultFeatures = [ "auth" "default" "rust-argon2" ]; - }; - "regex" = rec { - crateName = "regex"; - version = "1.3.9"; - edition = "2015"; - sha256 = "1rnqga94ypykl2apgj26l2j1s9bvr2ix4dlzs323n6abyky80dww"; - authors = [ - "The Rust Project Developers" - ]; - dependencies = [ - { - name = "aho-corasick"; - packageId = "aho-corasick"; - optional = true; - } - { - name = "memchr"; - packageId = "memchr"; - optional = true; - } - { - name = "regex-syntax"; - packageId = "regex-syntax"; - usesDefaultFeatures = false; - } - { - name = "thread_local"; - packageId = "thread_local"; - optional = true; - } - ]; - features = { - "default" = [ "std" "perf" "unicode" "regex-syntax/default" ]; - "perf" = [ "perf-cache" "perf-dfa" "perf-inline" "perf-literal" ]; - "perf-cache" = [ "thread_local" ]; - "perf-literal" = [ "aho-corasick" "memchr" ]; - "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "regex-syntax/unicode" ]; - "unicode-age" = [ "regex-syntax/unicode-age" ]; - "unicode-bool" = [ "regex-syntax/unicode-bool" ]; - "unicode-case" = [ "regex-syntax/unicode-case" ]; - "unicode-gencat" = [ "regex-syntax/unicode-gencat" ]; - "unicode-perl" = [ "regex-syntax/unicode-perl" ]; - "unicode-script" = [ "regex-syntax/unicode-script" ]; - "unicode-segment" = [ "regex-syntax/unicode-segment" ]; - "unstable" = [ "pattern" ]; - "use_std" = [ "std" ]; - }; - resolvedDefaultFeatures = [ "aho-corasick" "default" "memchr" "perf" "perf-cache" "perf-dfa" "perf-inline" "perf-literal" "std" "thread_local" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; - }; - "regex-syntax" = rec { - crateName = "regex-syntax"; - version = "0.6.18"; - edition = "2015"; - sha256 = "1s648w7rwpxnq9iqwbyy43ar4al07906jpz0jxlql23bgjwjwh96"; - authors = [ - "The Rust Project Developers" - ]; - features = { - "default" = [ "unicode" ]; - "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; - }; - resolvedDefaultFeatures = [ "default" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; - }; - "rust-argon2" = rec { - crateName = "rust-argon2"; - version = "0.8.2"; - edition = "2018"; - sha256 = "069syiy3ncg9yai58p3dalwvgpr1aqisqls0x1sk54vm0wjn3awx"; - libName = "argon2"; - authors = [ - "Martijn Rijkeboer <mrr@sru-systems.com>" - ]; - dependencies = [ - { - name = "base64"; - packageId = "base64"; - } - { - name = "blake2b_simd"; - packageId = "blake2b_simd"; - } - { - name = "constant_time_eq"; - packageId = "constant_time_eq"; - } - { - name = "crossbeam-utils"; - packageId = "crossbeam-utils 0.7.2"; - optional = true; - } - ]; - features = { - "default" = [ "crossbeam-utils" ]; - }; - resolvedDefaultFeatures = [ "crossbeam-utils" "default" ]; - }; - "serde" = rec { - crateName = "serde"; - version = "1.0.115"; - edition = "2015"; - sha256 = "1mamxl1ijys9r6jk8pj5vjxs7l60y11i845mhjpkhwnsya49lk75"; - 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.115"; - edition = "2015"; - sha256 = "0j6w64m3z7kaagq6j0qmn7q84jkvnfll1a4205mc6g57s38yx7v0"; - 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" ]; - }; - "sha2" = rec { - crateName = "sha2"; - version = "0.8.2"; - edition = "2015"; - sha256 = "0s9yddvyg6anaikdl86wmwfim25c0d4m0xq0y2ghs34alxpg8mm2"; - 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" = [ "sha2-asm" ]; - "asm-aarch64" = [ "asm" "libc" ]; - "default" = [ "std" ]; - "std" = [ "digest/std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "shell" = rec { - crateName = "shell"; - version = "0.1.0"; - edition = "2018"; - crateBin = [ - { name = "shell"; path = "src/main.rs"; } - ]; - src = (builtins.filterSource sourceFilter ./.); - authors = [ - "Irene Knapp <ireneista@gmail.com>" - ]; - dependencies = [ - { - name = "async-std"; - packageId = "async-std"; - } - { - name = "lalrpop-util"; - packageId = "lalrpop-util"; - } - { - name = "nix"; - packageId = "nix"; - } - { - name = "pin-project"; - packageId = "pin-project"; - } - { - name = "pin-utils"; - packageId = "pin-utils"; - } - { - name = "signal-hook"; - packageId = "signal-hook"; - } - ]; - buildDependencies = [ - { - name = "lalrpop"; - packageId = "lalrpop"; - features = [ "lexer" ]; - } - ]; - - }; - "signal-hook" = rec { - crateName = "signal-hook"; - version = "0.3.4"; - edition = "2018"; - sha256 = "0h628smm9y22qi3szpkg3xpj31hyvs4ps29nf8cnfvy6w0zmw3vq"; - authors = [ - "Michal 'vorner' Vaner <vorner@vorner.cz>" - "Thomas Himmelstoss <thimm@posteo.de>" - ]; - dependencies = [ - { - name = "libc"; - packageId = "libc"; - } - { - name = "signal-hook-registry"; - packageId = "signal-hook-registry"; - } - ]; - features = { - "default" = [ "channel" "iterator" ]; - "extended-siginfo" = [ "channel" "iterator" "extended-siginfo-raw" ]; - "extended-siginfo-raw" = [ "cc" ]; - "iterator" = [ "channel" ]; - }; - resolvedDefaultFeatures = [ "channel" "default" "iterator" ]; - }; - "signal-hook-registry" = rec { - crateName = "signal-hook-registry"; - version = "1.3.0"; - edition = "2015"; - sha256 = "19hirq0h33jjyh505s8hf9q5dq0ky80ygivkl3vshjv0y7zd1w8n"; - authors = [ - "Michal 'vorner' Vaner <vorner@vorner.cz>" - "Masaki Hara <ackie.h.gmai@gmail.com>" - ]; - dependencies = [ - { - name = "libc"; - packageId = "libc"; - } - ]; - - }; - "siphasher" = rec { - crateName = "siphasher"; - version = "0.3.3"; - edition = "2015"; - sha256 = "1dw648sij9rarz5rk58zrjmxm70c6xl60d6rkd8pabipqx0kg3zs"; - authors = [ - "Frank Denis <github@pureftpd.org>" - ]; - features = { - "default" = [ "std" ]; - "serde_no_std" = [ "serde/alloc" ]; - "serde_std" = [ "std" "serde/std" ]; - }; - resolvedDefaultFeatures = [ "default" "std" ]; - }; - "slab" = rec { - crateName = "slab"; - version = "0.4.2"; - edition = "2015"; - sha256 = "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"; - authors = [ - "Carl Lerche <me@carllerche.com>" - ]; - - }; - "string_cache" = rec { - crateName = "string_cache"; - version = "0.8.0"; - edition = "2018"; - sha256 = "12i0synp8l0qpnzi5qki4pjq3jx28ykikyffjjjg6fsfxddwfh19"; - authors = [ - "The Servo Project Developers" - ]; - dependencies = [ - { - name = "lazy_static"; - packageId = "lazy_static"; - } - { - name = "new_debug_unreachable"; - packageId = "new_debug_unreachable"; - } - { - name = "phf_shared"; - packageId = "phf_shared"; - } - { - name = "precomputed-hash"; - packageId = "precomputed-hash"; - } - { - name = "serde"; - packageId = "serde"; - } - ]; - - }; - "strsim" = rec { - crateName = "strsim"; - version = "0.9.3"; - edition = "2015"; - sha256 = "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"; - authors = [ - "Danny Guo <dannyguo91@gmail.com>" - ]; - - }; - "syn" = rec { - crateName = "syn"; - version = "1.0.58"; - edition = "2018"; - sha256 = "1m85bvywsm6cf17d534c5ma73zch0cgwqc6q2bblqnd67vbs6q6c"; - authors = [ - "David Tolnay <dtolnay@gmail.com>" - ]; - dependencies = [ - { - name = "proc-macro2"; - packageId = "proc-macro2"; - usesDefaultFeatures = false; - } - { - name = "quote"; - packageId = "quote"; - optional = true; - usesDefaultFeatures = false; - } - { - name = "unicode-xid"; - packageId = "unicode-xid"; - } - ]; - features = { - "default" = [ "derive" "parsing" "printing" "clone-impls" "proc-macro" ]; - "printing" = [ "quote" ]; - "proc-macro" = [ "proc-macro2/proc-macro" "quote/proc-macro" ]; - "test" = [ "syn-test-suite/all-features" ]; - }; - resolvedDefaultFeatures = [ "clone-impls" "default" "derive" "full" "parsing" "printing" "proc-macro" "quote" "visit" "visit-mut" ]; - }; - "term" = rec { - crateName = "term"; - version = "0.5.2"; - edition = "2015"; - sha256 = "0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd"; - authors = [ - "The Rust Project Developers" - "Steven Allen" - ]; - dependencies = [ - { - name = "byteorder"; - packageId = "byteorder"; - } - { - name = "dirs"; - packageId = "dirs"; - } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: target."windows"; - features = [ "consoleapi" "wincon" "handleapi" "fileapi" ]; - } - ]; - features = { - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "thread_local" = rec { - crateName = "thread_local"; - version = "1.0.1"; - edition = "2015"; - sha256 = "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l"; - authors = [ - "Amanieu d'Antras <amanieu@gmail.com>" - ]; - dependencies = [ - { - name = "lazy_static"; - packageId = "lazy_static"; - } - ]; - - }; - "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 = { - }; - }; - "unicode-xid" = rec { - crateName = "unicode-xid"; - version = "0.2.1"; - edition = "2015"; - sha256 = "0r6mknipyy9vpz8mwmxvkx65ff2ha1n2pxqjj6f46lcn8yrhpzpp"; - authors = [ - "erick.tryzelaar <erick.tryzelaar@gmail.com>" - "kwantam <kwantam@gmail.com>" - ]; - features = { - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "vec-arena" = rec { - crateName = "vec-arena"; - version = "1.0.0"; - edition = "2018"; - sha256 = "07866gmvn4cf2656bjf75nrmbnw4cj0cyqkv2wlmavzw5ndipz7a"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - - }; - "waker-fn" = rec { - crateName = "waker-fn"; - version = "1.1.0"; - edition = "2018"; - sha256 = "1jpfiis0frk2b36krqvk8264kgxk2dyhfzjsr8g3wah1nii2qnwx"; - authors = [ - "Stjepan Glavina <stjepang@gmail.com>" - ]; - - }; - "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" ]; - }; - "wasm-bindgen" = rec { - crateName = "wasm-bindgen"; - version = "0.2.70"; - edition = "2018"; - sha256 = "1gikjjsm85wvpqmjbxg2s6f386bv9rhzs03xkfmhskz77l9ggh2m"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 1.0.0"; - } - { - name = "wasm-bindgen-macro"; - packageId = "wasm-bindgen-macro"; - } - ]; - features = { - "default" = [ "spans" "std" ]; - "enable-interning" = [ "std" ]; - "serde-serialize" = [ "serde" "serde_json" "std" ]; - "spans" = [ "wasm-bindgen-macro/spans" ]; - "strict-macro" = [ "wasm-bindgen-macro/strict-macro" ]; - "xxx_debug_only_print_generated_code" = [ "wasm-bindgen-macro/xxx_debug_only_print_generated_code" ]; - }; - resolvedDefaultFeatures = [ "default" "spans" "std" ]; - }; - "wasm-bindgen-backend" = rec { - crateName = "wasm-bindgen-backend"; - version = "0.2.70"; - edition = "2018"; - sha256 = "1iv4fzabql4625q4cw7d43lnrpf3pimn63vjclykymyly13m9i3v"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "bumpalo"; - packageId = "bumpalo"; - } - { - name = "lazy_static"; - packageId = "lazy_static"; - } - { - name = "log"; - packageId = "log"; - } - { - name = "proc-macro2"; - packageId = "proc-macro2"; - } - { - name = "quote"; - packageId = "quote"; - } - { - name = "syn"; - packageId = "syn"; - features = [ "full" ]; - } - { - name = "wasm-bindgen-shared"; - packageId = "wasm-bindgen-shared"; - } - ]; - features = { - "extra-traits" = [ "syn/extra-traits" ]; - }; - resolvedDefaultFeatures = [ "spans" ]; - }; - "wasm-bindgen-futures" = rec { - crateName = "wasm-bindgen-futures"; - version = "0.4.20"; - edition = "2018"; - sha256 = "156zm9r8h530j1kbc9zc19zbsjjfdzv36fi86jf6g1hcj6i33r1x"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if 1.0.0"; - } - { - name = "js-sys"; - packageId = "js-sys"; - } - { - name = "wasm-bindgen"; - packageId = "wasm-bindgen"; - } - { - name = "web-sys"; - packageId = "web-sys"; - target = { target, features }: (target."feature" == "atomics"); - features = [ "MessageEvent" "Worker" ]; - } - ]; - features = { - "futures-core-03-stream" = [ "futures-core" ]; - }; - }; - "wasm-bindgen-macro" = rec { - crateName = "wasm-bindgen-macro"; - version = "0.2.70"; - edition = "2018"; - sha256 = "0b5srgzjmi5j7gv27li683l68nl6r5px4k8pshx5jfgg5s45721v"; - procMacro = true; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "quote"; - packageId = "quote"; - } - { - name = "wasm-bindgen-macro-support"; - packageId = "wasm-bindgen-macro-support"; - } - ]; - features = { - "spans" = [ "wasm-bindgen-macro-support/spans" ]; - "strict-macro" = [ "wasm-bindgen-macro-support/strict-macro" ]; - }; - resolvedDefaultFeatures = [ "spans" ]; - }; - "wasm-bindgen-macro-support" = rec { - crateName = "wasm-bindgen-macro-support"; - version = "0.2.70"; - edition = "2018"; - sha256 = "118kl12vcp19zbd8fzpn3jkhb2h34plra5is7d0zlcd5ybkvacs1"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "proc-macro2"; - packageId = "proc-macro2"; - } - { - name = "quote"; - packageId = "quote"; - } - { - name = "syn"; - packageId = "syn"; - features = [ "visit" "full" ]; - } - { - name = "wasm-bindgen-backend"; - packageId = "wasm-bindgen-backend"; - } - { - name = "wasm-bindgen-shared"; - packageId = "wasm-bindgen-shared"; - } - ]; - features = { - "extra-traits" = [ "syn/extra-traits" ]; - "spans" = [ "wasm-bindgen-backend/spans" ]; - }; - resolvedDefaultFeatures = [ "spans" ]; - }; - "wasm-bindgen-shared" = rec { - crateName = "wasm-bindgen-shared"; - version = "0.2.70"; - edition = "2018"; - sha256 = "0r7xlkba8r5gfpp4w8bi9gfym08ybf5b6qirq4ajvq1sjkj4ajfx"; - authors = [ - "The wasm-bindgen Developers" - ]; - - }; - "web-sys" = rec { - crateName = "web-sys"; - version = "0.3.47"; - edition = "2018"; - sha256 = "1cw0aqbyzhya0f02jwd95la9hmn12dqxlf3wh6x3w028zj8wc3f4"; - authors = [ - "The wasm-bindgen Developers" - ]; - dependencies = [ - { - name = "js-sys"; - packageId = "js-sys"; - } - { - name = "wasm-bindgen"; - packageId = "wasm-bindgen"; - } - ]; - features = { - "AbortSignal" = [ "EventTarget" ]; - "AnalyserNode" = [ "AudioNode" "EventTarget" ]; - "Animation" = [ "EventTarget" ]; - "AnimationEvent" = [ "Event" ]; - "AnimationPlaybackEvent" = [ "Event" ]; - "Attr" = [ "EventTarget" "Node" ]; - "AudioBufferSourceNode" = [ "AudioNode" "AudioScheduledSourceNode" "EventTarget" ]; - "AudioContext" = [ "BaseAudioContext" "EventTarget" ]; - "AudioDestinationNode" = [ "AudioNode" "EventTarget" ]; - "AudioNode" = [ "EventTarget" ]; - "AudioProcessingEvent" = [ "Event" ]; - "AudioScheduledSourceNode" = [ "AudioNode" "EventTarget" ]; - "AudioStreamTrack" = [ "EventTarget" "MediaStreamTrack" ]; - "AudioTrackList" = [ "EventTarget" ]; - "AudioWorklet" = [ "Worklet" ]; - "AudioWorkletGlobalScope" = [ "WorkletGlobalScope" ]; - "AudioWorkletNode" = [ "AudioNode" "EventTarget" ]; - "AuthenticatorAssertionResponse" = [ "AuthenticatorResponse" ]; - "AuthenticatorAttestationResponse" = [ "AuthenticatorResponse" ]; - "BaseAudioContext" = [ "EventTarget" ]; - "BatteryManager" = [ "EventTarget" ]; - "BeforeUnloadEvent" = [ "Event" ]; - "BiquadFilterNode" = [ "AudioNode" "EventTarget" ]; - "BlobEvent" = [ "Event" ]; - "Bluetooth" = [ "EventTarget" ]; - "BluetoothAdvertisingEvent" = [ "Event" ]; - "BluetoothDevice" = [ "EventTarget" ]; - "BluetoothPermissionResult" = [ "EventTarget" "PermissionStatus" ]; - "BluetoothRemoteGattCharacteristic" = [ "EventTarget" ]; - "BluetoothRemoteGattService" = [ "EventTarget" ]; - "BroadcastChannel" = [ "EventTarget" ]; - "CanvasCaptureMediaStream" = [ "EventTarget" "MediaStream" ]; - "CdataSection" = [ "CharacterData" "EventTarget" "Node" "Text" ]; - "ChannelMergerNode" = [ "AudioNode" "EventTarget" ]; - "ChannelSplitterNode" = [ "AudioNode" "EventTarget" ]; - "CharacterData" = [ "EventTarget" "Node" ]; - "ChromeWorker" = [ "EventTarget" "Worker" ]; - "Clipboard" = [ "EventTarget" ]; - "ClipboardEvent" = [ "Event" ]; - "CloseEvent" = [ "Event" ]; - "Comment" = [ "CharacterData" "EventTarget" "Node" ]; - "CompositionEvent" = [ "Event" "UiEvent" ]; - "ConstantSourceNode" = [ "AudioNode" "AudioScheduledSourceNode" "EventTarget" ]; - "ConvolverNode" = [ "AudioNode" "EventTarget" ]; - "CssAnimation" = [ "Animation" "EventTarget" ]; - "CssConditionRule" = [ "CssGroupingRule" "CssRule" ]; - "CssCounterStyleRule" = [ "CssRule" ]; - "CssFontFaceRule" = [ "CssRule" ]; - "CssFontFeatureValuesRule" = [ "CssRule" ]; - "CssGroupingRule" = [ "CssRule" ]; - "CssImportRule" = [ "CssRule" ]; - "CssKeyframeRule" = [ "CssRule" ]; - "CssKeyframesRule" = [ "CssRule" ]; - "CssMediaRule" = [ "CssConditionRule" "CssGroupingRule" "CssRule" ]; - "CssNamespaceRule" = [ "CssRule" ]; - "CssPageRule" = [ "CssRule" ]; - "CssStyleRule" = [ "CssRule" ]; - "CssStyleSheet" = [ "StyleSheet" ]; - "CssSupportsRule" = [ "CssConditionRule" "CssGroupingRule" "CssRule" ]; - "CssTransition" = [ "Animation" "EventTarget" ]; - "CustomEvent" = [ "Event" ]; - "DedicatedWorkerGlobalScope" = [ "EventTarget" "WorkerGlobalScope" ]; - "DelayNode" = [ "AudioNode" "EventTarget" ]; - "DeviceLightEvent" = [ "Event" ]; - "DeviceMotionEvent" = [ "Event" ]; - "DeviceOrientationEvent" = [ "Event" ]; - "DeviceProximityEvent" = [ "Event" ]; - "Document" = [ "EventTarget" "Node" ]; - "DocumentFragment" = [ "EventTarget" "Node" ]; - "DocumentTimeline" = [ "AnimationTimeline" ]; - "DocumentType" = [ "EventTarget" "Node" ]; - "DomMatrix" = [ "DomMatrixReadOnly" ]; - "DomPoint" = [ "DomPointReadOnly" ]; - "DomRect" = [ "DomRectReadOnly" ]; - "DomRequest" = [ "EventTarget" ]; - "DragEvent" = [ "Event" "MouseEvent" "UiEvent" ]; - "DynamicsCompressorNode" = [ "AudioNode" "EventTarget" ]; - "Element" = [ "EventTarget" "Node" ]; - "ErrorEvent" = [ "Event" ]; - "EventSource" = [ "EventTarget" ]; - "ExtendableEvent" = [ "Event" ]; - "ExtendableMessageEvent" = [ "Event" "ExtendableEvent" ]; - "FetchEvent" = [ "Event" "ExtendableEvent" ]; - "FetchObserver" = [ "EventTarget" ]; - "File" = [ "Blob" ]; - "FileReader" = [ "EventTarget" ]; - "FileSystemDirectoryEntry" = [ "FileSystemEntry" ]; - "FileSystemFileEntry" = [ "FileSystemEntry" ]; - "FocusEvent" = [ "Event" "UiEvent" ]; - "FontFaceSet" = [ "EventTarget" ]; - "FontFaceSetLoadEvent" = [ "Event" ]; - "GainNode" = [ "AudioNode" "EventTarget" ]; - "GamepadAxisMoveEvent" = [ "Event" "GamepadEvent" ]; - "GamepadButtonEvent" = [ "Event" "GamepadEvent" ]; - "GamepadEvent" = [ "Event" ]; - "GpuDevice" = [ "EventTarget" ]; - "GpuUncapturedErrorEvent" = [ "Event" ]; - "HashChangeEvent" = [ "Event" ]; - "HtmlAnchorElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlAreaElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlAudioElement" = [ "Element" "EventTarget" "HtmlElement" "HtmlMediaElement" "Node" ]; - "HtmlBaseElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlBodyElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlBrElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlButtonElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlCanvasElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDListElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDataElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDataListElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDetailsElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDialogElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDirectoryElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDivElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlDocument" = [ "Document" "EventTarget" "Node" ]; - "HtmlElement" = [ "Element" "EventTarget" "Node" ]; - "HtmlEmbedElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlFieldSetElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlFontElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlFormControlsCollection" = [ "HtmlCollection" ]; - "HtmlFormElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlFrameElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlFrameSetElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlHeadElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlHeadingElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlHrElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlHtmlElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlIFrameElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlImageElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlInputElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlLabelElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlLegendElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlLiElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlLinkElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMapElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMediaElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMenuElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMenuItemElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMetaElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlMeterElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlModElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlOListElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlObjectElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlOptGroupElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlOptionElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlOptionsCollection" = [ "HtmlCollection" ]; - "HtmlOutputElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlParagraphElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlParamElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlPictureElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlPreElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlProgressElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlQuoteElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlScriptElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlSelectElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlSlotElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlSourceElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlSpanElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlStyleElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableCaptionElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableCellElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableColElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableRowElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTableSectionElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTemplateElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTextAreaElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTimeElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTitleElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlTrackElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlUListElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlUnknownElement" = [ "Element" "EventTarget" "HtmlElement" "Node" ]; - "HtmlVideoElement" = [ "Element" "EventTarget" "HtmlElement" "HtmlMediaElement" "Node" ]; - "IdbCursorWithValue" = [ "IdbCursor" ]; - "IdbDatabase" = [ "EventTarget" ]; - "IdbFileHandle" = [ "EventTarget" ]; - "IdbFileRequest" = [ "DomRequest" "EventTarget" ]; - "IdbLocaleAwareKeyRange" = [ "IdbKeyRange" ]; - "IdbMutableFile" = [ "EventTarget" ]; - "IdbOpenDbRequest" = [ "EventTarget" "IdbRequest" ]; - "IdbRequest" = [ "EventTarget" ]; - "IdbTransaction" = [ "EventTarget" ]; - "IdbVersionChangeEvent" = [ "Event" ]; - "IirFilterNode" = [ "AudioNode" "EventTarget" ]; - "ImageCaptureErrorEvent" = [ "Event" ]; - "InputEvent" = [ "Event" "UiEvent" ]; - "KeyboardEvent" = [ "Event" "UiEvent" ]; - "KeyframeEffect" = [ "AnimationEffect" ]; - "LocalMediaStream" = [ "EventTarget" "MediaStream" ]; - "MediaDevices" = [ "EventTarget" ]; - "MediaElementAudioSourceNode" = [ "AudioNode" "EventTarget" ]; - "MediaEncryptedEvent" = [ "Event" ]; - "MediaKeyError" = [ "Event" ]; - "MediaKeyMessageEvent" = [ "Event" ]; - "MediaKeySession" = [ "EventTarget" ]; - "MediaQueryList" = [ "EventTarget" ]; - "MediaQueryListEvent" = [ "Event" ]; - "MediaRecorder" = [ "EventTarget" ]; - "MediaRecorderErrorEvent" = [ "Event" ]; - "MediaSource" = [ "EventTarget" ]; - "MediaStream" = [ "EventTarget" ]; - "MediaStreamAudioDestinationNode" = [ "AudioNode" "EventTarget" ]; - "MediaStreamAudioSourceNode" = [ "AudioNode" "EventTarget" ]; - "MediaStreamEvent" = [ "Event" ]; - "MediaStreamTrack" = [ "EventTarget" ]; - "MediaStreamTrackEvent" = [ "Event" ]; - "MessageEvent" = [ "Event" ]; - "MessagePort" = [ "EventTarget" ]; - "MidiAccess" = [ "EventTarget" ]; - "MidiConnectionEvent" = [ "Event" ]; - "MidiInput" = [ "EventTarget" "MidiPort" ]; - "MidiMessageEvent" = [ "Event" ]; - "MidiOutput" = [ "EventTarget" "MidiPort" ]; - "MidiPort" = [ "EventTarget" ]; - "MouseEvent" = [ "Event" "UiEvent" ]; - "MouseScrollEvent" = [ "Event" "MouseEvent" "UiEvent" ]; - "MutationEvent" = [ "Event" ]; - "NetworkInformation" = [ "EventTarget" ]; - "Node" = [ "EventTarget" ]; - "Notification" = [ "EventTarget" ]; - "NotificationEvent" = [ "Event" "ExtendableEvent" ]; - "OfflineAudioCompletionEvent" = [ "Event" ]; - "OfflineAudioContext" = [ "BaseAudioContext" "EventTarget" ]; - "OfflineResourceList" = [ "EventTarget" ]; - "OffscreenCanvas" = [ "EventTarget" ]; - "OscillatorNode" = [ "AudioNode" "AudioScheduledSourceNode" "EventTarget" ]; - "PageTransitionEvent" = [ "Event" ]; - "PaintWorkletGlobalScope" = [ "WorkletGlobalScope" ]; - "PannerNode" = [ "AudioNode" "EventTarget" ]; - "PaymentMethodChangeEvent" = [ "Event" "PaymentRequestUpdateEvent" ]; - "PaymentRequestUpdateEvent" = [ "Event" ]; - "Performance" = [ "EventTarget" ]; - "PerformanceMark" = [ "PerformanceEntry" ]; - "PerformanceMeasure" = [ "PerformanceEntry" ]; - "PerformanceNavigationTiming" = [ "PerformanceEntry" "PerformanceResourceTiming" ]; - "PerformanceResourceTiming" = [ "PerformanceEntry" ]; - "PermissionStatus" = [ "EventTarget" ]; - "PointerEvent" = [ "Event" "MouseEvent" "UiEvent" ]; - "PopStateEvent" = [ "Event" ]; - "PopupBlockedEvent" = [ "Event" ]; - "PresentationAvailability" = [ "EventTarget" ]; - "PresentationConnection" = [ "EventTarget" ]; - "PresentationConnectionAvailableEvent" = [ "Event" ]; - "PresentationConnectionCloseEvent" = [ "Event" ]; - "PresentationConnectionList" = [ "EventTarget" ]; - "PresentationRequest" = [ "EventTarget" ]; - "ProcessingInstruction" = [ "CharacterData" "EventTarget" "Node" ]; - "ProgressEvent" = [ "Event" ]; - "PromiseRejectionEvent" = [ "Event" ]; - "PublicKeyCredential" = [ "Credential" ]; - "PushEvent" = [ "Event" "ExtendableEvent" ]; - "RadioNodeList" = [ "NodeList" ]; - "RtcDataChannel" = [ "EventTarget" ]; - "RtcDataChannelEvent" = [ "Event" ]; - "RtcPeerConnection" = [ "EventTarget" ]; - "RtcPeerConnectionIceEvent" = [ "Event" ]; - "RtcTrackEvent" = [ "Event" ]; - "RtcdtmfSender" = [ "EventTarget" ]; - "RtcdtmfToneChangeEvent" = [ "Event" ]; - "Screen" = [ "EventTarget" ]; - "ScreenOrientation" = [ "EventTarget" ]; - "ScriptProcessorNode" = [ "AudioNode" "EventTarget" ]; - "ScrollAreaEvent" = [ "Event" "UiEvent" ]; - "SecurityPolicyViolationEvent" = [ "Event" ]; - "ServiceWorker" = [ "EventTarget" ]; - "ServiceWorkerContainer" = [ "EventTarget" ]; - "ServiceWorkerGlobalScope" = [ "EventTarget" "WorkerGlobalScope" ]; - "ServiceWorkerRegistration" = [ "EventTarget" ]; - "ShadowRoot" = [ "DocumentFragment" "EventTarget" "Node" ]; - "SharedWorker" = [ "EventTarget" ]; - "SharedWorkerGlobalScope" = [ "EventTarget" "WorkerGlobalScope" ]; - "SourceBuffer" = [ "EventTarget" ]; - "SourceBufferList" = [ "EventTarget" ]; - "SpeechRecognition" = [ "EventTarget" ]; - "SpeechRecognitionError" = [ "Event" ]; - "SpeechRecognitionEvent" = [ "Event" ]; - "SpeechSynthesis" = [ "EventTarget" ]; - "SpeechSynthesisErrorEvent" = [ "Event" "SpeechSynthesisEvent" ]; - "SpeechSynthesisEvent" = [ "Event" ]; - "SpeechSynthesisUtterance" = [ "EventTarget" ]; - "StereoPannerNode" = [ "AudioNode" "EventTarget" ]; - "StorageEvent" = [ "Event" ]; - "SvgAnimateElement" = [ "Element" "EventTarget" "Node" "SvgAnimationElement" "SvgElement" ]; - "SvgAnimateMotionElement" = [ "Element" "EventTarget" "Node" "SvgAnimationElement" "SvgElement" ]; - "SvgAnimateTransformElement" = [ "Element" "EventTarget" "Node" "SvgAnimationElement" "SvgElement" ]; - "SvgAnimationElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgCircleElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgClipPathElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgComponentTransferFunctionElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgDefsElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgDescElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgElement" = [ "Element" "EventTarget" "Node" ]; - "SvgEllipseElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgFilterElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgForeignObjectElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgGeometryElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgGradientElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgGraphicsElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgImageElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgLineElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgLinearGradientElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGradientElement" ]; - "SvgMarkerElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgMaskElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgMetadataElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgPathElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgPathSegArcAbs" = [ "SvgPathSeg" ]; - "SvgPathSegArcRel" = [ "SvgPathSeg" ]; - "SvgPathSegClosePath" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoCubicAbs" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoCubicRel" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoCubicSmoothAbs" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoCubicSmoothRel" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoQuadraticAbs" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoQuadraticRel" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoQuadraticSmoothAbs" = [ "SvgPathSeg" ]; - "SvgPathSegCurvetoQuadraticSmoothRel" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoAbs" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoHorizontalAbs" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoHorizontalRel" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoRel" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoVerticalAbs" = [ "SvgPathSeg" ]; - "SvgPathSegLinetoVerticalRel" = [ "SvgPathSeg" ]; - "SvgPathSegMovetoAbs" = [ "SvgPathSeg" ]; - "SvgPathSegMovetoRel" = [ "SvgPathSeg" ]; - "SvgPatternElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgPolygonElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgPolylineElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgRadialGradientElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGradientElement" ]; - "SvgRectElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGeometryElement" "SvgGraphicsElement" ]; - "SvgScriptElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgSetElement" = [ "Element" "EventTarget" "Node" "SvgAnimationElement" "SvgElement" ]; - "SvgStopElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgStyleElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgSwitchElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgSymbolElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgTextContentElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgTextElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" "SvgTextContentElement" "SvgTextPositioningElement" ]; - "SvgTextPathElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" "SvgTextContentElement" ]; - "SvgTextPositioningElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" "SvgTextContentElement" ]; - "SvgTitleElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgUseElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgViewElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgaElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgfeBlendElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeColorMatrixElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeComponentTransferElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeCompositeElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeConvolveMatrixElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeDiffuseLightingElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeDisplacementMapElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeDistantLightElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeDropShadowElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeFloodElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeFuncAElement" = [ "Element" "EventTarget" "Node" "SvgComponentTransferFunctionElement" "SvgElement" ]; - "SvgfeFuncBElement" = [ "Element" "EventTarget" "Node" "SvgComponentTransferFunctionElement" "SvgElement" ]; - "SvgfeFuncGElement" = [ "Element" "EventTarget" "Node" "SvgComponentTransferFunctionElement" "SvgElement" ]; - "SvgfeFuncRElement" = [ "Element" "EventTarget" "Node" "SvgComponentTransferFunctionElement" "SvgElement" ]; - "SvgfeGaussianBlurElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeImageElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeMergeElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeMergeNodeElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeMorphologyElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeOffsetElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfePointLightElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeSpecularLightingElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeSpotLightElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeTileElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgfeTurbulenceElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvggElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgmPathElement" = [ "Element" "EventTarget" "Node" "SvgElement" ]; - "SvgsvgElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" ]; - "SvgtSpanElement" = [ "Element" "EventTarget" "Node" "SvgElement" "SvgGraphicsElement" "SvgTextContentElement" "SvgTextPositioningElement" ]; - "TcpServerSocket" = [ "EventTarget" ]; - "TcpServerSocketEvent" = [ "Event" ]; - "TcpSocket" = [ "EventTarget" ]; - "TcpSocketErrorEvent" = [ "Event" ]; - "TcpSocketEvent" = [ "Event" ]; - "Text" = [ "CharacterData" "EventTarget" "Node" ]; - "TextTrack" = [ "EventTarget" ]; - "TextTrackCue" = [ "EventTarget" ]; - "TextTrackList" = [ "EventTarget" ]; - "TimeEvent" = [ "Event" ]; - "TouchEvent" = [ "Event" "UiEvent" ]; - "TrackEvent" = [ "Event" ]; - "TransitionEvent" = [ "Event" ]; - "UiEvent" = [ "Event" ]; - "Usb" = [ "EventTarget" ]; - "UsbConnectionEvent" = [ "Event" ]; - "UsbPermissionResult" = [ "EventTarget" "PermissionStatus" ]; - "UserProximityEvent" = [ "Event" ]; - "ValueEvent" = [ "Event" ]; - "VideoStreamTrack" = [ "EventTarget" "MediaStreamTrack" ]; - "VideoTrackList" = [ "EventTarget" ]; - "VrDisplay" = [ "EventTarget" ]; - "VttCue" = [ "EventTarget" "TextTrackCue" ]; - "WaveShaperNode" = [ "AudioNode" "EventTarget" ]; - "WebGlContextEvent" = [ "Event" ]; - "WebKitCssMatrix" = [ "DomMatrix" "DomMatrixReadOnly" ]; - "WebSocket" = [ "EventTarget" ]; - "WheelEvent" = [ "Event" "MouseEvent" "UiEvent" ]; - "Window" = [ "EventTarget" ]; - "WindowClient" = [ "Client" ]; - "Worker" = [ "EventTarget" ]; - "WorkerDebuggerGlobalScope" = [ "EventTarget" ]; - "WorkerGlobalScope" = [ "EventTarget" ]; - "XmlDocument" = [ "Document" "EventTarget" "Node" ]; - "XmlHttpRequest" = [ "EventTarget" "XmlHttpRequestEventTarget" ]; - "XmlHttpRequestEventTarget" = [ "EventTarget" ]; - "XmlHttpRequestUpload" = [ "EventTarget" "XmlHttpRequestEventTarget" ]; - "Xr" = [ "EventTarget" ]; - "XrBoundedReferenceSpace" = [ "EventTarget" "XrReferenceSpace" "XrSpace" ]; - "XrInputSourceEvent" = [ "Event" ]; - "XrInputSourcesChangeEvent" = [ "Event" ]; - "XrReferenceSpace" = [ "EventTarget" "XrSpace" ]; - "XrReferenceSpaceEvent" = [ "Event" ]; - "XrSession" = [ "EventTarget" ]; - "XrSessionEvent" = [ "Event" ]; - "XrSpace" = [ "EventTarget" ]; - "XrViewerPose" = [ "XrPose" ]; - }; - resolvedDefaultFeatures = [ "Event" "EventTarget" "MessageEvent" "Window" "Worker" "WorkerGlobalScope" ]; - }; - "wepoll-sys" = rec { - crateName = "wepoll-sys"; - version = "3.0.1"; - edition = "2018"; - sha256 = "1zvpkr4dz3ny0k20mg1wdlp8vawz5p4gnya7h8j24119m7g19jqg"; - authors = [ - "Yorick Peterse <yorickpeterse@gmail.com>" - ]; - buildDependencies = [ - { - name = "cc"; - packageId = "cc"; - } - ]; - features = { - }; - resolvedDefaultFeatures = [ "default" ]; - }; - "winapi" = rec { - crateName = "winapi"; - version = "0.3.9"; - edition = "2015"; - sha256 = "06gl025x418lchw1wxj64ycr7gha83m44cjr5sarhynd9xkrm0sw"; - authors = [ - "Peter Atashian <retep998@gmail.com>" - ]; - dependencies = [ - { - name = "winapi-i686-pc-windows-gnu"; - packageId = "winapi-i686-pc-windows-gnu"; - target = { target, features }: (stdenv.hostPlatform.config == "i686-pc-windows-gnu"); - } - { - name = "winapi-x86_64-pc-windows-gnu"; - packageId = "winapi-x86_64-pc-windows-gnu"; - target = { target, features }: (stdenv.hostPlatform.config == "x86_64-pc-windows-gnu"); - } - ]; - features = { - "debug" = [ "impl-debug" ]; - }; - resolvedDefaultFeatures = [ "consoleapi" "fileapi" "handleapi" "ioapiset" "knownfolders" "minwinbase" "minwindef" "objbase" "processenv" "shlobj" "winbase" "wincon" "winerror" "winsock2" "ws2tcpip" ]; - }; - "winapi-i686-pc-windows-gnu" = rec { - crateName = "winapi-i686-pc-windows-gnu"; - version = "0.4.0"; - edition = "2015"; - sha256 = "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"; - authors = [ - "Peter Atashian <retep998@gmail.com>" - ]; - - }; - "winapi-x86_64-pc-windows-gnu" = rec { - crateName = "winapi-x86_64-pc-windows-gnu"; - version = "0.4.0"; - edition = "2015"; - sha256 = "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"; - authors = [ - "Peter Atashian <retep998@gmail.com>" - ]; - - }; - }; - - # -# crate2nix/default.nix (excerpt start) -# - - /* Target (platform) data for conditional dependencies. - This corresponds roughly to what buildRustCrate is setting. - */ - defaultTarget = { - unix = true; - windows = false; - fuchsia = true; - test = false; - - # This doesn't appear to be officially documented anywhere yet. - # See https://github.com/rust-lang-nursery/rust-forge/issues/101. - os = if stdenv.hostPlatform.isDarwin - then "macos" - else stdenv.hostPlatform.parsed.kernel.name; - arch = stdenv.hostPlatform.parsed.cpu.name; - family = "unix"; - env = "gnu"; - endian = - if stdenv.hostPlatform.parsed.cpu.significantByte.name == "littleEndian" - then "little" else "big"; - pointer_width = toString stdenv.hostPlatform.parsed.cpu.bits; - vendor = stdenv.hostPlatform.parsed.vendor.name; - debug_assertions = false; - }; - - /* Filters common temp files and build files. */ - # TODO(pkolloch): Substitute with gitignore filter - sourceFilter = name: type: - let - baseName = builtins.baseNameOf (builtins.toString name); - in - ! ( - # Filter out git - baseName == ".gitignore" - || (type == "directory" && baseName == ".git") - - # Filter out build results - || ( - type == "directory" && ( - baseName == "target" - || baseName == "_site" - || baseName == ".sass-cache" - || baseName == ".jekyll-metadata" - || baseName == "build-artifacts" - ) - ) - - # Filter out nix-build result symlinks - || ( - type == "symlink" && lib.hasPrefix "result" baseName - ) - - # Filter out IDE config - || ( - type == "directory" && ( - baseName == ".idea" || baseName == ".vscode" - ) - ) || lib.hasSuffix ".iml" baseName - - # Filter out nix build files - || baseName == "Cargo.nix" - - # Filter out editor backup / swap files. - || lib.hasSuffix "~" baseName - || builtins.match "^\\.sw[a-z]$$" baseName != null - || builtins.match "^\\..*\\.sw[a-z]$$" baseName != null - || lib.hasSuffix ".tmp" baseName - || lib.hasSuffix ".bak" baseName - || baseName == "tests.nix" - ); - - /* Returns a crate which depends on successful test execution - of crate given as the second argument. - - testCrateFlags: list of flags to pass to the test exectuable - testInputs: list of packages that should be available during test execution - */ - crateWithTest = { crate, testCrate, testCrateFlags, testInputs }: - assert builtins.typeOf testCrateFlags == "list"; - assert builtins.typeOf testInputs == "list"; - let - # override the `crate` so that it will build and execute tests instead of - # building the actual lib and bin targets We just have to pass `--test` - # to rustc and it will do the right thing. We execute the tests and copy - # their log and the test executables to $out for later inspection. - test = let - drv = testCrate.override ( - _: { - buildTests = true; - } - ); - in - pkgs.runCommand "run-tests-${testCrate.name}" { - inherit testCrateFlags; - buildInputs = testInputs; - } '' - set -ex - cd ${crate.src} - for file in ${drv}/tests/*; do - $file $testCrateFlags 2>&1 | tee -a $out - done - ''; - in - crate.overrideAttrs ( - old: { - checkPhase = '' - test -e ${test} - ''; - passthru = (old.passthru or {}) // { - inherit test; - }; - } - ); - - /* A restricted overridable version of builtRustCratesWithFeatures. */ - buildRustCrateWithFeatures = - { packageId - , features ? rootFeatures - , crateOverrides ? defaultCrateOverrides - , buildRustCrateFunc ? ( - if crateOverrides == pkgs.defaultCrateOverrides - then buildRustCrate - else buildRustCrate.override { - defaultCrateOverrides = crateOverrides; - } - ) - , runTests ? false - , testCrateFlags ? [] - , testInputs ? [] - }: - lib.makeOverridable - ( - { features, crateOverrides, runTests, testCrateFlags, testInputs }: - let - builtRustCrates = builtRustCratesWithFeatures { - inherit packageId features buildRustCrateFunc; - runTests = false; - }; - builtTestRustCrates = builtRustCratesWithFeatures { - inherit packageId features buildRustCrateFunc; - runTests = true; - }; - drv = builtRustCrates.${packageId}; - testDrv = builtTestRustCrates.${packageId}; - in - if runTests then - crateWithTest { - crate = drv; - testCrate = testDrv; - inherit testCrateFlags testInputs; - } - else drv - ) - { inherit features crateOverrides runTests testCrateFlags testInputs; }; - - /* Returns an attr set with packageId mapped to the result of buildRustCrateFunc - for the corresponding crate. - */ - builtRustCratesWithFeatures = - { packageId - , features - , crateConfigs ? crates - , buildRustCrateFunc - , runTests - , target ? defaultTarget - } @ args: - assert (builtins.isAttrs crateConfigs); - assert (builtins.isString packageId); - assert (builtins.isList features); - assert (builtins.isAttrs target); - assert (builtins.isBool runTests); - let - rootPackageId = packageId; - mergedFeatures = mergePackageFeatures ( - args // { - inherit rootPackageId; - target = target // { test = runTests; }; - } - ); - - buildByPackageId = packageId: buildByPackageIdImpl packageId; - - # Memoize built packages so that reappearing packages are only built once. - builtByPackageId = - lib.mapAttrs (packageId: value: buildByPackageId packageId) crateConfigs; - - buildByPackageIdImpl = packageId: - let - features = mergedFeatures."${packageId}" or []; - crateConfig' = crateConfigs."${packageId}"; - crateConfig = - builtins.removeAttrs crateConfig' [ "resolvedDefaultFeatures" "devDependencies" ]; - devDependencies = - lib.optionals - (runTests && packageId == rootPackageId) - (crateConfig'.devDependencies or []); - dependencies = - dependencyDerivations { - inherit builtByPackageId features target; - dependencies = - (crateConfig.dependencies or []) - ++ devDependencies; - }; - buildDependencies = - dependencyDerivations { - inherit builtByPackageId features target; - dependencies = crateConfig.buildDependencies or []; - }; - - filterEnabledDependenciesForThis = dependencies: filterEnabledDependencies { - inherit dependencies features target; - }; - - dependenciesWithRenames = - lib.filter (d: d ? "rename") ( - filterEnabledDependenciesForThis - ( - (crateConfig.buildDependencies or []) - ++ (crateConfig.dependencies or []) - ++ devDependencies - ) - ); - - crateRenames = - builtins.listToAttrs - (map (d: { name = d.name; value = d.rename; }) dependenciesWithRenames); - in - buildRustCrateFunc ( - crateConfig // { - src = crateConfig.src or ( - pkgs.fetchurl { - name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; - url = "https://crates.io/api/v1/crates/${crateConfig.crateName}/${crateConfig.version}/download"; - sha256 = crateConfig.sha256; - } - ); - inherit features dependencies buildDependencies crateRenames release; - } - ); - in - builtByPackageId; - - /* Returns the actual derivations for the given dependencies. */ - dependencyDerivations = - { builtByPackageId - , features - , dependencies - , target - }: - assert (builtins.isAttrs builtByPackageId); - assert (builtins.isList features); - assert (builtins.isList dependencies); - assert (builtins.isAttrs target); - let - enabledDependencies = filterEnabledDependencies { - inherit dependencies features target; - }; - depDerivation = dependency: builtByPackageId.${dependency.packageId}; - in - map depDerivation enabledDependencies; - - /* Returns a sanitized version of val with all values substituted that cannot - be serialized as JSON. - */ - sanitizeForJson = val: - if builtins.isAttrs val - then lib.mapAttrs (n: v: sanitizeForJson v) val - else if builtins.isList val - then builtins.map sanitizeForJson val - else if builtins.isFunction val - then "function" - else val; - - /* Returns various tools to debug a crate. */ - debugCrate = { packageId, target ? defaultTarget }: - assert (builtins.isString packageId); - let - debug = rec { - # The built tree as passed to buildRustCrate. - buildTree = buildRustCrateWithFeatures { - buildRustCrateFunc = lib.id; - inherit packageId; - }; - sanitizedBuildTree = sanitizeForJson buildTree; - dependencyTree = sanitizeForJson ( - buildRustCrateWithFeatures { - buildRustCrateFunc = crate: { - "01_crateName" = crate.crateName or false; - "02_features" = crate.features or []; - "03_dependencies" = crate.dependencies or []; - }; - inherit packageId; - } - ); - mergedPackageFeatures = mergePackageFeatures { - features = rootFeatures; - inherit packageId target; - }; - diffedDefaultPackageFeatures = diffDefaultPackageFeatures { - inherit packageId target; - }; - }; - in - { internal = debug; }; - - /* Returns differences between cargo default features and crate2nix default - features. - - This is useful for verifying the feature resolution in crate2nix. - */ - diffDefaultPackageFeatures = - { crateConfigs ? crates - , packageId - , target - }: - assert (builtins.isAttrs crateConfigs); - let - prefixValues = prefix: lib.mapAttrs (n: v: { "${prefix}" = v; }); - mergedFeatures = - prefixValues - "crate2nix" - (mergePackageFeatures { inherit crateConfigs packageId target; features = [ "default" ]; }); - configs = prefixValues "cargo" crateConfigs; - combined = lib.foldAttrs (a: b: a // b) {} [ mergedFeatures configs ]; - onlyInCargo = - builtins.attrNames - (lib.filterAttrs (n: v: !(v ? "crate2nix") && (v ? "cargo")) combined); - onlyInCrate2Nix = - builtins.attrNames - (lib.filterAttrs (n: v: (v ? "crate2nix") && !(v ? "cargo")) combined); - differentFeatures = lib.filterAttrs - ( - n: v: - (v ? "crate2nix") - && (v ? "cargo") - && (v.crate2nix.features or []) != (v."cargo".resolved_default_features or []) - ) - combined; - in - builtins.toJSON { - inherit onlyInCargo onlyInCrate2Nix differentFeatures; - }; - - /* Returns an attrset mapping packageId to the list of enabled features. - - If multiple paths to a dependency enable different features, the - corresponding feature sets are merged. Features in rust are additive. - */ - mergePackageFeatures = - { crateConfigs ? crates - , packageId - , rootPackageId ? packageId - , features ? rootFeatures - , dependencyPath ? [ crates.${packageId}.crateName ] - , featuresByPackageId ? {} - , target - # Adds devDependencies to the crate with rootPackageId. - , runTests ? false - , ... - } @ args: - assert (builtins.isAttrs crateConfigs); - assert (builtins.isString packageId); - assert (builtins.isString rootPackageId); - assert (builtins.isList features); - assert (builtins.isList dependencyPath); - assert (builtins.isAttrs featuresByPackageId); - assert (builtins.isAttrs target); - assert (builtins.isBool runTests); - let - crateConfig = crateConfigs."${packageId}" or (builtins.throw "Package not found: ${packageId}"); - expandedFeatures = expandFeatures (crateConfig.features or {}) features; - - depWithResolvedFeatures = dependency: - let - packageId = dependency.packageId; - features = dependencyFeatures expandedFeatures dependency; - in - { inherit packageId features; }; - - resolveDependencies = cache: path: dependencies: - assert (builtins.isAttrs cache); - assert (builtins.isList dependencies); - let - enabledDependencies = filterEnabledDependencies { - inherit dependencies target; - features = expandedFeatures; - }; - directDependencies = map depWithResolvedFeatures enabledDependencies; - foldOverCache = op: lib.foldl op cache directDependencies; - in - foldOverCache - ( - cache: { packageId, features }: - let - cacheFeatures = cache.${packageId} or []; - combinedFeatures = sortedUnique (cacheFeatures ++ features); - in - if cache ? ${packageId} && cache.${packageId} == combinedFeatures - then cache - else mergePackageFeatures { - features = combinedFeatures; - featuresByPackageId = cache; - inherit crateConfigs packageId target runTests rootPackageId; - } - ); - - cacheWithSelf = - let - cacheFeatures = featuresByPackageId.${packageId} or []; - combinedFeatures = sortedUnique (cacheFeatures ++ expandedFeatures); - in - featuresByPackageId // { - "${packageId}" = combinedFeatures; - }; - - cacheWithDependencies = - resolveDependencies cacheWithSelf "dep" ( - crateConfig.dependencies or [] - ++ lib.optionals - (runTests && packageId == rootPackageId) - (crateConfig.devDependencies or []) - ); - - cacheWithAll = - resolveDependencies - cacheWithDependencies "build" - (crateConfig.buildDependencies or []); - in - cacheWithAll; - - /* Returns the enabled dependencies given the enabled features. */ - filterEnabledDependencies = { dependencies, features, target }: - assert (builtins.isList dependencies); - assert (builtins.isList features); - assert (builtins.isAttrs target); - - lib.filter - ( - dep: - let - targetFunc = dep.target or (features: true); - in - targetFunc { inherit features target; } - && ( - !(dep.optional or false) - || builtins.any (doesFeatureEnableDependency dep) features - ) - ) - dependencies; - - /* Returns whether the given feature should enable the given dependency. */ - doesFeatureEnableDependency = { name, rename ? null, ... }: feature: - let - prefix = "${name}/"; - len = builtins.stringLength prefix; - startsWithPrefix = builtins.substring 0 len feature == prefix; - in - (rename == null && feature == name) - || (rename != null && rename == feature) - || startsWithPrefix; - - /* Returns the expanded features for the given inputFeatures by applying the - rules in featureMap. - - featureMap is an attribute set which maps feature names to lists of further - feature names to enable in case this feature is selected. - */ - expandFeatures = featureMap: inputFeatures: - assert (builtins.isAttrs featureMap); - assert (builtins.isList inputFeatures); - let - expandFeature = feature: - assert (builtins.isString feature); - [ feature ] ++ (expandFeatures featureMap (featureMap."${feature}" or [])); - outFeatures = builtins.concatMap expandFeature inputFeatures; - in - sortedUnique outFeatures; - - /* - Returns the actual features for the given dependency. - - features: The features of the crate that refers this dependency. - */ - dependencyFeatures = features: dependency: - assert (builtins.isList features); - assert (builtins.isAttrs dependency); - let - defaultOrNil = if dependency.usesDefaultFeatures or true - then [ "default" ] - else []; - explicitFeatures = dependency.features or []; - additionalDependencyFeatures = - let - dependencyPrefix = (dependency.rename or dependency.name) + "/"; - dependencyFeatures = - builtins.filter (f: lib.hasPrefix dependencyPrefix f) features; - in - builtins.map (lib.removePrefix dependencyPrefix) dependencyFeatures; - in - defaultOrNil ++ explicitFeatures ++ additionalDependencyFeatures; - - /* Sorts and removes duplicates from a list of strings. */ - sortedUnique = features: - assert (builtins.isList features); - assert (builtins.all builtins.isString features); - let - outFeaturesSet = lib.foldl (set: feature: set // { "${feature}" = 1; }) {} features; - outFeaturesUnique = builtins.attrNames outFeaturesSet; - in - builtins.sort (a: b: a < b) outFeaturesUnique; - - deprecationWarning = message: value: - if strictDeprecation - then builtins.throw "strictDeprecation enabled, aborting: ${message}" - else builtins.trace message value; - - # - # crate2nix/default.nix (excerpt end) - # - - }; -} diff --git a/build.rs b/build.rs index 23c7d3f..84151bf 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,8 @@ extern crate lalrpop; fn main() { - lalrpop::process_root().unwrap(); + let mut lalrpop = lalrpop::Configuration::new(); + lalrpop.emit_rerun_directives(true); + lalrpop.use_cargo_dir_conventions(); + lalrpop.process().unwrap(); } diff --git a/default.nix b/default.nix deleted file mode 100644 index 30b44d2..0000000 --- a/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -# Use `nix-build`, not `nix build`, when doing development on this file. It -# does a better job of propagating error messages from the build tools upward. - -let pkgs = import <nixpkgs> { }; - crateOverrides = pkgs.defaultCrateOverrides.override { - openssl = pkgs.libressl; - } // { }; - parameterOverrides = { }; - cargo = pkgs.callPackage ./Cargo.nix { - defaultCrateOverrides = crateOverrides; - }; -in -builtins.mapAttrs - (key: value: value.build.override parameterOverrides) - cargo.workspaceMembers diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f8732a8 --- /dev/null +++ b/flake.lock @@ -0,0 +1,105 @@ +{ + "nodes": { + "crane": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1678152261, + "narHash": "sha256-cPRDxwygVMleiSEGELrvAiq9vYAN4c3KK/K4UEO13vU=", + "owner": "ipetkov", + "repo": "crane", + "rev": "5291dd0aa7a52d607fc952763ef60714e4c881d4", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-utils": { + "locked": { + "lastModified": 1676283394, + "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1678594102, + "narHash": "sha256-OHAHYiMWJFPNxuW/PcOMlSD2tvXnEYC1jxREBADHwwQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "796b4a3c1d903c4b9270cd2548fe46f524eeb886", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "crane": "crane", + "nixpkgs": "nixpkgs" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": [ + "crane", + "flake-utils" + ], + "nixpkgs": [ + "crane", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1677812689, + "narHash": "sha256-EakqhgRnjVeYJv5+BJx/NZ7/eFTMBxc4AhICUNquhUg=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "e53e8853aa7b0688bc270e9e6a681d22e01cf299", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/shell.nix b/shell.nix deleted file mode 100644 index d675097..0000000 --- a/shell.nix +++ /dev/null @@ -1,17 +0,0 @@ -let - pkgs = import <nixpkgs> {}; - crate2nix-src = pkgs.fetchFromGitHub { - owner = "kolloch"; - repo = "crate2nix"; - rev = "0.8.0"; - sha256 = "17mmf5sqn0fmpqrf52icq92nf1sy5yacwx9vafk43piaq433ba56"; - }; - crate2nix = pkgs.callPackage (import crate2nix-src) { }; -in -pkgs.mkShell { - buildInputs = with pkgs; [ - cargo - crate2nix - rustc - ]; -} diff --git a/src/terminal.rs b/src/terminal.rs index 7b6cda7..405a719 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -254,15 +254,18 @@ impl<InputStream: AsyncRead + AsRawFd + Unpin> Terminal<InputStream> { } +/* #[cfg(test)] mod tests { use super::*; - use io::Cursor; + use std::io::Cursor; #[test] fn test_empty_input() { let buffer = Cursor::new(vec![]); - let result = handle_input(buffer); + let terminal = Terminal::init(buffer).unwrap(); + let result = terminal.handle_input(); assert!(result.is_ok()); } } +*/ |