Skip to content

Commit

Permalink
feat: Improve bindgen types (#2773)
Browse files Browse the repository at this point in the history
* bump: cainome-0.4.8

* feat: add CairoOption and CairoCustomEnum type handling

* feat: merge schema in models.gen.ts

* feat: add Input type to omit fieldOrder field

* feat: recursive types in model definition
  • Loading branch information
MartianGreed authored Dec 6, 2024
1 parent b5d7ded commit 575040c
Show file tree
Hide file tree
Showing 10 changed files with 800 additions and 96 deletions.
154 changes: 126 additions & 28 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ debug = true
inherits = "release"

[workspace.dependencies]
cainome = { git = "https://github.com/cartridge-gg/cainome", rev = "5c2616c273faca7700d2ba565503fcefb5b9d720", features = [ "abigen-rs" ] }
cainome-cairo-serde = { git = "https://github.com/cartridge-gg/cainome", rev = "5c2616c273faca7700d2ba565503fcefb5b9d720" }
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.10", features = [ "abigen-rs" ] }
cainome-cairo-serde = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.10" }
dojo-utils = { path = "crates/dojo/utils" }

# metrics
Expand Down Expand Up @@ -212,7 +212,7 @@ scarb-ui = { git = "https://github.com/dojoengine/scarb", rev = "7eac49b3e61236c
semver = "1.0.5"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = { version = "1.0", features = [ "arbitrary_precision" ] }
serde_with = "3.9.0"
serde_with = "3.11.0"
similar-asserts = "1.5.0"
smol_str = { version = "0.2.0", features = [ "serde" ] }
spinoff = "0.8.0"
Expand Down
Loading

0 comments on commit 575040c

Please sign in to comment.