diff --git a/swift-examples/hello-world-macro/greeter/Cargo.toml b/swift-examples/hello-world-macro/greeter/Cargo.toml index 9d07e0c..0d58925 100644 --- a/swift-examples/hello-world-macro/greeter/Cargo.toml +++ b/swift-examples/hello-world-macro/greeter/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [lib] crate-type = ["cdylib", "staticlib"] -name = "mylib" +name = "greeter" [dependencies] uniffi = "0.24.3" diff --git a/swift-examples/hello-world/greeter/Cargo.toml b/swift-examples/hello-world/greeter/Cargo.toml index 9d07e0c..0d58925 100644 --- a/swift-examples/hello-world/greeter/Cargo.toml +++ b/swift-examples/hello-world/greeter/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [lib] crate-type = ["cdylib", "staticlib"] -name = "mylib" +name = "greeter" [dependencies] uniffi = "0.24.3" diff --git a/swift-examples/hello-world/greeter/src/lib.udl b/swift-examples/hello-world/greeter/src/lib.udl index 634d9dd..82dbfa3 100644 --- a/swift-examples/hello-world/greeter/src/lib.udl +++ b/swift-examples/hello-world/greeter/src/lib.udl @@ -1,3 +1,3 @@ -namespace lib { +namespace greeter { string greet(string name); };