Skip to content

Commit

Permalink
Initialize the main branch (#1172)
Browse files Browse the repository at this point in the history
* Sync README with master

Signed-off-by: Thane Thomson <[email protected]>

* Sync contributing guidelines with master

Signed-off-by: Thane Thomson <[email protected]>

* Update README to conform to new Tendermint Core versioning approach

Signed-off-by: Thane Thomson <[email protected]>

* Import Rust formatting styles from #1120

Signed-off-by: Thane Thomson <[email protected]>

* cargo +nightly fmt

Signed-off-by: Thane Thomson <[email protected]>

* Apply formatting to tools

Signed-off-by: Thane Thomson <[email protected]>

* Sync GitHub templates with master and remove version-specific fields

Signed-off-by: Thane Thomson <[email protected]>

* Import cargo audit config from master

Signed-off-by: Thane Thomson <[email protected]>

* Import ADRs from master

Signed-off-by: Thane Thomson <[email protected]>

* Pin `time` to <0.3.12 to ensure we stay no-std compatible (#1174)

* Pin `time` to <0.3.12 to ensure we stay no-std compatible

* Apply suggestions from code review

* Update proto/Cargo.toml

Co-authored-by: Thane Thomson <[email protected]>

* Add debug! trace for the outgoing RPC request (#1173)

* Update Prost version to v0.11 (#1171)

* Bump Prost version to v0.11

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entry

Signed-off-by: Thane Thomson <[email protected]>

* Add step in generated-protos-compile job to install protoc

Signed-off-by: Thane Thomson <[email protected]>

* shell should be run

Signed-off-by: Thane Thomson <[email protected]>

* Tell curl to follow redirects

Signed-off-by: Thane Thomson <[email protected]>

* Fix protoc unzip target

Signed-off-by: Thane Thomson <[email protected]>

* Install protoc to unprivileged location

Signed-off-by: Thane Thomson <[email protected]>

* Regenerate protos

Signed-off-by: Thane Thomson <[email protected]>

* Release v0.23.9 (#1177)

* Bump version to v0.23.9

Signed-off-by: Thane Thomson <[email protected]>

* Prepare changelog release

Signed-off-by: Thane Thomson <[email protected]>

* Rebuild changelog

Signed-off-by: Thane Thomson <[email protected]>

* Add note on time dependency restriction to changelog

Signed-off-by: Thane Thomson <[email protected]>

Co-authored-by: Romain Ruetschi <[email protected]>
  • Loading branch information
thanethomson and romac authored Aug 5, 2022
1 parent 590a038 commit dda9245
Show file tree
Hide file tree
Showing 250 changed files with 2,688 additions and 1,885 deletions.
24 changes: 24 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[advisories]
ignore = []
informational_warnings = ["unmaintained"]
severity_threshold = "low"

[database]
path = "~/.cargo/advisory-db"
url = "https://github.com/RustSec/advisory-db.git"
fetch = true
stale = false

[output]
deny = ["unmaintained"] # exit on error if unmaintained dependencies are found
format = "terminal"
quiet = false
show_tree = true

[target]
arch = "x86_64"
os = "linux"

[yanked]
enabled = true
update_index = true
2 changes: 2 additions & 0 deletions .changelog/v0.23.9/dependencies/1171-update-prost-0.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update Prost to v0.11
([#1171](https://github.com/informalsystems/tendermint-rs/pull/1171))
9 changes: 9 additions & 0 deletions .changelog/v0.23.9/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*Aug 5, 2022*

This minor release adds Basic authentication support for HTTP and WebSocket RPC
clients, in addition to some dependency updates.

We had to restrict our `time` dependency for some crates to a version range of
`>=0.3, <0.3.12` due to what seems to be a recent issue in `js-sys` causing our
no\_std support to break. We will undo this restriction as soon as the issue is
resolved.
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,29 @@ name: Bug report
about: Create a report to help us squash bugs!
labels: bug
---

### What went wrong?

<!--
Please give us an overview of what went wrong, and what you expected to happen instead.
-->

**Steps to reproduce**
### Steps to reproduce

<!--
Please provide step-by-step instructions as to how to reproduce the problem.
-->

**What's the definition of "done" for this issue?**
### Definition of "done"

<!--
Please describe clear and practical acceptance criteria for this issue. Anyone
in the team should be able to look at this issue and determine whether or not
the bug's been fixed.
the bug's been fixed, and therefore whether or not this issue can be closed.
-->
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ name: Enhancement
about: A request for a new feature, or to enhance existing functionality
labels: enhancement
---

### Description

<!--
Please describe the enhancement you would like to see implemented in
tendermint-rs. Give as much context as possible.
-->

**What's the definition of "done" for this issue?**
### Definition of "done"

<!--
Please describe clear and practical acceptance criteria for this issue. Anyone
in the team should be able to look at this issue and determine whether or not
the new feature/enhancement has been implemented.
the new feature/enhancement has been implemented, and therefore whether or not
this issue can be closed.
-->
11 changes: 8 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<!--
Thanks for filing a PR! Before hitting the button, please check the following items.
Please note that every non-trivial PR must reference an issue that explains the
changes in the PR.
Thanks for filing a PR!
Before hitting the button, please check the following items. Please note that
every non-trivial PR must reference an issue that explains the changes in the
PR.
Please also make sure you've targeted the correct branch with your PR. See the
contributing guidelines for details.
-->

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
with:
toolchain: stable
override: true
- name: Install protoc
run: |
curl -Lo /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.4/protoc-21.4-linux-x86_64.zip
unzip /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"
- name: Regenerate proto definitions
working-directory: ./tools/proto-compiler/
run: cargo run
Expand Down
9 changes: 8 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
unstable_features = true

# comments
comment_width = 100
comment_width = 110
normalize_comments = true
wrap_comments = true

# imports
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
reorder_imports = true

# strings
format_strings = false
max_width = 100
match_block_trailing_comma = true

trailing_comma = "Vertical"
trailing_semicolon = true
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# CHANGELOG

## v0.23.9

*Aug 5, 2022*

This minor release adds Basic authentication support for HTTP and WebSocket RPC
clients, in addition to some dependency updates.

We had to restrict our `time` dependency for some crates to a version range of
`>=0.3, <0.3.12` due to what seems to be a recent issue in `js-sys` causing our
no\_std support to break. We will undo this restriction as soon as the issue is
resolved.

### DEPENDENCIES

- `[rpc]` Update async-tungstenite dependency to 0.17
([#1165](https://github.com/informalsystems/tendermint-rs/issues/1165)).
- Update Prost to v0.11
([#1171](https://github.com/informalsystems/tendermint-rs/pull/1171))

### FEATURES

- `[tendermint-rpc]` Add support for HTTP Basic authentication to HTTP and WebSocket RPC clients
([#1169](https://github.com/informalsystems/tendermint-rs/issues/1169))

## v0.23.8

*Jul 22, 2022*
Expand Down
Loading

0 comments on commit dda9245

Please sign in to comment.