Skip to content

Commit d3ccf81

Browse files
committed
rust: update minicbor to 0.18.0
1 parent 0df813f commit d3ccf81

File tree

178 files changed

+30176
-7954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+30176
-7954
lines changed

src/rust/Cargo.lock

Lines changed: 30 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/bitbox02-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bip32-ed25519 = { git = "https://github.com/digitalbitbox/rust-bip32-ed25519", t
4040
bs58 = { version = "0.4.0", default-features = false, features = ["alloc", "check"], optional = true }
4141
bech32 = { version = "0.8.1", default-features = false, optional = true }
4242
blake2 = { version = "0.9.2", default-features = false, optional = true }
43-
minicbor = { version = "0.13.0", default-features = false, features = ["alloc"], optional = true }
43+
minicbor = { version = "0.18.0", default-features = false, features = ["alloc"], optional = true }
4444
crc = { version = "2.1.0", optional = true }
4545
ed25519-dalek = { version = "1.0.1", default-features = false, features = ["u32_backend"], optional = true }
4646
digest = "0.9.0"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"files":{"CONTRIBUTING.md":"8de12002f36c177f129fd187be0b5f09d4db581d6876f15067cfa4dab1bf9ee3","Cargo.toml":"09286ecf507c55078a390f4a5b52285d3b3928a41ab04421daa0e26ec3635d1b","LICENSE.md":"79860758b46e85f70a1762c21a8fff4f2d220d89f9bdca096e12aed15b9951c5","README.md":"55f3cc434b08bc4cc624594cb9e1ea4a35d7a6dd59f8890cfc1deef068a72052","src/attrs.rs":"d5525d47c01b4d175db6cc2dac454477d3dbbc9f8c386a96ad09e69239a03343","src/attrs/codec.rs":"52a4f1693f737c133a161167e4cfd01eb51d28300050e0c64bb43970f9ea718f","src/attrs/encoding.rs":"7bbe4a52fd6b04fc07d52106fd536b25709682b1dfe5f0bb4345148ce683ef97","src/attrs/idx.rs":"f34564ada165726d934e96c3d71fbb1e161723efecc30c3db8ab0e705dc047ff","src/attrs/typeparam.rs":"949d25c14100905d537d02f9b81882953b9bf21b70e724b9d86cb7fa71d549ac","src/decode.rs":"0c33ef04c1cff9adff2fc83b99eb9d6b1cb2bf465167996bee8faf0b2400bef4","src/encode.rs":"d83b8fbc79ab2d84c88030e83e54ba859abbc221154c8298fac66373255c8004","src/fields.rs":"45c077b10b25164a08610a6585a65192e877ab740146380f45b7bc7a55ba41f9","src/lib.rs":"ddc1d0be2f27a8e01066b6227bf4286c489a6ce439878d2b61d434472256f7c5","src/lifetimes.rs":"98eeff1cd26f3b7fc121706bfaf22efb1413ec081b53474530fa5bc4808c5943","src/variants.rs":"1e4542a82c60e9ba1d651f5ef0133ffd13d7265f11c2b4126d0cf7b06cc1c58f"},"package":"8608fb1c805b5b6b3d5ab7bd95c40c396df622b64d77b2d621a5eae1eed050ee"}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Thank you for your interest in this project!
2+
3+
Unless you explicitly state otherwise, any contribution intentionally
4+
submitted for inclusion in the software by you shall be under the terms
5+
and conditions of the Blue Oak Model License version 1.0.0, without any
6+
additional terms or conditions.
7+
8+
If you agree to the above and you can certify that your contribution
9+
was created in whole or in part by you and that you have the right to
10+
submit it under the Blue Oak Model License version 1.0.0, then add a
11+
line saying
12+
13+
14+
Signed-off-by: Your real name <your e-mail address>
15+
16+
17+
to your contribution. For merge requests this means that *every commit*
18+
needs to be signed off in this way, for example using `git commit -s`.
19+
20+
For details in regards to the Blue Oak Model License version 1.0.0
21+
read the file LICENSE.md or visit https://blueoakcouncil.org/license/1.0.0
22+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2+
#
3+
# When uploading crates to the registry Cargo will automatically
4+
# "normalize" Cargo.toml files for maximal compatibility
5+
# with all versions of Cargo and also rewrite `path` dependencies
6+
# to registry (e.g., crates.io) dependencies.
7+
#
8+
# If you are reading this file be aware that the original Cargo.toml
9+
# will likely look very different (and much more reasonable).
10+
# See Cargo.toml.orig for the original contents.
11+
12+
[package]
13+
edition = "2021"
14+
name = "minicbor-derive"
15+
version = "0.12.0"
16+
authors = ["Toralf Wittner <[email protected]>"]
17+
description = "Derive minicbor `Decode` and `Encode` traits."
18+
documentation = "https://twittner.gitlab.io/minicbor/minicbor_derive/"
19+
keywords = [
20+
"cbor",
21+
"serialization",
22+
"encoding",
23+
"binary",
24+
"no_std",
25+
]
26+
categories = ["encoding"]
27+
license = "BlueOak-1.0.0"
28+
repository = "https://gitlab.com/twittner/minicbor"
29+
30+
[lib]
31+
proc-macro = true
32+
33+
[dependencies.proc-macro2]
34+
version = "1.0.18"
35+
36+
[dependencies.quote]
37+
version = "1.0.7"
38+
39+
[dependencies.syn]
40+
version = "1.0.72"
41+
features = [
42+
"derive",
43+
"extra-traits",
44+
"visit",
45+
]
46+
47+
[dev-dependencies]
48+
49+
[features]
50+
alloc = []
51+
std = []
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Blue Oak Model License
2+
3+
Version 1.0.0
4+
5+
## Purpose
6+
7+
This license gives everyone as much permission to work with
8+
this software as possible, while protecting contributors
9+
from liability.
10+
11+
## Acceptance
12+
13+
In order to receive this license, you must agree to its
14+
rules. The rules of this license are both obligations
15+
under that agreement and conditions to your license.
16+
You must not do anything with this software that triggers
17+
a rule that you cannot or will not follow.
18+
19+
## Copyright
20+
21+
Each contributor licenses you to do everything with this
22+
software that would otherwise infringe that contributor's
23+
copyright in it.
24+
25+
## Notices
26+
27+
You must ensure that everyone who gets a copy of
28+
any part of this software from you, with or without
29+
changes, also gets the text of this license or a link to
30+
<https://blueoakcouncil.org/license/1.0.0>.
31+
32+
## Excuse
33+
34+
If anyone notifies you in writing that you have not
35+
complied with [Notices](#notices), you can keep your
36+
license by taking all practical steps to comply within 30
37+
days after the notice. If you do not do so, your license
38+
ends immediately.
39+
40+
## Patent
41+
42+
Each contributor licenses you to do everything with this
43+
software that would otherwise infringe any patent claims
44+
they can license or become able to license.
45+
46+
## Reliability
47+
48+
No contributor can revoke this license.
49+
50+
## No Liability
51+
52+
***As far as the law allows, this software comes as is,
53+
without any warranty or condition, and no contributor
54+
will be liable to anyone for any damages related to this
55+
software or this license, under any kind of legal claim.***
56+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# minicbor-derive
2+
3+
A companion crate to [`minicbor`][1] to allow deriving `minicbor::Encode`
4+
and `minicbor::Decode` traits.
5+
6+
# Documentation
7+
8+
Documentation is available at
9+
10+
- <https://twittner.gitlab.io/minicbor/minicbor_derive/>
11+
- <https://docs.rs/minicbor_derive/>
12+
13+
# License
14+
15+
This software is licensed under the [Blue Oak Model License Version 1.0.0][2].
16+
If you are interested in contributing to this project, please read the file
17+
CONTRIBUTING.md first.
18+
19+
[1]: https://crates.io/crates/minicbor
20+
[2]: https://blueoakcouncil.org/license/1.0.0
21+

0 commit comments

Comments
 (0)