Skip to content

Commit

Permalink
Bump version and add init default (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj authored Jul 17, 2024
1 parent 9d6cab2 commit 4a9388b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LibAwsMqtt"
uuid = "dbf63f58-971e-4a9b-b153-820e5f7f543b"
version = "1.0.0"
version = "1.1.0"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand All @@ -15,12 +15,12 @@ aws_c_mqtt_jll = "35636aaa-5d3a-56eb-bfb5-a154ce8a9530"
[compat]
Aqua = "0.7"
CEnum = "0.5"
LibAwsCal = "=1.0.0"
LibAwsCommon = "=1.0.0"
LibAwsCompression = "=1.0.0"
LibAwsHTTP = "=1.0.0"
LibAwsIO = "=1.0.0"
LibAwsSdkutils = "=1.0.0"
LibAwsCal = "=1.1.0"
LibAwsCommon = "=1.2.0"
LibAwsCompression = "=1.1.0"
LibAwsHTTP = "=1.1.0"
LibAwsIO = "=1.1.0"
LibAwsSdkutils = "=1.1.0"
aws_c_mqtt_jll = "=0.10.4"
julia = "1.6"

Expand Down
11 changes: 11 additions & 0 deletions src/LibAwsMqtt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,15 @@ for name in names(@__MODULE__; all=true)
@eval export $name
end

function init(allocator=default_aws_allocator())
LibAwsCommon.init(allocator)
LibAwsCal.init(allocator)
LibAwsCompression.init(allocator)
LibAwsIO.init(allocator)
LibAwsHTTP.init(allocator)
LibAwsSdkutils.init(allocator)
aws_mqtt_library_init(allocator)
return
end

end

2 comments on commit 4a9388b

@quinnj
Copy link
Member Author

@quinnj quinnj commented on 4a9388b Jul 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/111192

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.0 -m "<description of version>" 4a9388b9f11462e97ed7a934aaa1284cdd570a7b
git push origin v1.1.0

Please sign in to comment.