Skip to content

Commit

Permalink
Merge pull request #1 from DanikVitek/async/derive
Browse files Browse the repository at this point in the history
feat: implement derive macro for async traits
  • Loading branch information
DanikVitek authored Jan 31, 2025
2 parents 8001084 + 6c78116 commit a13066c
Show file tree
Hide file tree
Showing 174 changed files with 4,315 additions and 1,212 deletions.
2 changes: 2 additions & 0 deletions .github/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ pushd borsh
cargo test --no-run
cargo test
cargo test --features derive
cargo test --features derive,unstable__tokio
cargo test --features derive,unstable__async-std
cargo test --features unstable__schema
########## features = ["ascii"] group
cargo test --features ascii 'roundtrip::test_ascii_strings'
Expand Down
2 changes: 1 addition & 1 deletion borsh-derive/src/internals/attributes/field/bounds.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::collections::BTreeMap;

use once_cell::sync::Lazy;
use syn::{meta::ParseNestedMeta, WherePredicate};

use crate::internals::attributes::{parsing::parse_lit_into_vec, Symbol, DESERIALIZE, SERIALIZE};
use once_cell::sync::Lazy;

pub enum Variants {
Serialize(Vec<WherePredicate>),
Expand Down
Loading

0 comments on commit a13066c

Please sign in to comment.