tardy-org/secsock
Async TLS (Secure Socket) for the Tardy runtime
This is an implementation of SecureSocket
, a wrapper for the Tardy Socket
type that provides TLS functionality.
Compatible Zig Version: 0.14.0
Compatible tardy Version: 019a81d00efc01157b9c67c357e53fcf75e48e6e
Latest Release: 0.0.0
zig fetch --save git+https://github.com/tardy-org/secsock#v0.0.0
You can then add the dependency in your build.zig
file:
const secsock = b.dependency("secsock", .{
.target = target,
.optimize = optimize,
}).module("secsock");
exe.root_module.addImport(secsock);
We use Nix Flakes for managing the development environment. Nix Flakes provide a reproducible, declarative approach to managing dependencies and development tools.
sh <(curl -L https://nixos.org/nix/install) --daemon
~/.config/nix/nix.conf
): experimental-features = nix-command flakes
git clone https://github.com/tardy-org/secsock.git
cd secsock
nix develop
This will provide you with a shell that contains all of the necessary tools and dependencies for development.
Once you are inside of the development shell, you can update the development dependencies by:
flake.nix
nix flake update
flake.nix
and the flake.lock
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in secsock by you, shall be licensed as MPL2.0, without any additional terms or conditions.