From c64b11e145730cd586555e46777417b0b41e1c7a Mon Sep 17 00:00:00 2001 From: Leandro Ostera Date: Fri, 24 Nov 2023 08:58:37 +0100 Subject: [PATCH] [new release] atacama (0.0.3) CHANGES: ## 0.0.3 * Move example to use Riot Applications * Started reference projects for benchmarking * Log socket accept/receive errors * Always attempt to close a socket ## 0.0.2 * Update to work with Riot 0.0.3 ## 0.0.1 First release includes: * A pluggable architecture, where both Transports and Handlers can be configured in an Atacama supervision tree at startup time. This makes it easy to swap in the protocol used, which by default will be clear TCP sockets. * Easy-to-define handlers using module includes, so defining a new handler is as little as ~5 lines of OCaml. * A supervision tree for handling connections in an acceptor pool * Custom state per connection pool * An echo server example * Some telemetry events * Namespaced internal logging --- packages/atacama/atacama.0.0.3/opam | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 packages/atacama/atacama.0.0.3/opam diff --git a/packages/atacama/atacama.0.0.3/opam b/packages/atacama/atacama.0.0.3/opam new file mode 100644 index 00000000000..eb2c3de5d60 --- /dev/null +++ b/packages/atacama/atacama.0.0.3/opam @@ -0,0 +1,41 @@ +opam-version: "2.0" +synopsis: "Modern, pure OCaml socket pool for Riot" +description: + "Atacama is a modern, pure OCaml socket pool for Riot inspired by Thousand Island. It aims to be easy to understand and reason about, while also being at least as stable and performant as the alternatives." +maintainer: ["Leandro Ostera "] +authors: ["Leandro Ostera "] +license: "MIT" +tags: ["topics" "socket" "socket pool" "riot"] +homepage: "https://github.com/leostera/atacama" +bug-reports: "https://github.com/leostera/atacama/issues" +depends: [ + "ocaml" {>= "5.1"} + "riot" {>= "0.0.4"} + "telemetry" {>= "0.0.1"} + "dune" {>= "3.10"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/leostera/atacama.git" +url { + src: + "https://github.com/leostera/atacama/releases/download/0.0.3/atacama-0.0.3.tbz" + checksum: [ + "sha256=70656f50054a099325ee8f11c6b5e7146f66d92bcaa1f442e75bf4518a518ac0" + "sha512=3b54002348dcf8433bcd7a8a8d168f4d20b8f991240ea531f0aae83930b6c8b9faf09a2edc83e1b6a176f55b772756f67bfba09a314fb1c0e13675f044e390e6" + ] +} +x-commit-hash: "f6e6a6d6eafa7bfb1e4d1ee3d551805c9b9bf54b"