Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Basic access control #47

Merged
merged 1 commit into from
Sep 20, 2019
Merged

Basic access control #47

merged 1 commit into from
Sep 20, 2019

Conversation

MikailBag
Copy link
Member

No description provided.

@MikailBag
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Sep 20, 2019
47: Basic access control r=MikailBag a=MikailBag



Co-authored-by: Mikail Bagishov <bagishov.mikail@yandex.ru>
@bors
Copy link
Contributor

bors bot commented Sep 20, 2019

Build succeeded

@bors bors bot merged commit dd6656f into master Sep 20, 2019
@bors bors bot deleted the secutiry branch September 20, 2019 17:40
@MikailBag MikailBag mentioned this pull request Sep 20, 2019
3 tasks
bors bot added a commit that referenced this pull request Dec 12, 2019
137: Bump thiserror from 1.0.6 to 1.0.9 r=MikailBag a=dependabot-preview[bot]

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.6 to 1.0.9.
<details>
<summary>Release notes</summary>

*Sourced from [thiserror's releases](https://github.com/dtolnay/thiserror/releases).*

> ## 1.0.9
> - Fix bug affecting display attributes of the form `#[error("{}", some_expression)]` (where the format string is `"{}"` and nothing else, and the value formatted is not just one of the fields from the error) [#53](https://github-redirect.dependabot.com/dtolnay/thiserror/issues/53)
> 
> ## 1.0.8
> - Documentation improvements
> 
> ## 1.0.7
> - Support mixing shorthand and non-shorthand format args ([#47](https://github-redirect.dependabot.com/dtolnay/thiserror/issues/47))
> 
>     ```rust
>     #[derive(Error, Debug)]
>     pub enum Error {
>         #[error("first letter must be lowercase but was {:?}", first_char(.0))]
>         WrongCase(String),
>         #[error("invalid index {idx}, expected at least {} and at most {}", .limits.lo, .limits.hi)]
>         OutOfBounds { idx: usize, limits: Limits },
>     }
>     ```
> 
> - Add #\[error(transparent)\] attribute for delegating Error impl to one field ([#50](https://github-redirect.dependabot.com/dtolnay/thiserror/issues/50))
> 
>     This is useful for hiding error variants from a library's public error type:
> 
>     ```rust
>     #[derive(Error, Debug)]
>     #[error(transparent)]  // source and Display delegate to ErrorKind
>     pub struct Error(ErrorKind);
> 
>     #[derive(Error, Debug)]
>     /*private*/ enum ErrorKind {
>         #[error("...")]
>         E0,
>         #[error("...")]
>         E1(#[source] io::Error),
>     }
>     ```
> 
>     And also for enums that need an "anything else" variant; such variants tend not to have their own Display message but just forward through to the underlying error's Display and source:
> 
>     ```rust
>     #[derive(Error, Debug)]
>     pub enum MyError {
>         ...
> 
>         #[error(transparent)]
>         Other(#[from] anyhow::Error),  // source and Display delegate to anyhow::Error
>     }
>     ```
</details>
<details>
<summary>Commits</summary>

- [`1d0b399`](dtolnay/thiserror@1d0b399) Release 1.0.9
- [`20202db`](dtolnay/thiserror@20202db) Remove incorrect detection of simple fmt cases
- [`d53be52`](dtolnay/thiserror@d53be52) Release 1.0.8
- [`26a5af1`](dtolnay/thiserror@26a5af1) Update documentation of display attr
- [`79b740e`](dtolnay/thiserror@79b740e) Release 1.0.7
- [`05f0a0f`](dtolnay/thiserror@05f0a0f) Add trybuild tests for transparent feature
- [`62e8e66`](dtolnay/thiserror@62e8e66) Merge pull request [#50](https://github-redirect.dependabot.com/dtolnay/thiserror/issues/50) from dtolnay/transparent
- [`ac61f40`](dtolnay/thiserror@ac61f40) Test transparent attribute
- [`c3da163`](dtolnay/thiserror@c3da163) Expand transparent attribute
- [`7672b1e`](dtolnay/thiserror@7672b1e) Validate transparent attribute
- Additional commits viewable in [compare view](dtolnay/thiserror@1.0.6...1.0.9)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.6&new-version=1.0.9)](https://dependabot.com/compatibility-score.html?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.6&new-version=1.0.9)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant