-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tagged base64 #136
Merged
Merged
Update tagged base64 #136
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tide-disco" | ||
version = "0.4.1" | ||
version = "0.4.3" | ||
edition = "2021" | ||
authors = ["Espresso Systems <[email protected]>"] | ||
description = "Discoverability for Tide" | ||
|
@@ -40,7 +40,7 @@ snafu = { version = "0.7", features = ["backtraces"] } | |
strum = "0.25" | ||
strum_macros = "0.25" | ||
surf = "2.3.2" | ||
tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64.git", tag = "0.2.4" } | ||
tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64.git", tag = "0.3.4" } | ||
tide = { version = "0.16.0", default-features = false } | ||
tide-websockets = "0.4.0" | ||
toml = "0.8" | ||
|
@@ -55,7 +55,7 @@ url = "2.2.2" | |
signal-hook-async-std = "0.2.2" | ||
|
||
[dev-dependencies] | ||
ark-serialize = { version = "0.3.0", features = ["derive"] } | ||
ark-serialize = { version = "0.4", features = ["derive"] } | ||
ark-std = "0.4.0" | ||
async-tungstenite = { version = "0.23", features = ["async-std-runtime"] } | ||
portpicker = "0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,17 @@ | |
{ | ||
description = "Development shell for Tide Disco"; | ||
|
||
nixConfig = { | ||
extra-substituters = [ | ||
"https://espresso-systems-private.cachix.org" | ||
"https://nixpkgs-cross-overlay.cachix.org" | ||
]; | ||
extra-trusted-public-keys = [ | ||
"espresso-systems-private.cachix.org-1:LHYk03zKQCeZ4dvg3NctyCq88e44oBZVug5LpYKjPRI=" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likewise. |
||
"nixpkgs-cross-overlay.cachix.org-1:TjKExGN4ys960TlsGqNOI/NBdoz2Jdr2ow1VybWV5JM=" | ||
]; | ||
}; | ||
|
||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
|
||
inputs.flake-utils.url = "github:numtide/flake-utils"; | ||
|
@@ -25,7 +36,7 @@ | |
inputs.fenix.url = "github:nix-community/fenix"; | ||
inputs.fenix.inputs.nixpkgs.follows = "nixpkgs"; | ||
|
||
outputs = { self, nixpkgs, flake-utils, flake-compat, rust-overlay, fenix, ... }: | ||
outputs = { self, nixpkgs, flake-utils, rust-overlay, fenix, ... }: | ||
flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
info = builtins.split "\([a-zA-Z0-9_]+\)" system; | ||
|
@@ -40,46 +51,34 @@ | |
[ | ||
pkg-config | ||
openssl | ||
bash | ||
|
||
curl | ||
|
||
cargo-edit | ||
cargo-udeps | ||
cargo-sort | ||
cmake | ||
] ++ lib.optionals stdenv.isDarwin [ | ||
darwin.apple_sdk.frameworks.Security | ||
darwin.apple_sdk.frameworks.CoreFoundation | ||
darwin.apple_sdk.frameworks.SystemConfiguration | ||
|
||
# https://github.com/NixOS/nixpkgs/issues/126182 | ||
libiconv | ||
] ++ lib.optionals (stdenv.system != "aarch64-darwin") [ | ||
] ++ lib.optionals (!stdenv.isDarwin) [ | ||
cargo-watch # broken: https://github.com/NixOS/nixpkgs/issues/146349 | ||
]; | ||
# nixWithFlakes allows pre v2.4 nix installations to use | ||
# flake commands (like `nix flake update`) | ||
nixWithFlakes = pkgs.writeShellScriptBin "nix" '' | ||
exec ${pkgs.nixFlakes}/bin/nix --experimental-features "nix-command flakes" "$@" | ||
''; | ||
shellHook = '' | ||
# on mac os `bin/pwd -P` returns the canonical path on case insensitive file-systems | ||
my_pwd=$(/bin/pwd -P 2> /dev/null || pwd) | ||
|
||
export PATH=${pkgs.xdot}/bin:$PATH | ||
export PATH=''${my_pwd}/bin:$PATH | ||
''; | ||
in { | ||
devShell = pkgs.mkShell { | ||
shellHook = shellHook; | ||
buildInputs = with pkgs; | ||
[ | ||
fenix.packages.${system}.rust-analyzer | ||
nixWithFlakes | ||
nixpkgs-fmt | ||
git | ||
mdbook # make-doc, documentation generation | ||
rustToolchain | ||
] ++ rustDeps; | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This really shouldn't be in a public repository...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed offline it is safe to put these in a public repo, but not ideal because people outside the organization can't use the cache, and their builds are much slower. Made an issue to improve this later