Updated the uniffi-bindgen-gecko-js code to use two things I've been experimenting with: * Use the IR pipeline code to generate the structs used to render the templates. * A new test fixture for bindings generators. This one targets bindings generators specifically, it doesn't try test the scaffolding code and it's not based on real-world example code. I originally thought it would be a single crate, but I ended up needed 2 in order to test external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961) Differential Revision: https://phabricator.services.mozilla.com/D242385
26 lines
693 B
TOML
26 lines
693 B
TOML
[package]
|
|
name = "uniffi-bindgen-gecko-js"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
license = "MPL-2.0"
|
|
|
|
[[bin]]
|
|
name = "uniffi-bindgen-gecko-js"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
askama = { version = "0.13", default-features = false, features = ["config"] }
|
|
clap = { version = "4", default-features = false, features = ["std", "derive", "cargo"] }
|
|
cargo_metadata = "0.19"
|
|
extend = "1.1"
|
|
heck = "0.5"
|
|
indexmap = { version = "2.2", features = ["serde"] }
|
|
textwrap = { version = "0.16", features = ["smawk"], default-features = false }
|
|
uniffi = { workspace = true }
|
|
uniffi_bindgen = { workspace = true }
|
|
uniffi_pipeline = { workspace = true }
|
|
serde = "1"
|
|
toml = "0.5"
|
|
camino = "1.0.8"
|