-
Notifications
You must be signed in to change notification settings - Fork 240
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
Refactor uniffi structure #205
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[workspace] | ||
members = [ | ||
"uniffi", | ||
"uniffi_bindgen", | ||
"uniffi_build", | ||
"uniffi_macros", | ||
"uniffi", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the risk of veering into bikeshed territory, I would be tempted to name this "uniffi_runtime" or similar to give a more direct indication that it contains the run-time support infra. We don't need to change it though, just sharing my reaction to the names here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I actually named it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Haha, yeah, needing |
||
"examples/arithmetic", | ||
"examples/geometry", | ||
"examples/rondpoint", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,8 @@ crate-type = ["cdylib"] | |
name = "uniffi_arithmetic" | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
log = "0.4" | ||
ffi-support = "0.4" | ||
uniffi = {path = "../../uniffi"} | ||
uniffi_macros = {path = "../../uniffi_macros"} | ||
uniffi = {path = "../../uniffi"} | ||
|
||
[build-dependencies] | ||
uniffi = {path = "../../uniffi"} | ||
uniffi_build = {path = "../../uniffi_build"} | ||
Comment on lines
+14
to
+17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See how we depend on 1 crate for the bytebuffer traits/methods + tests helpers, and 1 for build time. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
uniffi_macros::build_foreign_language_testcases!( | ||
"tests/bindings/test_arithmetic.py", | ||
"tests/bindings/test_arithmetic.kts", | ||
"tests/bindings/test_arithmetic.swift", | ||
"src/arithmetic.idl", | ||
eoger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[ | ||
"tests/bindings/test_arithmetic.py", | ||
"tests/bindings/test_arithmetic.kts", | ||
"tests/bindings/test_arithmetic.swift", | ||
] | ||
); |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
uniffi_macros::build_foreign_language_testcases!( | ||
"tests/bindings/test_geometry.py", | ||
"tests/bindings/test_geometry.kts", | ||
"tests/bindings/test_geometry.swift", | ||
"src/geometry.idl", | ||
[ | ||
"tests/bindings/test_geometry.py", | ||
"tests/bindings/test_geometry.kts", | ||
"tests/bindings/test_geometry.swift", | ||
] | ||
); |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
uniffi_macros::build_foreign_language_testcases!( | ||
"tests/bindings/test_rondpoint.kts", | ||
"tests/bindings/test_rondpoint.swift", | ||
// "tests/bindings/test_rondpoint.py" | ||
"src/rondpoint.idl", | ||
[ | ||
"tests/bindings/test_rondpoint.kts", | ||
"tests/bindings/test_rondpoint.swift", | ||
// "tests/bindings/test_rondpoint.py", | ||
] | ||
); |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
uniffi_macros::build_foreign_language_testcases!( | ||
// "tests/bindings/test_sprites.py", | ||
"tests/bindings/test_sprites.kts", | ||
"tests/bindings/test_sprites.swift", | ||
"src/sprites.idl", | ||
[ | ||
// "tests/bindings/test_sprites.py", | ||
"tests/bindings/test_sprites.kts", | ||
"tests/bindings/test_sprites.swift", | ||
] | ||
); |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
uniffi_macros::build_foreign_language_testcases!( | ||
"tests/bindings/test_todolist.kts", | ||
"tests/bindings/test_todolist.swift", | ||
// "tests/bindings/test_todolist.py" | ||
"src/todolist.idl", | ||
[ | ||
"tests/bindings/test_todolist.kts", | ||
"tests/bindings/test_todolist.swift", | ||
// "tests/bindings/test_todolist.py" | ||
] | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should allow CI to run properly with the current bindgen version.