Skip to content
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

Recursive Derives and Attributes #10

Merged
merged 28 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
874e795
change interface
tadeohepperle Nov 21, 2023
ca78ad5
recursive derives
tadeohepperle Nov 22, 2023
4fe27fa
added test and comments
tadeohepperle Nov 22, 2023
8f3af3b
Merge branch 'master' into recursive-derives
tadeohepperle Nov 22, 2023
ce60070
readd test
tadeohepperle Nov 22, 2023
390cd15
formatting adjustment
tadeohepperle Nov 23, 2023
fcfb267
fix example and unused dependencies
tadeohepperle Nov 27, 2023
ffa5ea3
add documentation to everything.
tadeohepperle Nov 27, 2023
8ae1090
fix bugs in generic recursion of container types
tadeohepperle Nov 28, 2023
83bda09
clippy fix
tadeohepperle Nov 28, 2023
66302dc
fix dependencies
tadeohepperle Nov 28, 2023
f7fff3b
remove the generated rs code
tadeohepperle Nov 28, 2023
1be27b3
make scale_typegen directly accessible
tadeohepperle Nov 29, 2023
7ff03ad
Debug and Clone derives on relevant structs
tadeohepperle Nov 29, 2023
dcdeef5
fix comments in code
tadeohepperle Nov 29, 2023
4cf3e7b
add compact encoding differentiation
tadeohepperle Nov 29, 2023
361fa5b
fix pipeline error by hiding scale-typegen in description behind flag
tadeohepperle Nov 30, 2023
ddda6e0
add access to type registry
tadeohepperle Nov 30, 2023
9163658
give middleware access to transformer to resolve types
tadeohepperle Dec 4, 2023
619529c
nit: fix docs on recurse_policy
tadeohepperle Dec 4, 2023
89e4de0
add struct prefix, fix variant space bug
tadeohepperle Dec 5, 2023
1798db5
add cargo machete in CI/CD
tadeohepperle Dec 5, 2023
68cbc09
remove #![deny(unused_crate_dependencies)] in description crate
tadeohepperle Dec 5, 2023
8904669
introduce cache hit policy
tadeohepperle Dec 7, 2023
119bf73
fine grained control over cache hit behavior
tadeohepperle Dec 7, 2023
cfec37d
remove should_continue and other things
tadeohepperle Dec 7, 2023
47fae43
remove smallvec
tadeohepperle Dec 7, 2023
55f6464
generic arguments are working much better now
tadeohepperle Dec 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3

- name: setup
uses: actions-rs/toolchain@v1
Expand All @@ -32,6 +33,9 @@ jobs:
cargo clippy --version
cargo clippy --all-targets -- -D warnings

- name: machete
uses: bnjbvr/cargo-machete@main

- name: check
run: |
cargo check
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
.idea

Cargo.lock

/artifacts/*.rs
191 changes: 13 additions & 178 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,18 @@ parity-scale-codec = { version = "3.6.5", features = ["derive"] }
proc-macro2 = "1.0.69"
quote = "1.0.33"
scale-bits = "0.4.0"
scale-info = { version = "2.10.0", features = [
"derive",
"bitvec",
"decode",
"docs",
"serde",
] }
smallvec = "1.11.2"
scale-info = { version = "2.10.0", features = ["derive", "bitvec", "decode", "docs", "serde"] }
smallvec = "1.10.0"
syn = { version = "2.0.38", features = ["full", "extra-traits"] }
thiserror = "1.0.50"
prettyplease = "0.2.15"
scale-decode = "0.9.0"
scale-encode = "0.5.0"
serde = "1.0.192"
serde_json = "1.0.108"
frame-metadata = { version = "16.0.0", default-features = false, features = ["current", "std"] }
bitvec = { version = "1", default-features = false }
pretty_assertions = "1.4.0"
anyhow = "1.0.75"
# crates
peekmore = "1.3.0"
scale-value = { version = "0.13.0" }
rand_chacha = { version = "0.3.1" }
rand = { version = "0.8.5" }
Loading
Loading