diff --git a/Project.toml b/Project.toml index 4643116..059896c 100644 --- a/Project.toml +++ b/Project.toml @@ -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" @@ -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" diff --git a/src/LibAwsMqtt.jl b/src/LibAwsMqtt.jl index 3faf220..20c44d9 100644 --- a/src/LibAwsMqtt.jl +++ b/src/LibAwsMqtt.jl @@ -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