diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/rust/uniffi-example-sprites/.cargo-checksum.json | 1 | ||||
-rw-r--r-- | third_party/rust/uniffi-example-sprites/Cargo.toml | 39 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/build.rs (renamed from third_party/rust/uniffi-example-sprites/build.rs) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/src/lib.rs (renamed from third_party/rust/uniffi-example-sprites/src/lib.rs) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/src/sprites.udl (renamed from third_party/rust/uniffi-example-sprites/src/sprites.udl) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.kts (renamed from third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.kts) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.py (renamed from third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.py) | 3 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.rb (renamed from third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.rb) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.swift (renamed from third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.swift) | 0 | ||||
-rw-r--r-- | toolkit/components/uniffi-fixtures/sprites/tests/test_generated_bindings.rs (renamed from third_party/rust/uniffi-example-sprites/tests/test_generated_bindings.rs) | 0 |
10 files changed, 1 insertions, 42 deletions
diff --git a/third_party/rust/uniffi-example-sprites/.cargo-checksum.json b/third_party/rust/uniffi-example-sprites/.cargo-checksum.json deleted file mode 100644 index 8a890fb65c..0000000000 --- a/third_party/rust/uniffi-example-sprites/.cargo-checksum.json +++ /dev/null @@ -1 +0,0 @@ -{"files":{"Cargo.toml":"94385b28fdc7e33b7019fada486124c027d29b3d2b11b57e8d488658386f7974","build.rs":"7e9d92d7c8fc17b359a29117b137ffc4d32f6c10b450d03e30a396339d8c9099","src/lib.rs":"d7984c0c10011b1bd939bce71dae7437ebb9090583b5d1b1cc133c2e5f60ab66","src/sprites.udl":"bfd35f04ba0549301189dfb8fc45b0f39bad00956c324f33be0e845fb7ff78aa","tests/bindings/test_sprites.kts":"06ed115325f37ce59ed6f33e2d651cd2aa352fddcc644580f62a6da6ca075844","tests/bindings/test_sprites.py":"f976f2be7ab8b88e8b84def760a849c0d98f4c7b481f054f92b566325d78d52d","tests/bindings/test_sprites.rb":"009d545bb7167b7218211430cfaeeb143cc30617eedcf3e51baafe752ad43241","tests/bindings/test_sprites.swift":"b2c0a6f4d5edfd7de7c2ba77b838865ffda153a6f364f273456175192d3e6e00","tests/test_generated_bindings.rs":"9a22d693c97fc6d90031cc60f61ece1d9279165ad6a92c9fe937448e126e8de6"},"package":null}
\ No newline at end of file diff --git a/third_party/rust/uniffi-example-sprites/Cargo.toml b/third_party/rust/uniffi-example-sprites/Cargo.toml deleted file mode 100644 index c6dc9d1f4b..0000000000 --- a/third_party/rust/uniffi-example-sprites/Cargo.toml +++ /dev/null @@ -1,39 +0,0 @@ -# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO -# -# When uploading crates to the registry Cargo will automatically -# "normalize" Cargo.toml files for maximal compatibility -# with all versions of Cargo and also rewrite `path` dependencies -# to registry (e.g., crates.io) dependencies. -# -# If you are reading this file be aware that the original Cargo.toml -# will likely look very different (and much more reasonable). -# See Cargo.toml.orig for the original contents. - -[package] -edition = "2021" -name = "uniffi-example-sprites" -version = "0.22.0" -authors = ["Firefox Sync Team <sync-team@mozilla.com>"] -publish = false -license = "MPL-2.0" - -[lib] -name = "uniffi_sprites" -crate-type = [ - "lib", - "cdylib", -] - -[dependencies.uniffi] -version = "0.27" -path = "../../uniffi" - -[dev-dependencies.uniffi] -version = "0.27" -path = "../../uniffi" -features = ["bindgen-tests"] - -[build-dependencies.uniffi] -version = "0.27" -path = "../../uniffi" -features = ["build"] diff --git a/third_party/rust/uniffi-example-sprites/build.rs b/toolkit/components/uniffi-fixtures/sprites/build.rs index 26ac3085b8..26ac3085b8 100644 --- a/third_party/rust/uniffi-example-sprites/build.rs +++ b/toolkit/components/uniffi-fixtures/sprites/build.rs diff --git a/third_party/rust/uniffi-example-sprites/src/lib.rs b/toolkit/components/uniffi-fixtures/sprites/src/lib.rs index d3cc11e408..d3cc11e408 100644 --- a/third_party/rust/uniffi-example-sprites/src/lib.rs +++ b/toolkit/components/uniffi-fixtures/sprites/src/lib.rs diff --git a/third_party/rust/uniffi-example-sprites/src/sprites.udl b/toolkit/components/uniffi-fixtures/sprites/src/sprites.udl index 6781c6cee5..6781c6cee5 100644 --- a/third_party/rust/uniffi-example-sprites/src/sprites.udl +++ b/toolkit/components/uniffi-fixtures/sprites/src/sprites.udl diff --git a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.kts b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.kts index 42451f28dd..42451f28dd 100644 --- a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.kts +++ b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.kts diff --git a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.py b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.py index d04742e076..1e91997001 100644 --- a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.py +++ b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.py @@ -1,4 +1,4 @@ -from sprites import * +from sprites import Point, Sprite, Vector sempty = Sprite(None) assert sempty.get_position() == Point(x=0, y=0) @@ -14,4 +14,3 @@ assert s.get_position() == Point(x=-3, y=4) srel = Sprite.new_relative_to(Point(x=0, y=1), Vector(dx=1, dy=1.5)) assert srel.get_position() == Point(x=1, y=2.5) - diff --git a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.rb b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.rb index fa73043979..fa73043979 100644 --- a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.rb +++ b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.rb diff --git a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.swift b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.swift index d5428ac679..d5428ac679 100644 --- a/third_party/rust/uniffi-example-sprites/tests/bindings/test_sprites.swift +++ b/toolkit/components/uniffi-fixtures/sprites/tests/bindings/test_sprites.swift diff --git a/third_party/rust/uniffi-example-sprites/tests/test_generated_bindings.rs b/toolkit/components/uniffi-fixtures/sprites/tests/test_generated_bindings.rs index 00dd779d68..00dd779d68 100644 --- a/third_party/rust/uniffi-example-sprites/tests/test_generated_bindings.rs +++ b/toolkit/components/uniffi-fixtures/sprites/tests/test_generated_bindings.rs |