Skip to content

Commit

Permalink
Bump version and default initializations (#6)
Browse files Browse the repository at this point in the history
* default inits

* more work

* fix common version
  • Loading branch information
quinnj authored Jul 17, 2024
1 parent 781a798 commit c5f9405
Show file tree
Hide file tree
Showing 17 changed files with 78 additions and 42 deletions.
12 changes: 6 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LibAwsHTTP"
uuid = "ce851869-0d7a-41e7-95ef-2d4cb63876dd"
version = "1.0.0"
version = "1.1.0"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand All @@ -13,11 +13,11 @@ aws_c_http_jll = "3254fc65-9028-534d-aa9d-d76d128babc6"
[compat]
Aqua = "0.7"
CEnum = "0.5"
LibAwsCal = "=1.0.0"
LibAwsCommon = "=1.0.0"
LibAwsCompression = "=1.0.0"
LibAwsIO = "=1.0.0"
aws_c_http_jll = "=0.8.1"
LibAwsCal = "=1.1.0"
LibAwsCommon = "=1.2.0"
LibAwsCompression = "=1.1.0"
LibAwsIO = "=1.1.0"
aws_c_http_jll = "=0.8.4"
julia = "1.6"

[extras]
Expand Down
57 changes: 29 additions & 28 deletions gen/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.2"
julia_version = "1.10.4"
manifest_format = "2.0"
project_hash = "2fff57378e0bd8c0bedbf47307f220d460e4d2d8"
project_hash = "bf9ecb5193e86f9894e834b0947c137e64f62edd"

[[deps.ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
Expand Down Expand Up @@ -42,9 +42,9 @@ version = "1.6.0"

[[deps.Expat_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl"]
git-tree-sha1 = "4558ab818dcceaab612d1bb8c19cee87eda2b83c"
git-tree-sha1 = "1c6317308b9dc757616f0b5cb379db10494443a7"
uuid = "2e619515-83b5-522b-bb60-26c02a35a201"
version = "2.5.0+0"
version = "2.6.2+0"

[[deps.FileWatching]]
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
Expand All @@ -62,19 +62,20 @@ uuid = "f8c6e375-362e-5223-8a59-34ff63f689eb"
version = "2.44.0+2"

[[deps.HistoricalStdlibVersions]]
git-tree-sha1 = "c8b04a26eaa706b4da6968dfc27ae2d030547cba"
deps = ["Pkg"]
git-tree-sha1 = "d50c73e4abd8f7c58eb76a8884dfd531fa8dac81"
uuid = "6df8b67a-e8a0-4029-b4b7-ac196fe72102"
version = "1.2.2"
version = "2.0.0"

[[deps.InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"

[[deps.JLLPrefixes]]
deps = ["Artifacts", "Git", "HistoricalStdlibVersions", "Pkg", "Preferences", "SHA", "Scratch"]
git-tree-sha1 = "c43b83a688b86b33f5b6d8f48d70a41526d845f8"
git-tree-sha1 = "282d4920f56cb8c39f0a0baa5a834db2e78cc991"
uuid = "afc68a34-7891-4c5a-9da1-1c62935e7b0d"
version = "0.3.5"
version = "0.3.11"

[[deps.JLLWrappers]]
deps = ["Artifacts", "Preferences"]
Expand All @@ -84,27 +85,27 @@ version = "1.5.0"

[[deps.LibAwsCal]]
deps = ["CEnum", "LibAwsCommon", "aws_c_cal_jll"]
git-tree-sha1 = "739d946bdf7ebe3cc7b412a8dc8ae899f40621b9"
git-tree-sha1 = "ea84a3fc5acae82883d2c3ce3579d461d26a47e2"
uuid = "ef519ef6-af43-41a0-8ac4-eb81328190af"
version = "1.0.0"
version = "1.1.0"

[[deps.LibAwsCommon]]
deps = ["CEnum", "aws_c_common_jll"]
git-tree-sha1 = "d8705f05415a487369d5bbfb2ca149c72ffb5609"
git-tree-sha1 = "17d34406ecd3c3f16d1ec298b6abf0a110eb88dc"
uuid = "c6e421ba-b5f8-4792-a1c4-42948de3ed9d"
version = "1.0.0"
version = "1.2.0"

[[deps.LibAwsCompression]]
deps = ["CEnum", "LibAwsCommon", "aws_c_compression_jll"]
git-tree-sha1 = "b4e245fd3c8f63598153814399c62fd4add768e1"
git-tree-sha1 = "54ba2d3fe231427104c3947d485ffd7396c14488"
uuid = "51c8708f-2dd9-446d-a0d4-ba9f49ba4b23"
version = "1.0.0"
version = "1.1.0"

[[deps.LibAwsIO]]
deps = ["CEnum", "LibAwsCal", "LibAwsCommon", "aws_c_io_jll"]
git-tree-sha1 = "80e366643d0ec3998450580df3600345a63edeea"
git-tree-sha1 = "5cb1930df4d7415a4d3b7ad6638b60cd522bf5fc"
uuid = "a5388770-19df-4151-b103-3d71de896ddf"
version = "1.0.0"
version = "1.1.0"

[[deps.LibCURL]]
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
Expand Down Expand Up @@ -161,9 +162,9 @@ version = "1.2.0"

[[deps.OpenSSL_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl"]
git-tree-sha1 = "3da7367955dcc5c54c1ba4d402ccdc09a1a3e046"
git-tree-sha1 = "a028ee3cb5641cccc4c24e90c36b0a4f7707bdf5"
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
version = "3.0.13+1"
version = "3.0.14+0"

[[deps.PCRE2_jll]]
deps = ["Artifacts", "Libdl"]
Expand Down Expand Up @@ -233,15 +234,15 @@ version = "1.2.13+1"

[[deps.aws_c_cal_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "aws_c_common_jll"]
git-tree-sha1 = "3c554279cdb445fbebdab0b9f9fcc470c6d488b0"
git-tree-sha1 = "71373d35b383c07412eab3e7dabb8901e47e38b3"
uuid = "70f11efc-bab2-57f1-b0f3-22aad4e67c4b"
version = "0.6.12+0"
version = "0.7.1+0"

[[deps.aws_c_common_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl"]
git-tree-sha1 = "586a1aa2fdda172c45587b52f5329fedde14f44c"
git-tree-sha1 = "68d3a903076819904e9e27d077b59b95fcca44e0"
uuid = "73048d1d-b8c4-5092-a58d-866c5e8d1e50"
version = "0.9.14+0"
version = "0.9.23+0"

[[deps.aws_c_compression_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "aws_c_common_jll"]
Expand All @@ -251,15 +252,15 @@ version = "0.2.18+0"

[[deps.aws_c_http_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "aws_c_compression_jll", "aws_c_io_jll"]
git-tree-sha1 = "eb7b8d1769a0f0068b86fe72811df53dd9ddbeae"
git-tree-sha1 = "54dbe8c5e0d2fe3ed2da9f02422396afcda7d221"
uuid = "3254fc65-9028-534d-aa9d-d76d128babc6"
version = "0.8.1+0"
version = "0.8.4+0"

[[deps.aws_c_io_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "aws_c_cal_jll", "aws_c_common_jll", "s2n_tls_jll"]
git-tree-sha1 = "8fe3ec4e9c43725e9df637fdd5a6846abc40f7bb"
git-tree-sha1 = "89e846b722183048528cf422b67d7c9db980c63d"
uuid = "13c41daa-f319-5298-b5eb-5754e0170d52"
version = "0.14.7+0"
version = "0.14.12+1"

[[deps.libLLVM_jll]]
deps = ["Artifacts", "Libdl"]
Expand All @@ -278,6 +279,6 @@ version = "17.4.0+2"

[[deps.s2n_tls_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl"]
git-tree-sha1 = "347948ecd0fa573c52131ff3eca523476b8f4894"
git-tree-sha1 = "5bd86d0df65eb3bbec3176aa41a328ae01a8a005"
uuid = "cddc5d3d-934d-5d3a-9747-62fc12ea3f48"
version = "1.4.12+0"
version = "1.4.17+0"
16 changes: 8 additions & 8 deletions gen/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ aws_c_io_jll = "13c41daa-f319-5298-b5eb-5754e0170d52"
[compat]
Clang = "0.18.3"
JLLPrefixes = "0.3"
LibAwsCal = "=1.0.0"
LibAwsCommon = "=1.0.0"
LibAwsCompression = "=1.0.0"
LibAwsIO = "=1.0.0"
aws_c_common_jll = "=0.9.14"
aws_c_compression_jll = "=0.2.18"
aws_c_http_jll = "=0.8.1"
aws_c_io_jll = "=0.14.7"
LibAwsCal = "1.1.0"
LibAwsCommon = "1.1.0"
LibAwsCompression = "1.1.0"
LibAwsIO = "1.1.0"
aws_c_common_jll = "0.9.23"
aws_c_compression_jll = "0.2.18"
aws_c_http_jll = "0.8.4"
aws_c_io_jll = "0.14.12"
2 changes: 2 additions & 0 deletions lib/aarch64-apple-darwin20.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/aarch64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/aarch64-linux-musl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/armv7l-linux-gnueabihf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/armv7l-linux-musleabihf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/i686-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/i686-linux-musl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/powerpc64le-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/x86_64-apple-darwin14.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/x86_64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/x86_64-linux-musl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/x86_64-unknown-freebsd13.2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

"""
Expand Down
2 changes: 2 additions & 0 deletions lib/x86_64-w64-mingw32.jl
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ struct aws_http_connection_manager_options
shutdown_complete_callback::Ptr{aws_http_connection_manager_shutdown_complete_fn}
enable_read_back_pressure::Bool
max_connection_idle_in_milliseconds::UInt64
network_interface_names_array::Ptr{aws_byte_cursor}
num_network_interface_names::Csize_t
end

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

function init(allocator=default_aws_allocator())
LibAwsCommon.init(allocator)
LibAwsCompression.init(allocator)
LibAwsCal.init(allocator)
LibAwsIO.init(allocator)
aws_http_library_init(allocator)
return
end

end

2 comments on commit c5f9405

@quinnj
Copy link
Member Author

@quinnj quinnj commented on c5f9405 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/111190

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>" c5f9405efb994e591a1445ae8409eaf389046fc1
git push origin v1.1.0

Please sign in to comment.