WASM compatibility update

Related to: Usage as a lib #8

1.  feature gating of TLS and other features not supported with WASM.
2. updated documentation.
3. creation of AI slop WASM example for verification.
This commit is contained in:
2025-09-08 12:28:44 -07:00
parent 06cd6d0c82
commit f59c28d966
13 changed files with 900 additions and 53 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "socktop_connector"
version = "0.1.2"
version = "0.1.3"
edition = "2024"
license = "MIT"
description = "WebSocket connector library for socktop agent communication"
@@ -47,3 +47,4 @@ protoc-bin-vendored = "3.0"
[features]
default = ["tls"]
tls = ["rustls", "rustls-pemfile"]
wasm = [] # WASM-compatible feature set (no TLS)