Overview.
Each page describes the selected source API for the listed profiles. Distinct surfaces have separate pages.
| Module | Category | Import namespace | Summary |
|---|---|---|---|
silk.bench.bench | Benchmarks | Bench | Runs benchmark suites from a project's tasks and writes their reports. |
silk.bench.bencher | Benchmarks | Bencher | Benchmarks declared with `bench fn`, the [`Bencher`] they loop on, and the program that runs them. |
silk.bench.harness | Benchmarks | Harness | The harness of a Silk program whose benchmarks a benchmark task drives: it answers the driven protocol and times each run. |
silk.bench.history | Benchmarks | History | The history of a benchmark suite: one line of text for each result of each run, the journal a person keeps beside it, and the table that shows progress over time. |
silk.bench.html | Benchmarks | Html | Draws a benchmark report as one static HTML page with charts. |
silk.bench.lines | Benchmarks | Lines | Benchmark result lines: the text format of Go's `testing` package, read and written. |
silk.bench.process | Benchmarks | Process | Runs one program to its end and measures it: the time it took, the processor time it used, and its peak memory. |
silk.bench.record | Benchmarks | Report | The data of a benchmark run: the result file with every raw sample, and the report with the statistics a renderer draws. |
silk.bench.render | Benchmarks | Render | Draws a benchmark report as text: a table for a terminal, with optional color, and Markdown. |
silk.bench.report | Benchmarks | Reports | Turns the raw samples of a benchmark run into the report a renderer draws. |
silk.bench.statistics | Benchmarks | Statistics | The statistics a benchmark report is made of: medians, bootstrap intervals, ratios between two sets of samples, and the verdict a ratio supports. |
silk.bench.suite | Benchmarks | Suite | Describes what a benchmark run compares: suites, their implementations, the programs to time, and where the reports go. |
silk.bench.transport | Benchmarks | Transport | Carries the lines of the driven benchmark protocol between a benchmark task and a harness. |
silk.bench.units | Benchmarks | Units | Text for the quantities of a benchmark report: durations, memory sizes, and ratios. |
silk.bench.view | Benchmarks | View | Says how the results of a benchmark suite should be shown: a kind of chart and the fields it maps. |
silk.build.embed | Embed | Generated modules that expose a declared file's bytes as a static value. | |
silk.build.parameter | Parameter | Typed package parameters resolved by the build graph. | |
silk.build.toolchain | Toolchain | Selects the LLVM tools used by a compiler installation and by build-cache fingerprints. | |
silk.build.context | Context | Package context and local input closure for resolving compilation definitions. | |
silk.build.definition | Definition | Typed compilation definitions whose defaults and package inputs the toolchain resolves. | |
silk.build.package | Package | Per-package backend settings and typed parameter bindings in a compilation graph. | |
silk.build.compilation | Compilation | Compilations as build steps that write explicit requests before invoking the compiler. | |
silk.build.encoding | Encoding | Owned schema output used by build keys, cached values, and compilation requests. | |
silk.build.events | BuildEvents | What a `silk` command did, as a file of events: [`BuildEvent`] and [`BuildEvents`]. | |
silk.build.execution | Pending | Deferred storage for a build step's work, using the ordinary fiber execution boundary. | |
silk.build.fingerprint | Fingerprint | Deterministic content fingerprints for build inputs and completed output trees. | |
silk.build.graph | Build | Build graphs that publish complete compilation requests and return their artifacts. | |
silk.build.options | Options | Standard command-line options shared by build commands. | |
silk.build.tasks | Build | Standard | The standard tasks a project's tasks.silk starts from: build, run, dev and plan. |
silk.build.watch | Build | Watch | Running a command again each time a project's sources change, for `silk dev`. |
silk.build.watch | Build | Watch | Running a command again each time a project's sources change, for `silk dev`. |
silk.build.publish | Publish | Copies completed build outputs without exposing partially written files. | |
silk.build.descriptor | Descriptor | Immutable descriptions shared by static package plans and runtime build steps. | |
silk.build.standard | Standard | Materializes immutable standard action descriptions through the ordinary step interface. | |
silk.build.run | Run | Process steps with declared arguments, files, environment, and captured values. | |
silk.build.setting | Setting | Deferred compilation settings resolved by the graph runner. | |
silk.build.step | Step | Build steps, their declared inputs, and values resolved only by the graph runner. | |
silk.build.write_files | WriteFiles | Generated files whose contents are known values or other steps' deferred values. | |
silk.build.delegate | Delegate | A build graph as a task program hands it to the compiler, and the compiler's answer. | |
silk.build.host | Host | The compiler's side of a described build graph: restore it, run it and answer what it made. | |
silk.http.trace | HttpTrace | Opt-in propagation of W3C trace context on HTTP requests. | |
silk.platform.native.time_zone | Native platform | NativeTimeZone | Direct reads of the time zone files and settings of a Unix system, for the native zone providers. |
silk.platform.native.time_zone | Native platform | NativeTimeZone | Direct reads of the time zone files and settings of a Unix system, for the native zone providers. |
silk.platform.windows.time_zone | Windows platform | WindowsTimeZone | The time zone setting of Windows. |
silk.platform.windows.time_zone | Windows platform | WindowsTimeZone | The time zone setting of Windows. |
silk.system.host_path | HostPath | Resolves host filesystem paths through symbolic links without changing the working directory. | |
silk.system.sandbox | Sandbox | Constructs operating-system sandbox requests for declared tool inputs and outputs. | |
silk.system.executable | Executable | Resolves a program name against the process search path without starting it. | |
silk.system.file_lock | FileLock | Exclusive advisory file locks released automatically with their owning handle. | |
silk.system.file_lock | FileLock | Exclusive advisory file locks released automatically with their owning handle. | |
silk.build.manifest | Manifest | Package identities, fetch pins, and publication settings read from `silk.toml`. | |
silk.build.plan | Plan | Pure package requirements built with the same standard actions and deferred paths as tasks. | |
silk.build.request | Core | Request | Complete compilation inputs for the compiler and development tools. |
silk.build.source | Core | Source | Files of the package read while it compiles: shaders, tables and other data the program keeps as part of its code. |
silk.cli.command | Command line | Command | Static descriptions of a command line: the command, its options, its positional arguments, and its subcommands. |
silk.cli.completion | Command line | Completion | Shell completion scripts for a command, written during compilation from its description. |
silk.cli.parse | Command line | Cli | Parse a command line into a struct, and write the help text of a command. |
silk.cli.progress | Command line | Progress | Progress of long work on standard error: a live line redrawn in place on a terminal, and one plain line for each finished step elsewhere. |
silk.cli.task | Command line | Task | Commands implemented by a project's tasks.silk program. |
silk.cli.value | Command line | ArgValue | How a struct field reads its value from the command line. |
silk.collections.bytes | Collections | Bytes | Owned byte buffers for file contents, process output, and other data with no fixed encoding. |
silk.collections.column_list | Collections | ColumnList | Growable lists that store each field of a struct in its own column. |
silk.collections.hash | Collections | HashKey | Deterministic seeded hashing for hash maps, hash sets, and key types that users define. |
silk.collections.hash_map | Collections | HashMap | Hash maps that own their keys and values, with deterministic seeded hashing. |
silk.collections.hash_set | Collections | HashSet | Hash sets that own their elements, with deterministic seeded hashing. |
silk.collections.id | Collections | Id | Typed 32-bit row numbers. |
silk.collections.list | Collections | List | Growable lists that own their elements, with stable sorting and binary search. |
silk.collections.slice | Collections | Slice | Borrowed subranges and byte views of slices, with no copy and no allocation. |
silk.color.color | Color | Color | Colors in the CSS Color 4 color spaces, with conversion, gamut mapping, mixing, adjustment, and contrast measurement. |
silk.color.rgba | Color | Rgba | Red, green, blue, and alpha channels with straight or premultiplied alpha, over any number type. |
silk.color.srgb | Color | srgb | The sRGB transfer function: conversion between gamma-encoded sRGB channels and linear light. |
silk.compress.brotli | Data formats | Brotli | Decompress Brotli data (RFC 7932) in steps, with fixed memory and limits that you set. |
silk.compress.brotli_encode | Data formats | BrotliEncoder | Compress bytes as Brotli streams (RFC 7932), in steps or all at once, with qualities 0 to 11. |
silk.compress.brotli_tables | Data formats | Not applicable | The static dictionary, word transforms, and literal context lookup table of Brotli (RFC 7932). |
silk.compress.checksum | Data formats | CompressionChecksum | CRC-32, Adler-32, and CRC-64 checksums used by gzip, zlib, ZIP, and XZ containers. |
silk.compress.deflate | Data formats | Encoder | Compress bytes as raw DEFLATE, zlib, or gzip, in steps or all at once, with zlib's levels, strategies, and flush modes. |
silk.compress.inflate | Data formats | Decoder | Decompress raw DEFLATE, zlib, and gzip data in steps, with fixed memory and limits that you set. |
silk.compress.limits | Data formats | compression | Resource limits and failures for complete-buffer compression codecs. |
silk.compress.lzma | Data formats | Lzma | Decode complete LZMA-alone streams into caller-owned byte buffers. |
silk.compress.lzma2 | Data formats | Lzma2 | Decode complete raw LZMA2 streams into caller-owned byte buffers. |
silk.compress.lzma2_decode | Data formats | Lzma2Stream | LZMA2 chunk framing shared by raw LZMA2 and XZ decoders. |
silk.compress.lzma_decode | Data formats | LzmaState | Shared LZMA range decoder and probability models for LZMA, LZMA2, and XZ. |
silk.compress.tar | Data formats | TarReader | Read and write tar archives as streams, one block of bytes at a time. |
silk.compress.xz | Data formats | Xz | Decode XZ containers and verify their blocks, index, and footer. |
silk.compress.zip | Data formats | ZipReader | Read the files and directories of a ZIP archive held in memory, and write one. |
silk.compress.zstd | Data formats | Zstd | Decompress Zstandard data (RFC 8878) in steps, with fixed memory and limits that you set. |
silk.compress.zstd_block | Data formats | BlockState | Internal bounded zstd compressed-block decoding with retained entropy tables. |
silk.compress.zstd_checksum | Data formats | Xxh64 | Incremental seed-zero XXH64 state for zstd frame checksums. |
silk.compress.zstd_encode | Data formats | ZstdEncoder | Compress bytes as Zstandard frames (RFC 8878), in steps or all at once, with levels 1 to 22. |
silk.concurrency.ambient_table | AmbientTable | Storage shared by lexical providers and captured executions. | |
silk.concurrency.atomic | Concurrency | Atomic | Atomic memory operations on raw pointers, with explicit memory orderings. |
silk.concurrency.channel | Concurrency | Channel | Bounded channels that pass values between fibers on one thread. |
silk.concurrency.execution | Concurrency | Execution | Lazy computations with their own storage, which an owner drives and resumes. |
silk.concurrency.execution_storage | Concurrency | ExecutionStorage | Storage for the private execution frames that the compiler makes. |
silk.concurrency.execution_storage | Concurrency | ExecutionStorage | Storage for the private execution frames that the compiler makes. |
silk.concurrency.fiber | Concurrency | Fiber | Fibers: handles to child tasks, with typed outcomes and one observer each. |
silk.concurrency.local_scheduler | Concurrency | LocalScheduler | A deterministic, single-threaded scheduler for structured Fibers. |
silk.concurrency.scheduler | Concurrency | Scheduler | The provider protocol that prepares child Fibers and publishes them atomically. |
silk.concurrency.sync | Concurrency | Arc | Shared ownership, locks, condition variables and thread parking for values that several native threads use. |
silk.concurrency.thread | Concurrency | Transferable | The normal names of the sealed thread properties `Transferable` and `Concurrent`. |
silk.concurrency.thread_native | Concurrency | NativeThread | Operating-system threads that each run one `Transferable` closure and return its result. |
silk.concurrency.thread_pool | Concurrency | ThreadPool | A work-stealing pool of native threads that runs fibers in parallel. |
silk.concurrency.work_queue | Concurrency | WorkDeque | Queues that move owned values between native threads, for work-stealing schedulers. |
silk.core.bool | Core | bool | Named functions for Boolean equality and negation. |
silk.core.compilation | Core | Compilation | Build choices of the current compilation, such as safety, threading, and artifact kind, for use in static evaluation. |
silk.core.effect | Core | Effect | Combinators for lazy effect values: transform success, recover typed failures, supply services, and run cleanup. |
silk.core.equal | Core | Equal | The interface that gives user types the `==` and `!=` operators. |
silk.core.ops | Core | Add | The interfaces that give user types the arithmetic, bitwise, and logical operators. |
silk.core.hint | Core | hint | Facts and branch weights that guide the optimizer without changing what a program computes. |
silk.core.option | Core | Option | Optional owned values that are present or absent, with no explanation for the absence. |
silk.core.order | Core | Order | The interface that gives user types the `<`, `<=`, `>`, and `>=` operators. |
silk.core.ownership | Core | Copy | The ordinary names for the sealed ownership properties `Copy` and `Drop`. |
silk.core.reflect | Core | Reflect | Compile-time descriptions of the fields of a struct or tuple type, for generic code that visits each field. |
silk.core.result | Core | Result | Completed outcomes that hold a success value or a failure value as ordinary data. |
silk.core.schedule | Core | Schedule | Schedules: policies that say when to run an effect again, and when to stop. |
silk.core.static_map | Core | StaticMap | Maps from text keys to values that exist only during static evaluation. |
silk.core.static_sequence | Core | StaticSequence | Immutable lists of values that exist only during static evaluation. |
silk.core.static_text | Core | StaticText | Operations on string literals during static evaluation: length, byte access, concatenation, and slices. |
silk.core.target | Core | Target | Facts about the target machine of the current compilation: architecture, operating system, ABI, and pointer width. |
silk.crypto.aes | Cryptography | Aes | Encrypt data with the AES block cipher (FIPS 197) in ECB, CBC, CTR, CFB, or OFB mode (NIST SP 800-38A). |
silk.crypto.aes_ccm | Cryptography | AesCcm | Encrypt and authenticate data with AES-CCM (NIST SP 800-38C, RFC 3610). |
silk.crypto.aes_gcm | Cryptography | AesGcm | Encrypt and authenticate data with AES-128-GCM, AES-192-GCM, or AES-256-GCM (NIST SP 800-38D). |
silk.crypto.aes_ocb | Cryptography | AesOcbEncryptor | Encrypt and authenticate data with AES-OCB3 (RFC 7253), for a message in parts. |
silk.crypto.aes_round | Cryptography | aes | The steps of an AES round on one 16-byte state, computed with portable code: SubBytes, ShiftRows and MixColumns, and their inverses. |
silk.crypto.aes_wrap | Cryptography | AesKeyWrap | Wrap keys with the AES key wrap algorithms of RFC 3394 and RFC 5649 (NIST SP 800-38F KW, KWP). |
silk.crypto.aes_xts | Cryptography | AesXts | Encrypt storage sectors with AES-XTS (IEEE 1619, NIST SP 800-38E). |
silk.crypto.aria | Cryptography | Aria | Encrypt with the ARIA block cipher (RFC 5794, KS X 1213). |
silk.crypto.blake2b | Cryptography | Blake2b512 | Portable BLAKE2b states for the unkeyed 64-byte and 32-byte cryptographic digests of RFC 7693. |
silk.crypto.blake2s | Cryptography | Blake2s256 | Portable BLAKE2s-256 state for the unkeyed 32-byte cryptographic digest of RFC 7693. |
silk.crypto.block_cipher | Cryptography | BlockCipher | Run any block cipher in the standard modes: ECB, CBC, CTR, CFB, CFB-8, CFB-1, and OFB. |
silk.crypto.camellia | Cryptography | Camellia | Encrypt with the Camellia block cipher (RFC 3713, ISO/IEC 18033-3). |
silk.crypto.chacha20_poly1305 | Cryptography | ChaCha20Poly1305 | Encrypt and authenticate data with ChaCha20-Poly1305, and encrypt with raw ChaCha20 (RFC 8439). |
silk.crypto.digest | Cryptography | Digest | The interface of every streaming hash in `silk.crypto`, so generic code such as HMAC and PBKDF2 can take the hash as a type argument. |
silk.crypto.des | Cryptography | TripleDes | Encrypt with Triple DES (TDEA, NIST SP 800-67), the `des-ede3` and `des-ede` ciphers. |
silk.crypto.des_wrap | Cryptography | TripleDesKeyWrap | Wrap keys with the Triple DES key wrap of RFC 3217 (CMS `id-alg-CMS3DESwrap`). |
silk.crypto.curve448 | Cryptography | X448 | Agree on a shared secret with X448 (RFC 7748), and sign with Ed448 (RFC 8032), on the Goldilocks curve, Curve448. |
silk.crypto.dh | Cryptography | DhPrivateKey | Finite-field Diffie-Hellman key agreement (DH) over a prime modulus. |
silk.crypto.dsa | Cryptography | DsaPrivateKey | DSA keys and signatures (FIPS 186-4): parameter and key generation, signing, verification, and the DER forms that OpenSSL and Node.js use. |
silk.crypto.ec | Cryptography | EcPrivateKey | Elliptic-curve keys, ECDSA, and ECDH on every named curve over a prime field that OpenSSL and Node.js list, such as `brainpoolP256r1`, `secp256k1`, `secp224r1`, and `SM2`. |
silk.crypto.ec_key | Cryptography | EcKeyDer | Read and write elliptic-curve keys in DER: SEC1 private keys, PKCS #8 private keys, and SubjectPublicKeyInfo public keys, for the named curves of [`EcCurve`]. |
silk.crypto.ed25519 | Cryptography | Ed25519PublicKey | Ed25519 signatures with 32-byte keys and 64-byte signatures (RFC 8032). |
silk.crypto.hkdf | Cryptography | HkdfSha256 | Derive keys with HKDF (RFC 5869) over any hash of `silk.crypto`. |
silk.crypto.hmac | Cryptography | HmacSha256 | Compute HMAC tags (RFC 2104) with any hash of `silk.crypto`. |
silk.crypto.legacy_pem | Cryptography | LegacyPem | Encrypt and decrypt PEM keys with the legacy OpenSSL scheme of the `Proc-Type` and `DEK-Info` headers (RFC 1421 framing). |
silk.crypto.md5 | Cryptography | Md5 | Compute MD5 digests for legacy formats, including UUID version 3. |
silk.crypto.md5_sha1 | Cryptography | Md5Sha1 | Compute the 36-byte MD5-SHA1 digest that TLS 1.0 and 1.1 use: MD5 followed by SHA-1. |
silk.crypto.minisign | Cryptography | Minisign | Sign and verify files with minisign, the Ed25519 signature format Silk releases use. |
silk.crypto.ml_dsa | Cryptography | MlDsa | Sign and verify with ML-DSA (FIPS 204), the module-lattice signature scheme, at the levels ML-DSA-44, ML-DSA-65, and ML-DSA-87. |
silk.crypto.ml_kem | Cryptography | MlKem | Agree on a shared secret with ML-KEM (FIPS 203), the module-lattice key encapsulation mechanism, at the levels ML-KEM-512, ML-KEM-768, and ML-KEM-1024. |
silk.crypto.ml_key | Cryptography | MlKeyDer | Read and write ML-KEM and ML-DSA keys in DER: PKCS #8 private keys and SubjectPublicKeyInfo public keys, in the IETF LAMPS profiles for X.509 (draft-ietf-lamps-dilithium-certificates and draft-ietf-lamps-kyber-certificates). |
silk.crypto.modular | Cryptography | Modulus | Constant-time arithmetic on unsigned integers of up to 8192 bits, and modulo an odd number. |
silk.crypto.okp_key | Cryptography | OkpKeyDer | Read and write X25519, X448, Ed25519, and Ed448 keys in DER: PKCS #8 private keys and SubjectPublicKeyInfo public keys, as RFC 8410 defines them. |
silk.crypto.p256 | Cryptography | P256 | Key agreement (ECDH) and ECDSA signatures on the NIST P-256 curve (secp256r1). |
silk.crypto.p384 | Cryptography | P384 | Key agreement (ECDH) and ECDSA signatures on the NIST P-384 curve (secp384r1). |
silk.crypto.p521 | Cryptography | P521 | Key agreement (ECDH) and ECDSA signatures on the NIST P-521 curve (secp521r1). |
silk.crypto.pbkdf2 | Cryptography | Pbkdf2 | Derive keys from passwords with PBKDF2 (RFC 8018 section 5.2) over HMAC with any hash. |
silk.crypto.pkcs8 | Cryptography | EncryptedPkcs8 | Encrypt and decrypt private keys in the PKCS #8 `EncryptedPrivateKeyInfo` format with PBES2 (RFC 8018, RFC 5958). |
silk.crypto.prime | Cryptography | Prime | Test numbers for primality and generate random primes, including safe primes. |
silk.crypto.ripemd160 | Cryptography | Ripemd160 | Compute RIPEMD-160 digests for formats that name them, such as Bitcoin addresses. |
silk.crypto.rsa | Cryptography | RsaPublicKey | RSA keys, signatures, and encryption: PKCS #1 v1.5 and PSS signatures, OAEP and PKCS #1 v1.5 encryption, and key generation (RFC 8017). |
silk.crypto.scrypt | Cryptography | Scrypt | Derive keys from passwords with scrypt (RFC 7914), a memory-hard function. |
silk.crypto.secp256k1 | Cryptography | Secp256k1 | Key agreement (ECDH) and ECDSA signatures on the curve secp256k1 of SEC 2. |
silk.crypto.sha1 | Cryptography | Sha1 | Compute SHA-1 digests (20 bytes) for old protocols and file formats. |
silk.crypto.sha2 | Cryptography | Sha256 | Compute SHA-2 digests: SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256. |
silk.crypto.sha3 | Cryptography | Sha3_256 | Compute SHA-3 digests (SHA3-224, SHA3-256, SHA3-384, SHA3-512) and the SHAKE128 and SHAKE256 extendable-output functions (FIPS 202). |
silk.crypto.sm3 | Cryptography | Sm3 | Compute SM3 digests (GB/T 32905-2016), the hash of the Chinese commercial cryptography suite. |
silk.crypto.sm4 | Cryptography | Sm4 | Encrypt with the SM4 block cipher (GB/T 32907-2016, ISO/IEC 18033-3). |
silk.crypto.x25519 | Cryptography | X25519 | Agree on a shared secret with X25519 (RFC 7748) Diffie-Hellman. |
silk.encoding.base64 | Data formats | Base64 | Encode and decode standard Base64 (RFC 4648, with padding) into byte slices that you supply. |
silk.encoding.endian | Encoding | endian | Read and write 16-, 32- and 64-bit integers as little-endian or big-endian bytes in a slice. |
silk.encoding.pem | Encoding | Pem | Read and write PEM, the Base64 text armor for keys and certificates (RFC 7468). |
silk.encoding.uuid | Data formats | Uuid | UUID values and constructors for versions 1 through 8, with RFC 9562 byte order. |
silk.geometry.affine | Geometry | Affine2 | Two-dimensional affine transforms: scale, rotation, skew, and translation in one matrix. |
silk.geometry.corners | Geometry | Corners | A value for each of the four corners of a box, over any number type. |
silk.geometry.insets | Geometry | Insets | Distances inward from the four edges of a box, over any number type. |
silk.geometry.matrix | Geometry | Matrix3 | Square 3x3 and 4x4 matrices for projective and three-dimensional transforms. |
silk.geometry.point | Geometry | Point2 | Two- and three-dimensional positions over any number type. |
silk.geometry.rect | Geometry | Rect | Axis-aligned rectangles stored as their minimum and maximum corners, over any number type. |
silk.geometry.rounded_rect | Geometry | RoundedRect | Axis-aligned rectangles with a circular radius at each corner, over any number type. |
silk.geometry.size | Geometry | Size2 | Two-dimensional extents over any number type. |
silk.geometry.vector | Geometry | Vector2 | Two- and three-dimensional displacements over any number type. |
silk.git.local | Version control | LocalRefs | Read the references of a local Git repository from its `.git` directory: `HEAD`, the loose references under `refs/`, and `packed-refs`. |
silk.git.pkt_line | Version control | PktLine | Read and write pkt-lines, the length-prefixed framing of the Git wire protocol. |
silk.git.refs | Version control | RefList | Git object ids, references, and the lists of references that a remote or a local repository has. |
silk.git.remote | Version control | GitRemote | List the branches, tags, and other references of a remote Git repository over HTTP or HTTPS, like `git ls-remote`. |
silk.http.basic | HTTP | HttpBasic | Make the value of an `Authorization: Basic` header from a username and a password. |
silk.http.body | HTTP | Decoder | Read and write the body of an HTTP/1 message: fixed length, chunked, or until the connection closes. |
silk.http.client | HTTP | HttpClient | A simple HTTP client: send a request, and get the whole response in memory. |
silk.http.client_native | HTTP | HttpClientNative | The native provider for the `Http` service of [`silk.http.client`]. |
silk.http.client_native | HTTP | HttpClientNative | The native provider for the `Http` service of [`silk.http.client`]. |
silk.http.client_wasi | HTTP | WasiHttp | The WASI Preview 2 provider for the portable `Http` service. |
silk.http.client_wasi | HTTP | WasiHttp | The WASI Preview 2 provider for the portable `Http` service. |
silk.http.connection_pool | HTTP | Pool | A bounded pool of HTTP/1 connections, for reuse across requests to the same origin. |
silk.http.connection_pool_native | HTTP | PoolNative | Connection pools that open native TCP, HTTPS, and Unix socket connections. |
silk.http.content | HTTP | ContentReader | Decode the content of an HTTP response: gzip, deflate, and Zstandard, as named in `Content-Encoding`. |
silk.http.exchange | HTTP | Exchange | Run HTTP/1 requests over a connection step by step: send the head, stream the body, and read the response. |
silk.http.exchange_native | HTTP | HttpExchangeNative | Native TCP, Unix socket, and TLS connections for HTTP clients. |
silk.http.fetch | HTTP | Fetch | Send one HTTP request, follow redirects, decode the content, and deliver the body to a destination that you choose. |
silk.http.fetch_native | HTTP | FetchNative | The native [`Context`] for `silk.http.fetch`: it connects over sockets and TLS, with a proxy policy and an optional connection pool. |
silk.http.fetch_native | HTTP | FetchNative | The native [`Context`] for `silk.http.fetch`: it connects over sockets and TLS, with a proxy policy and an optional connection pool. |
silk.http.head | HTTP | RequestParser | Parse and write the head of an HTTP/1.0 or HTTP/1.1 message: the start line and the header fields. |
silk.http.headers | HTTP | Headers | An ordered list of HTTP header fields, with lookup by name, copies, and formatting. |
silk.http.hpack | HTTP | Decoder | HTTP/2 field compression as defined by RFC 7541. |
silk.http.hpack_tables | HTTP | Not applicable | RFC 7541 Appendix A static fields and Appendix B Huffman decoding trie. |
silk.http.http2 | HTTP | Connection | A transport-independent HTTP/2 connection for clients and servers (RFC 9113). |
silk.http.http2_connection | HTTP | Driver | HTTP/2 over the existing plain or TLS `HttpTransport` service. |
silk.http.http2_frame | HTTP | FrameHeader | HTTP/2 wire frame headers, error codes, and frame serialization from RFC 9113. |
silk.http.http2_headers | HTTP | Message | HTTP/2 field validation for requests, responses, and trailers under RFC 9113 section 8. |
silk.http.message | HTTP | Version | HTTP/1.0 and HTTP/1.1 values: versions, methods, statuses, header fields, and message heads. |
silk.http.origin | HTTP | Origin | The origin of an HTTP request: the scheme, host, and port that a connection goes to. |
silk.http.proxy | HTTP | ProxyConfig | Proxy settings for HTTP clients, and the choice of a route for each origin. |
silk.http.redirect | HTTP | Redirect | Follow HTTP redirects with a [`Policy`]: which statuses to follow, how the method and the body change, which origins are allowed, and which headers are kept. |
silk.http.request | HTTP | HttpRequest | Check and write the head of an HTTP request before it is sent. |
silk.http.serve | HTTP | Server | A fast HTTP/1.1 and HTTP/2 server: write one handler function, and serve it on every core. |
silk.http.server | HTTP | Connection | The server side of one HTTP/1.0 or HTTP/1.1 connection, with streaming bodies and fixed limits. |
silk.http.server_native | HTTP | HttpServerNative | Accepts native socket connections and serves each one with `silk.http.server`. |
silk.http.server_native | HTTP | HttpServerNative | Accepts native socket connections and serves each one with `silk.http.server`. |
silk.http.server_wasi | HTTP | WasiHttpServer | HTTP requests delivered to a WASI Preview 2 component. |
silk.http.server_wasi | HTTP | WasiHttpServer | HTTP requests delivered to a WASI Preview 2 component. |
silk.http.target | HTTP | RequestTarget | The target of an HTTP request, the authority in it, and the `Host` field. |
silk.http.transport | HTTP | HttpTransport | The byte transport under an HTTP connection: plain bytes or TLS. |
silk.http.websocket | HTTP | WebSocketCodec | WebSocket frames (RFC 6455) for clients and servers, without I/O. |
silk.http.websocket_client | HTTP | WebSocketClient | The client side of the WebSocket opening handshake (RFC 6455, version 13). |
silk.http.websocket_native | HTTP | WebSocketNative | Native WebSocket clients and split sessions over TCP and TLS. |
silk.http.websocket_stream | HTTP | WebSocket | WebSocket sessions over a byte duplex, for clients and servers, with a split form for fibers. |
silk.http.websocket_upgrade | HTTP | WebSocketUpgrade | The server side of the WebSocket opening handshake (RFC 6455, version 13). |
silk.io.buffered_duplex | Input and output | BufferedDuplex | A buffered session that reads and writes one `ByteDuplex` transport inside a callback. |
silk.io.buffered_input | Input and output | BufferedInput | A fixed-size input buffer for parsers that must look at bytes before they use them. |
silk.io.buffered_output | Input and output | BufferedOutput | A fixed-size output buffer that collects small writes and sends them as larger writes. |
silk.io.buffered_transfer | Input and output | BufferedTransfer | Copy bytes from one buffered session to another, and consume only what the destination accepts. |
silk.io.byte_duplex | Input and output | ByteDuplex | The `ByteDuplex` effect: a two-way byte stream, such as a TCP connection, with partial reads and writes and deadlines. |
silk.io.logger | Input and output | Logger | Libraries log through the ambient [`Logger`]. A plain function can run `Effect.logWarning` without adding a requirement or failure to its signature. Programs choose where observations go. [`WarningsToStderr`] emits warnings and errors when the program uses the default. |
silk.io.logger_console | Input and output | ConsoleLogger | A `Logger` provider for browser and JavaScript hosts: [`ConsoleLogger`] hands each message to the host's console. |
silk.io.logger_console | Input and output | ConsoleLogger | A `Logger` provider for browser and JavaScript hosts: [`ConsoleLogger`] hands each message to the host's console. |
silk.io.logger_native | Input and output | StdoutLogger | Native providers of the `Logger` effect: [`StderrLogger`] writes log lines to standard error, and [`StdoutLogger`] writes the bare messages to standard output. |
silk.io.logger_native | Input and output | StdoutLogger | Native providers of the `Logger` effect: [`StderrLogger`] writes log lines to standard error, and [`StdoutLogger`] writes the bare messages to standard output. |
silk.io.logger_wasi | Input and output | WasiLogger | A `Logger` provider for Preview 2 components whose host offers `wasi:logging`: [`WasiLogger`] passes each message to `wasi:logging/logging.log`. |
silk.io.logger_wasi | Input and output | WasiLogger | A `Logger` provider for Preview 2 components whose host offers `wasi:logging`: [`WasiLogger`] passes each message to `wasi:logging/logging.log`. |
silk.io.memory_byte_duplex | Input and output | MemoryByteDuplex | A scripted `ByteDuplex` transport in memory, for tests of protocol code. |
silk.io.reactor | Input and output | Reactor | Wait for many native descriptors at once: one blocking call reports which ones are readable or writable, and another thread can wake the wait. |
silk.io.reactor | Input and output | Reactor | Wait for many native descriptors at once: one blocking call reports which ones are readable or writable, and another thread can wake the wait. |
silk.io.standard_input | Input and output | StandardInput | The `StandardInput` effect: read raw bytes from standard input. |
silk.io.standard_input_native | Input and output | OsStandardInput | The native provider of the `StandardInput` effect: it reads the standard input of the process. |
silk.io.standard_input_native | Input and output | OsStandardInput | The native provider of the `StandardInput` effect: it reads the standard input of the process. |
silk.io.writer | Input and output | Writer | The `Writer` effect: write bytes without knowing where they go. |
silk.io.writer_native | Input and output | StdoutWriter | Native `Writer` providers for standard output and standard error, and a lock for whole messages on standard error. |
silk.io.writer_native | Input and output | StdoutWriter | Native `Writer` providers for standard output and standard error, and a lock for whole messages on standard error. |
silk.json.array | Data formats | JsonArray | Write a JSON array to the `Writer`. |
silk.json.codec | Data formats | JsonCodec | The interfaces that let a type be written to JSON and read from JSON. |
silk.json.object | Data formats | JsonObject | Write a JSON object, one member at a time, to the `Writer`. |
silk.json.output | Data formats | JsonOutput | Low-level JSON output: strings, numbers, and punctuation, and the [`JsonOptions`] for layout. |
silk.json.reader | Data formats | JsonReader | Read JSON tokens from a `BufferedInput`, for documents that do not fit in one slice. |
silk.json.reflect | Data formats | JsonReflect | Write a struct as a JSON object from its fields, without writing each field by hand. |
silk.json.scanner | Data formats | JsonScanner | Read JSON as a sequence of tokens, without building a tree and without allocating. |
silk.json.schema | Data formats | JsonSchema | Compile JSON Schema resources and validate immutable JSON or TOML-derived values. |
silk.json.schema_format | Data formats | SchemaFormat | String format assertions for JSON Schema, without network access. |
silk.json.schema_format_idna | Not applicable | International hostname validation for JSON Schema using Unicode 16.0.0 UTS #46 mapping. | |
silk.json.schema_metas | Data formats | SchemaMetas | Offline official JSON Schema meta-schemas for drafts 4, 6, 7, 2019-09, and 2020-12. |
silk.json.schema_number | Data formats | SchemaNumber | Compare JSON numbers and test divisibility without rounding to binary floating point. |
silk.json.schema_resolver | Data formats | SchemaResolver | Caller-replaceable JSON Schema document resolution during compilation. |
silk.json.schema_value | Data formats | SchemaValue | Convert TOML documents to the existing JSON value tree without rounding numbers. |
silk.json.text | Data formats | JsonText | Decode the text of a JSON string token, including its escapes, into owned bytes. |
silk.json.value | Data formats | Json | Parse JSON into a tree of values, read fields from it, and write it back. |
silk.machine.actor | State machines | Actors | Actors: a machine that performs the effects its transitions queue. |
silk.machine.chart | State machines | Chart | Statecharts written as a static table over union types: [`Chart`] and [`Machine`]. |
silk.machine.child | State machines | Child | Child machines: a machine that a parent starts, sends events to and stops. |
silk.machine.definition | State machines | Definition | The whole chart as data: a `Definition` can be written to JSON and read back, so external tools can show a machine, and a build step can generate Silk source from one. |
silk.machine.explore | State machines | Explorer | Walks a machine through every state it can reach: [`Explorer`] and [`Walk`]. |
silk.machine.generate | State machines | Generate | Silk source from a `Definition`: the transition table of each chart as a static function. |
silk.machine.paths | State machines | Paths | Paths through a chart: how to reach each state, and which states cannot be reached. |
silk.machine.rules | State machines | Rules | Promises a machine keeps on every path, written once with their reason: [`Rules`]. |
silk.machine.simple | State machines | Simple | The short form of a machine that has only states and events. |
silk.machine.snapshot | State machines | Snapshot | The whole state of a running machine as one value, and the steps that advance it: [`Snapshot`] and [`Steps`]. |
silk.machine.store | State machines | Stores | Stores: a context and one function that changes it for each event. |
silk.machine.xstate | State machines | Xstate | A `Definition` written as an xstate machine config, the JSON that xstate v6 reads with `machineFromJSON` and that Stately Studio draws. |
silk.markdown.document | Data formats | MarkdownDocument | A source-spanned Markdown tree with indexed nodes and borrowed source text. |
silk.markdown.entities | entities | ||
silk.markdown.html | Data formats | MarkdownHtml | HTML output for Markdown trees, with escaped raw HTML and filtered destinations by default. |
silk.markdown.text | Data formats | MarkdownText | Visible text, heading slugs, and document outlines for Markdown trees. |
silk.mem.allocator | Memory | Allocator | The `Allocator` service: the source of owned heap storage in the standard library. |
silk.mem.arena | Memory | Arena | A bump allocator over chunks it acquires from another allocator. |
silk.mem.box | Memory | Box | One owned value on the heap, for recursive data and for values that must have a fixed-size handle. |
silk.mem.frozen | Memory | Frozen | Shared ownership of one value that never changes, on one thread, with plain shared borrows. |
silk.mem.interned | Memory | Interned | Handles to values that never change and are never freed, so a handle is a plain pointer. |
silk.mem.layout | Memory | Layout | Byte size and alignment values that describe the memory to request from an allocator. |
silk.mem.metrics | Memory | AllocationMetrics | Allocation counters that an `Allocator` provider can keep and publish. |
silk.mem.output | Memory | Uninitialized | Owned storage for one `Copy` value that a foreign function writes through a pointer. |
silk.mem.pointer | Memory | Pointer | Raw data pointers: make them, check them for null, move along them, and read and write through them. |
silk.mem.prefetch | Memory | Prefetch | Cache prefetch hints: tell the processor that the program will soon use the memory at a pointer. |
silk.mem.raw_buffer | Memory | RawBuffer | Typed raw storage made from an allocation, for code that implements containers. |
silk.mem.shared | Memory | Shared | Shared ownership of one mutable value on one thread, with access through callbacks. |
silk.mem.slot | Memory | Slot | Initialization-state changes for one element slot of raw storage. |
silk.mem.stack | Memory | Stack | The native stack of the running thread: the address of the current frame, and scratch storage that lives on the stack instead of in an allocator. |
silk.mem.va_list | Memory | VaList | The C variadic arguments of an `export "C"` function, read one at a time. |
silk.msgpack.output | Data formats | MsgpackOutput | Write MessagePack values one at a time through the ambient `Writer`. |
silk.msgpack.scanner | Data formats | MsgpackScanner | Read MessagePack data as a sequence of tokens, without building a tree and without allocating. |
silk.msgpack.value | Data formats | Msgpack | Parse MessagePack data into an owned tree of values, read fields from it, and write it back. |
silk.net.address | Networking | NetworkAddress | IP addresses, ports, endpoints, and the host of a URI, as checked values that do not allocate. |
silk.net.datagram_native | Networking | NativeUdpSocket | Nonblocking UDP sockets on the native system: send and receive whole datagrams. |
silk.net.datagram_native | Networking | NativeUdpSocket | Nonblocking UDP sockets on the native system: send and receive whole datagrams. |
silk.net.datagram_wasi | Networking | UdpSocket | Owned UDP sockets and complete datagrams through WASI Preview 2. |
silk.net.datagram_wasi | Networking | UdpSocket | Owned UDP sockets and complete datagrams through WASI Preview 2. |
silk.net.dns.client_native | Networking | NativeDnsClient | Ask DNS servers questions from a native program, with system UDP and TCP sockets. |
silk.net.dns.config | Networking | ResolverConfig | Read the DNS client settings of a system: name servers, search domains and query options. |
silk.net.dns.message | Networking | Message | Read and write DNS messages in the wire format of RFC 1035. |
silk.net.dns.query | Networking | Exchange | Send one DNS question to the servers of a configuration, with retries and TCP fallback, without doing any input or output. |
silk.net.resolver | Networking | Resolver | Turn a host and a port into a list of endpoints to connect to. |
silk.net.resolver_native | Networking | NativeSystemResolver | The native `Resolver` provider using the system's `getaddrinfo`, or `GetAddrInfoW` on Windows. |
silk.net.resolver_wasi | Networking | WasiResolver | DNS resolution through a WASI Preview 2 network capability. |
silk.net.resolver_wasi | Networking | WasiResolver | DNS resolution through a WASI Preview 2 network capability. |
silk.net.socket_native | Networking | NativeSocket | TCP and Unix socket connections and listeners, as `ByteDuplex` providers. |
silk.net.socket_native | Networking | NativeSocket | TCP and Unix socket connections and listeners, as `ByteDuplex` providers. |
silk.net.socket_wasi | Networking | wasi_socket | TCP connections and listeners through WASI Preview 2 network capabilities. |
silk.net.socket_wasi | Networking | wasi_socket | TCP connections and listeners through WASI Preview 2 network capabilities. |
silk.net.tcp_server | Networking | TcpServer | A multi-core TCP server engine: one event loop for each worker thread, and a protocol that turns received bytes into bytes to send. |
silk.net.tcp_server | Networking | TcpServer | A multi-core TCP server engine: one event loop for each worker thread, and a protocol that turns received bytes into bytes to send. |
silk.npm.config | Data formats | NpmConfig | Read npm's configuration the way npm does: the built-in, global, user, and project `.npmrc` files, `npm_config_*` environment variables, and command-line values, with `${VAR}` expansion, scoped registries, and registry credentials. |
silk.npm.ini | Data formats | NpmIni | Parse the ini text of an `.npmrc` file into keys and values, the way npm reads it. |
silk.num.f32 | Numbers | f32 | IEEE binary32 values with deterministic representation, classification, and math operations. |
silk.num.f64 | Numbers | f64 | IEEE binary64 values and Silk's default floating-point arithmetic. |
silk.num.i16 | Numbers | i16 | Sixteen-bit signed integers with explicit overflow, conversion, and text policies. |
silk.num.i32 | Numbers | i32 | Thirty-two-bit signed integers and the default type of context-free integer literals. |
silk.num.i64 | Numbers | i64 | Sixty-four-bit signed integers for large fixed-width values and exact integer protocols. |
silk.num.i8 | Numbers | i8 | Eight-bit signed integers for compact values, byte-level formats, and narrow arithmetic. |
silk.num.isize | Numbers | isize | Pointer-width signed integers for offsets whose range follows the selected compilation target. |
silk.num.numeric | Numbers | Numeric | Generic helpers and numeric contracts for algorithms over primitive numbers. |
silk.num.u16 | Numbers | u16 | Sixteen-bit unsigned integers with explicit arithmetic and conversion failure policies. |
silk.num.u32 | Numbers | u32 | Thirty-two-bit unsigned integers for fixed-width counts, masks, and binary fields. |
silk.num.u64 | Numbers | u64 | Sixty-four-bit unsigned integers for wide masks, counters, hashes, and exact interchange values. |
silk.num.u8 | Numbers | u8 | Eight-bit unsigned integers for bytes, compact counters, and exact binary representations. |
silk.num.usize | Numbers | usize | Pointer-width unsigned integers for lengths, indices, capacities, and allocation sizes. |
silk.platform.linux.mapping | Native platform | Mapping | Anonymous memory mappings from the Linux kernel, for programs that run without libc. |
silk.platform.linux.mapping | Native platform | Mapping | Anonymous memory mappings from the Linux kernel, for programs that run without libc. |
silk.platform.linux.process_inputs | Native platform | ProcessInputs | The arguments, environment and page size of a raw Linux process, read from the initial stack. |
silk.platform.linux.process_inputs | Native platform | ProcessInputs | The arguments, environment and page size of a raw Linux process, read from the initial stack. |
silk.platform.linux.start | Native platform | RawStart | The program entry for a static, non-PIE Linux executable with no libc. |
silk.platform.linux.syscall | Native platform | RawLinux | Direct Linux system calls for programs built with no libc. |
silk.platform.linux.syscall | Native platform | RawLinux | Direct Linux system calls for programs built with no libc. |
silk.platform.native.clock | Native platform | NativeClock | Direct calls to the clocks of the system, for the native clock providers. |
silk.platform.native.descriptor | Native platform | NativeDescriptor | Reads and writes on file descriptors that the caller owns, for native providers. |
silk.platform.native.descriptor | Native platform | NativeDescriptor | Reads and writes on file descriptors that the caller owns, for native providers. |
silk.platform.native.descriptor | Native platform | NativeDescriptor | Reads and writes on file descriptors that the caller owns, for native providers. |
silk.platform.native.diagnostics | Native platform | NativeDiagnostics | The observer of native and wasm programs that reports unhandled errors and traps, with their call path. |
silk.platform.native.diagnostics | Native platform | NativeDiagnostics | The observer of native and wasm programs that reports unhandled errors and traps, with their call path. |
silk.platform.native.file | Native platform | NativeFile | POSIX file and directory operations on host paths and descriptors, for native providers and runtimes that need the full file model of the system. |
silk.platform.native.file | Native platform | NativeFile | POSIX file and directory operations on host paths and descriptors, for native providers and runtimes that need the full file model of the system. |
silk.platform.native.file | Native platform | NativeFile | POSIX file and directory operations on host paths and descriptors, for native providers and runtimes that need the full file model of the system. |
silk.platform.native.filesystem | Native platform | NativeFileSystem | The system calls for files and directories, for the native `FileSystem` provider. |
silk.platform.native.filesystem | Native platform | NativeFileSystem | The system calls for files and directories, for the native `FileSystem` provider. |
silk.platform.native.host_input | Native platform | NativeHostInput | Owned copies of the command-line arguments and the environment of the process. |
silk.platform.native.host_input | Native platform | NativeHostInput | Owned copies of the command-line arguments and the environment of the process. |
silk.platform.native.kqueue | Native platform | KernelEvent | The Darwin kqueue system calls and their C types, shared by the native providers that use them. |
silk.platform.native.kqueue | Native platform | KernelEvent | The Darwin kqueue system calls and their C types, shared by the native providers that use them. |
silk.platform.native.process | Native platform | NativeProcess | Runs a child process with the system calls, for the native `ChildProcess` provider. |
silk.platform.native.process | Native platform | NativeProcess | Runs a child process with the system calls, for the native `ChildProcess` provider. |
silk.platform.native.report | Native platform | NativeReport | Writes the report of an unhandled error or a trap to a descriptor, with fixed limits. |
silk.platform.native.report | Native platform | NativeReport | Writes the report of an unhandled error or a trap to a descriptor, with fixed limits. |
silk.platform.native.start | Native platform | NativeStart | The default start code of a native program: it calls your `main` and returns its status. |
silk.platform.native.start_sync | Native platform | NativeStartSync | A minimal start code for a native program whose `main` is an `i32` effect that requires `&mut HostInput`. |
silk.platform.wasi.canonical | Native platform | Not applicable | The canonical ABI allocator of every `wasm32-wasip2` component. |
silk.platform.wasi.clock | Native platform | WasiClock | WASI wall-clock and monotonic-clock operations. |
silk.platform.wasi.clock | Native platform | WasiClock | WASI wall-clock and monotonic-clock operations. |
silk.platform.wasi.component | Native platform | wasi_component | Memory and polling operations shared by WASI Preview 2 providers. |
silk.platform.wasi.component | Native platform | wasi_component | Memory and polling operations shared by WASI Preview 2 providers. |
silk.platform.wasi.descriptor | Native platform | WasiDescriptor | Descriptor reads and writes through WASI. |
silk.platform.wasi.descriptor | Native platform | WasiDescriptor | Descriptor reads and writes through WASI. |
silk.platform.wasi.filesystem | Native platform | WasiFileSystem | Descriptor-relative file operations within WASI preopened directories. |
silk.platform.wasi.filesystem | Native platform | WasiFileSystem | Descriptor-relative file operations within WASI preopened directories. |
silk.platform.wasi.host_input | Native platform | WasiHostInput | A snapshot of WASI command arguments and environment variables. |
silk.platform.wasi.host_input | Native platform | WasiHostInput | A snapshot of WASI command arguments and environment variables. |
silk.platform.wasi.http | Native platform | wasi_http | Ownership and canonical ABI operations for WASI Preview 2 HTTP providers. |
silk.platform.wasi.http | Native platform | wasi_http | Ownership and canonical ABI operations for WASI Preview 2 HTTP providers. |
silk.platform.wasi.preview1 | Native platform | wasi | The WASI Preview 1 canonical ABI, also used inside Preview 2 command components. |
silk.platform.wasi.preview1 | Native platform | wasi | The WASI Preview 1 canonical ABI, also used inside Preview 2 command components. |
silk.platform.wasi.preview2 | Native platform | wasi_preview2 | Raw imports for the WASI Preview 2 canonical ABI. |
silk.platform.wasi.preview2 | Native platform | wasi_preview2 | Raw imports for the WASI Preview 2 canonical ABI. |
silk.platform.wasi.start | Native platform | wasi_start | The command entry for WASI Preview 1 and Preview 2. |
silk.platform.wasi.stream | Native platform | wasi_stream | Owned Preview 2 input and output streams with partial transfers and deadlines. |
silk.platform.wasi.stream | Native platform | wasi_stream | Owned Preview 2 input and output streams with partial transfers and deadlines. |
silk.platform.wasm.heap | Native platform | Not applicable | The linear-memory heap of every wasm module, and the report buffer of a module without WASI. |
silk.platform.wasm.heap | Native platform | Not applicable | The linear-memory heap of every wasm module, and the report buffer of a module without WASI. |
silk.platform.wasm.host | Native platform | JsHost | Random bytes, clocks, and the time zone setting from a JavaScript host, for the providers of `Random`, `SystemClock`, `MonotonicClock`, and `LocalZone` on `wasm32-unknown-unknown`. |
silk.platform.wasm.host | Native platform | JsHost | Random bytes, clocks, and the time zone setting from a JavaScript host, for the providers of `Random`, `SystemClock`, `MonotonicClock`, and `LocalZone` on `wasm32-unknown-unknown`. |
silk.platform.wasm.thread | Native platform | Not applicable | The wasi-threads records of a multi-threaded wasm32 module. |
silk.platform.wasm.thread | Native platform | Not applicable | The wasi-threads records of a multi-threaded wasm32 module. |
silk.platform.wasm.support | Native platform | Not applicable | The C library of every wasm32 executable: the heap entry points, the byte routines, the 128-bit multiply and shifts, the floating remainder and the fused multiply-add. |
silk.platform.wasm.support | Native platform | Not applicable | The C library of every wasm32 executable: the heap entry points, the byte routines, the 128-bit multiply and shifts, the floating remainder and the fused multiply-add. |
silk.platform.wasm.start | Native platform | WasmStart | The program entry for the standalone LLVM-to-WebAssembly profile. |
silk.platform.windows.clock | Windows platform | WindowsClock | Windows wall and monotonic clocks without a C runtime. |
silk.platform.windows.clock | Windows platform | WindowsClock | Windows wall and monotonic clocks without a C runtime. |
silk.platform.windows.command_line | Windows platform | CommandLine | MSVC command-line encoding and decoding over Windows UTF-16 code units. |
silk.platform.windows.console | Windows platform | WindowsConsole | Windows standard-output and standard-error writes without a C runtime. |
silk.platform.windows.console | Windows platform | WindowsConsole | Windows standard-output and standard-error writes without a C runtime. |
silk.platform.windows.environment | Windows platform | EnvironmentEntry | Delimiter rules for Windows UTF-16 environment entries. |
silk.platform.windows.filesystem | Windows platform | WindowsFileSystem | Handle-relative filesystem operations for the Windows `OsFileSystem` provider. |
silk.platform.windows.filesystem | Windows platform | WindowsFileSystem | Handle-relative filesystem operations for the Windows `OsFileSystem` provider. |
silk.platform.windows.heap | Windows platform | WindowsHeap | Process-heap storage for the Windows runtime and the system allocator. |
silk.platform.windows.heap | Windows platform | WindowsHeap | Process-heap storage for the Windows runtime and the system allocator. |
silk.platform.windows.host_input | Windows platform | WindowsHostInput | Windows `HostInput` with owned arguments and an environment snapshot in raw canonical WTF-8. |
silk.platform.windows.host_input | Windows platform | WindowsHostInput | Windows `HostInput` with owned arguments and an environment snapshot in raw canonical WTF-8. |
silk.platform.windows.host_path | Windows platform | WindowsHostPath | Windows host path discovery for tools. These operations intentionally resolve links in the machine namespace; they do not establish a confined filesystem root. |
silk.platform.windows.host_path | Windows platform | WindowsHostPath | Windows host path discovery for tools. These operations intentionally resolve links in the machine namespace; they do not establish a confined filesystem root. |
silk.platform.windows.input | Windows platform | WindowsInput | Raw-byte reads from the Windows standard-input handle. |
silk.platform.windows.input | Windows platform | WindowsInput | Raw-byte reads from the Windows standard-input handle. |
silk.platform.windows.path | Windows platform | WindowsPath | Windows host paths represented in an explicit machine-wide path namespace. |
silk.platform.windows.process | Windows platform | WindowsProcess | Direct Windows child execution with explicit inherited handles and owned process cleanup. |
silk.platform.windows.process | Windows platform | WindowsProcess | Direct Windows child execution with explicit inherited handles and owned process cleanup. |
silk.platform.windows.process_image | Windows platform | WindowsProcessImage | Interactive Windows process execution: inherit the terminal, environment, and working directory, wait for the image, and return its exact exit status to the shell. |
silk.platform.windows.process_image | Windows platform | WindowsProcessImage | Interactive Windows process execution: inherit the terminal, environment, and working directory, wait for the image, and return its exact exit status to the shell. |
silk.platform.windows.random | Windows platform | WindowsRandom | Secure Windows random bytes without a C runtime. |
silk.platform.windows.random | Windows platform | WindowsRandom | Secure Windows random bytes without a C runtime. |
silk.platform.windows.start | Windows platform | WindowsStart | Synchronous Windows executable entry without a C runtime. |
silk.platform.windows.time | Windows platform | WindowsTime | Exact conversions between Windows clock units and Silk instants and marks. |
silk.platform.windows.winsock | Winsock | Scoped ownership of a Windows Winsock initialization reference. | |
silk.platform.windows.wtf8 | Windows platform | Wtf8 | Lossless conversion between Windows UTF-16 code units and canonical WTF-8 bytes. |
silk.schema.codec | Data formats | Codec | Two-way conversions between a value and its form on the wire, and checks that refine them. |
silk.schema.issue | Data formats | Issue | The problems a schema reports, and where in the value and the input they happened. |
silk.schema.json | Data formats | SchemaJson | Read and write `Schema` types as JSON. |
silk.schema.json_schema | Data formats | JsonSchemas | Describe a `Schema` type as a JSON Schema, for validators, editors, and AI tools. |
silk.schema.msgpack | Data formats | SchemaMsgpack | Read and write `Schema` types as MessagePack. |
silk.schema.path | Data formats | SchemaPath | Where in a value a schema problem is: the steps from the root value to the part that failed. |
silk.schema.report | Data formats | SchemaReport | Show the problems a schema found, as source snippets, one line each, or JSON. |
silk.schema.schema | Data formats | Schema | Read and write your own types in any data format, from the types alone. |
silk.schema.shape | Data formats | Shapes | One description of a `Schema` type's wire form, for everything that needs to know it. |
silk.schema.toml | Data formats | SchemaToml | Read and write schema types as TOML. |
silk.schema.yaml | Data formats | SchemaYaml | Read and write `Schema` types as YAML. |
silk.semver.range | Data formats | VersionRange | Version ranges in the npm and Cargo syntaxes: parse a requirement and test versions against it. |
silk.semver.version | Data formats | Version | Semantic versions: strict SemVer 2.0.0 parsing, precedence, and display. |
silk.simd.aarch64 | SIMD | aarch64 | AArch64 NEON instructions that the portable `silk.simd.simd` operations do not express: table lookups, dot products, pairwise sums, and AES round steps. |
silk.simd.cpu | SIMD | CpuFeatures | Runtime detection of the CPU features that the running machine has, to choose a kernel at run time. |
silk.simd.f32x4 | SIMD | f32x4 | Operations on `simd<f32, 4>`: four 32-bit float lanes in one 128-bit vector. |
silk.simd.f32x8 | SIMD | f32x8 | Operations on `simd<f32, 8>`: eight 32-bit float lanes in one 256-bit vector. |
silk.simd.f64x2 | SIMD | f64x2 | Operations on `simd<f64, 2>`: two 64-bit float lanes in one 128-bit vector. |
silk.simd.f64x4 | SIMD | f64x4 | Operations on `simd<f64, 4>`: four 64-bit float lanes in one 256-bit vector. |
silk.simd.i16x16 | SIMD | i16x16 | Operations on `simd<i16, 16>`: sixteen signed 16-bit integer lanes in one 256-bit vector. |
silk.simd.i16x8 | SIMD | i16x8 | Operations on `simd<i16, 8>`: eight signed 16-bit integer lanes in one 128-bit vector. |
silk.simd.i32x4 | SIMD | i32x4 | Operations on `simd<i32, 4>`: four signed 32-bit integer lanes in one 128-bit vector. |
silk.simd.i32x8 | SIMD | i32x8 | Operations on `simd<i32, 8>`: eight signed 32-bit integer lanes in one 256-bit vector. |
silk.simd.i64x2 | SIMD | i64x2 | Operations on `simd<i64, 2>`: two signed 64-bit integer lanes in one 128-bit vector. |
silk.simd.i64x4 | SIMD | i64x4 | Operations on `simd<i64, 4>`: four signed 64-bit integer lanes in one 256-bit vector. |
silk.simd.i8x16 | SIMD | i8x16 | Operations on `simd<i8, 16>`: sixteen signed 8-bit integer lanes in one 128-bit vector. |
silk.simd.i8x32 | SIMD | i8x32 | Operations on `simd<i8, 32>`: thirty-two signed 8-bit integer lanes in one 256-bit vector. |
silk.simd.mask16 | SIMD | mask16 | Operations on `mask<16>`: sixteen lanes that are each set or clear. |
silk.simd.mask2 | SIMD | mask2 | Operations on `mask<2>`: two lanes that are each set or clear. |
silk.simd.mask32 | SIMD | mask32 | Operations on `mask<32>`: thirty-two lanes that are each set or clear. |
silk.simd.mask4 | SIMD | mask4 | Operations on `mask<4>`: four lanes that are each set or clear. |
silk.simd.mask8 | SIMD | mask8 | Operations on `mask<8>`: eight lanes that are each set or clear. |
silk.simd.simd | SIMD | simd | Facts about SIMD vectors on the target CPU of the current compilation. |
silk.simd.u16x16 | SIMD | u16x16 | Operations on `simd<u16, 16>`: sixteen unsigned 16-bit integer lanes in one 256-bit vector. |
silk.simd.u16x8 | SIMD | u16x8 | Operations on `simd<u16, 8>`: eight unsigned 16-bit integer lanes in one 128-bit vector. |
silk.simd.u32x4 | SIMD | u32x4 | Operations on `simd<u32, 4>`: four unsigned 32-bit integer lanes in one 128-bit vector. |
silk.simd.u32x8 | SIMD | u32x8 | Operations on `simd<u32, 8>`: eight unsigned 32-bit integer lanes in one 256-bit vector. |
silk.simd.u64x2 | SIMD | u64x2 | Operations on `simd<u64, 2>`: two unsigned 64-bit integer lanes in one 128-bit vector. |
silk.simd.u64x4 | SIMD | u64x4 | Operations on `simd<u64, 4>`: four unsigned 64-bit integer lanes in one 256-bit vector. |
silk.simd.u8x16 | SIMD | u8x16 | Operations on `simd<u8, 16>`: sixteen unsigned 8-bit integer lanes in one 128-bit vector. |
silk.simd.u8x32 | SIMD | u8x32 | Operations on `simd<u8, 32>`: thirty-two unsigned 8-bit integer lanes in one 256-bit vector. |
silk.simd.wasm | SIMD | wasm | WebAssembly SIMD instructions that the portable `silk.simd.simd` operations do not express: byte swizzles, dot products, and saturating narrows. |
silk.simd.x86 | SIMD | x86 | x86-64 SIMD instructions that the portable `silk.simd.simd` operations do not express: byte table lookups, multiply-add steps, saturating packs, sums of absolute differences, AES rounds and carry-less multiplication. |
silk.support.bcmp | Compiler support | Not applicable | Word-wise compiler support with explicit C linkage and no runtime services. |
silk.support.bzero | Compiler support | Not applicable | Source-owned word-wise clearing for the Darwin LLVM zero-fill helper. |
silk.support.memcmp | Compiler support | Not applicable | Word-wise compiler support with explicit C linkage and no runtime services. |
silk.support.memcpy | Compiler support | Not applicable | Word-wise compiler support with explicit C linkage and no runtime services. |
silk.support.memmove | Compiler support | Not applicable | Word-wise compiler support with explicit C linkage and no runtime services. |
silk.support.memset | Compiler support | Not applicable | Word-wise compiler support with explicit C linkage and no runtime services. |
silk.system.child_process | System | ChildProcess | Run another program, wait for it to end, and get its exit code and all of its output. |
silk.system.child_process_native | System | OsChildProcess | The native provider of the `ChildProcess` effect: it runs real programs. |
silk.system.child_process_native | System | OsChildProcess | The native provider of the `ChildProcess` effect: it runs real programs. |
silk.system.child_process_native | System | OsChildProcess | The native provider of the `ChildProcess` effect: it runs real programs. |
silk.system.filesystem | System | FileSystem | Files and directories through the `FileSystem` effect: paths, whole-file reads and writes, atomic writes, directory listings, and temporary directories. |
silk.system.filesystem_machine | System | MachineFileSystem | A filesystem provider for absolute paths in the host machine namespace. |
silk.system.filesystem_machine | System | MachineFileSystem | A filesystem provider for absolute paths in the host machine namespace. |
silk.system.filesystem_native | System | OsFileSystem | The native provider of the `FileSystem` effect, confined to one directory of the host. |
silk.system.filesystem_native | System | OsFileSystem | The native provider of the `FileSystem` effect, confined to one directory of the host. |
silk.system.glob_scan | System | glob_scan | Find the files and directories that a glob pattern matches, by walking directories through the `FileSystem` effect. |
silk.system.host_input | System | HostInput | The `HostInput` effect: the command-line arguments, environment variables, and working directory of the process, as bytes. |
silk.system.host_input_native | System | OsHostInput | The native provider of the `HostInput` effect: command-line arguments, environment, and the working directory. |
silk.system.host_input_native | System | OsHostInput | The native provider of the `HostInput` effect: command-line arguments, environment, and the working directory. |
silk.system.insecure_random | System | InsecureRandom | The `InsecureRandom` effect: a fast pseudorandom sequence that repeats for the same seed. |
silk.system.insecure_seed | System | InsecureSeed | The `InsecureSeed` effect: one fixed 128-bit value that a program reads when it starts. |
silk.system.monotonic_clock | System | MonotonicClock | The `MonotonicClock` effect: time that never goes back, for durations, timeouts, and waits. |
silk.system.monotonic_clock_native | System | OsMonotonicClock | The system provider of the `MonotonicClock` effect: a clock that never goes back. |
silk.system.random | System | Random | The `Random` effect: random bytes that are safe for secrets. |
silk.system.random_native | System | OsRandom | The system provider of the `Random` effect: secure random bytes from the operating system or the JavaScript host. |
silk.system.signal_watch | System | SignalWatch | Receive process signals, such as an interrupt or a terminal resize, through a descriptor that an event loop can watch. |
silk.system.signal_watch | System | SignalWatch | Receive process signals, such as an interrupt or a terminal resize, through a descriptor that an event loop can watch. |
silk.system.subprocess | System | Subprocess | Start a child process whose standard streams stay open while it runs, send it signals, and learn when it ends through a descriptor that an event loop can watch. |
silk.system.subprocess | System | Subprocess | Start a child process whose standard streams stay open while it runs, send it signals, and learn when it ends through a descriptor that an event loop can watch. |
silk.system.system_clock | System | SystemClock | The `SystemClock` effect: the current date and time. |
silk.system.system_clock_native | System | OsSystemClock | The system provider of the `SystemClock` effect: the time of day, as seconds since 1970. |
silk.system.system_clock_native | System | OsSystemClock | The system provider of the `SystemClock` effect: the time of day, as seconds since 1970. |
silk.system.system_info | System | SystemInfo | The `SystemInfo` effect: facts about the computer and the running process that the operating system reports, such as the host name, the memory, the processors, the network interfaces, the current user, and the resource usage of the process. |
silk.system.system_info_native | System | OsSystemInfo | The native provider of the `SystemInfo` effect: facts about the computer and the process from the C library and the kernel. |
silk.system.system_info_native | System | OsSystemInfo | The native provider of the `SystemInfo` effect: facts about the computer and the process from the C library and the kernel. |
silk.system.terminal | System | Terminal | Read the size of a terminal, and switch it between its normal mode and raw mode. |
silk.system.terminal | System | Terminal | Read the size of a terminal, and switch it between its normal mode and raw mode. |
silk.testing.exchange | Testing | TestExchange | The binary plan and receipt formats that let `silk test` control the test runner. |
silk.testing.observation | Testing | TestObservation | What a test reads of the host while the test runner watches it. |
silk.testing.runner | Testing | TestRunner | The built-in test runner that `silk test` selects. It runs tests one at a time. |
silk.testing.selection | Testing | TestSelection | How the built-in test runner skips a passing test whose code and inputs did not change. |
silk.testing.testing | Testing | Testing | Assertions for tests, and the filter rules that the test runner uses to select tests. |
silk.text.bidi | Text | bidi | The Unicode Bidirectional Algorithm (UAX #9) for text that mixes left-to-right and right-to-left scripts, with data from Unicode 18.0.0. |
silk.text.byte_search | Text | byte_search | Fast searches over byte slices: the first or last position of a byte, the first of two or three bytes, the number of times a byte occurs, and the first position of a byte sequence. |
silk.text.char | Text | char | Conversion between `char` and integers, and named comparison functions for `char`. |
silk.text.diff | Text | diff | Line diffs, unified diff text, and reading and applying patches. |
silk.text.edit_distance | Text | edit_distance | Edit distances: the smallest number of single-character edits that turn one text into another. |
silk.text.format | Text | Format | Text output for values through the ambient `Writer`, compile-time checked templates, and decimal parsing. |
silk.text.glob | Text | glob | Glob patterns: compile a pattern such as `src/**/*.{silk,toml}` and test paths against it, and inspect text for glob syntax. |
silk.text.idna | Idna | Convert international domain names with UTS #46 processing (Unicode 18.0.0), and encode and decode Punycode (RFC 3492). | |
silk.text.idna_data | Not applicable | Unicode 18.0.0 IDNA mapping (UTS #46) and Unicode 16.0.0 IDNA2008 PVALID tables, for `silk.text.idna` and JSON Schema formats. | |
silk.text.line_break | Text | line_break | Line break opportunities: the Unicode Line Breaking Algorithm (UAX #14) with CSS tailoring, with data from Unicode 18.0.0. |
silk.text.regex | Text | Regex | ECMAScript Unicode regular expressions for text and JSON Schema patterns. |
silk.text.regex_shape | Text | RegexShape | The structure of an ECMAScript Unicode regular expression, read during compilation. |
silk.text.regex_unicode | Text | Not applicable | Unicode 17.0.0 case folding, property and range tables for `silk.text.regex`. |
silk.text.script_itemization | Text | script_itemization | Script itemization: the split of a text into runs of one script each (UAX #24), with data from Unicode 18.0.0. |
silk.text.segmentation | Text | segmentation | Grapheme cluster, word and sentence boundaries (UAX #29), with data from Unicode 18.0.0. |
silk.text.string | Text | String | UTF-8 text: owned strings, validation of bytes, search, splitting, trimming, and traversal one Unicode scalar at a time. |
silk.text.unicode | Text | Unicode | Unicode canonical normalization (NFC and NFD), canonical composition, and the Boolean and mapping character properties, with data from Unicode 18.0.0. |
silk.text.unicode_data | unicode_data | ||
silk.text.unicode_properties | GeneralCategory | ||
silk.text.unicode_script | Text | Script | Unicode scripts as ISO 15924 values, and the Script and Script_Extensions properties, with data from Unicode 18.0.0. |
silk.text.utf8_decoder | Text | Utf8Decoder | Decoding of UTF-8 one byte at a time, for input that arrives in chunks. No allocation. |
silk.text.utf8_scan | Text | utf8_scan | Random-access decoding of one Unicode scalar from UTF-8 bytes, for text algorithms that scan by byte offset. |
silk.text.vertical_text | Text | vertical_text | Character orientation in vertical text (UAX #50), with data from Unicode 18.0.0. |
silk.text.word_dictionary | Text | IcuDictionary | Dictionary word segmentation for Thai, Lao, Khmer and Myanmar text, for line breaking, with the dictionaries of ICU 78.1. |
silk.text.word_dictionary_khmer | Text | word_dictionary_khmer | The packed ICU Khmer word dictionary trie for `silk.text.word_dictionary`. |
silk.text.word_dictionary_lao | Text | word_dictionary_lao | The packed ICU Lao word dictionary trie for `silk.text.word_dictionary`. |
silk.text.word_dictionary_myanmar | Text | word_dictionary_myanmar | The packed ICU Burmese (Myanmar) word dictionary trie for `silk.text.word_dictionary`. |
silk.text.word_dictionary_thai | Text | word_dictionary_thai | The packed ICU Thai word dictionary trie for `silk.text.word_dictionary`. |
silk.time.calendar | Time | Calendar | Dates in other calendars than ISO 8601: [`Calendar`], [`CalendarDate`], [`Era`], and [`MonthCode`]. |
silk.time.calendar_data | Time | CalendarData | Tables of the calendars of `silk.time.calendar` that cannot be computed with a short rule. |
silk.time.civil | Time | civil | Calendar arithmetic of the ISO 8601 calendar on plain integers: leap years, month lengths, and the conversion between a date and a day count. |
silk.time.codec | Time | TimeText | Codecs that read and write the `silk.time` types in any data format of `silk.schema`: as ISO 8601 text with [`TimeText`], or as a Unix time with [`UnixSeconds`] and [`UnixMilliseconds`]. |
silk.time.duration | Time | Duration | Exact elapsed time: the [`Duration`] type, a signed span of seconds and nanoseconds. |
silk.time.instant | Time | Instant | Points in time: the [`Instant`] type, a moment on the UTC timeline with nanosecond precision. |
silk.time.mark | Time | Mark | Readings of a monotonic clock: the [`Mark`] type. |
silk.time.now | Time | Now | The present moment as each `silk.time` type: [`Now`] reads the `SystemClock` effect and, for local values, a `Zone`. |
silk.time.offset | Time | UtcOffset | Fixed offsets from UTC: the [`UtcOffset`] type. |
silk.time.pattern | Time | TimePattern | Writes and reads dates and times with `strftime` patterns, such as `%Y-%m-%d %H:%M:%S %z`. |
silk.time.period | Time | Period | Calendar spans: the [`Period`] type, a number of years, months, weeks, and days with an exact time part, as in "1 month and 2 days". |
silk.time.plain_date | Time | PlainDate | Calendar dates without a time or a time zone: the [`PlainDate`] type and [`Weekday`]. |
silk.time.plain_date_time | PlainDateTime | Dates with a time of day and no time zone: the [`PlainDateTime`] type. | |
silk.time.plain_month_day | Time | PlainMonthDay | Days of the year without a year: the [`PlainMonthDay`] type, such as November 19. |
silk.time.plain_time | PlainTime | Times of day without a date or a time zone: the [`PlainTime`] type. | |
silk.time.plain_year_month | Time | PlainYearMonth | Months of specific years: the [`PlainYearMonth`] type, such as November 2026. |
silk.time.relative | Time | RelativeTo | Periods measured from a starting point: [`RelativeTo`] rounds a `Period`, gives its total in one unit, and changes its largest unit. |
silk.time.rounding | Time | RoundingMode | How `silk.time` rounds: the [`RoundingMode`], the [`TimeUnit`], and the [`TimeIncrement`] that the `round` functions of the time types take. |
silk.time.text | Time | text | The shared reader and writer of ISO 8601 and RFC 3339 date and time text, and the error type of every date and time parser. |
silk.time.text_asn1 | Time | Asn1Time | The two time types of ASN.1 in the DER form that X.509 certificates use: UTCTime and GeneralizedTime. |
silk.time.text_http | Time | HttpDate | The date and time format of HTTP header fields such as `Date`, `Last-Modified`, and `Expires`. |
silk.time.zone | Time | Zone | Time zone rules: the [`Zone`] type, which tells the UTC offset of a place at each instant and turns a local date and time into an instant. |
silk.time.zoned | Time | ZonedDateTime | Instants seen in a time zone: the [`ZonedDateTime`] type, and [`ZonedText`] for its RFC 9557 text such as `2026-11-19T15:36:22-03:00[America/Sao_Paulo]`. |
silk.time.zones | Time | TimeZones | Where time zones come from: the `TimeZones` effect, which gives a `Zone` for a name, and the `LocalZone` effect, which names the zone of this machine. |
silk.time.zones_bundle | Time | ZoneBundle | A `TimeZones` provider over the bytes of a time zone bundle: one file with every zone of a release of the IANA time zone database. |
silk.time.zones_bundled | Time | BundledTimeZones | The time zone database that the standard library carries: a `TimeZones` provider with the same zones on every target. |
silk.time.zones_native | Time | OsTimeZones | The system providers of the `TimeZones` and `LocalZone` effects: the time zone database and the zone setting of the operating system. |
silk.time.zones_native | Time | OsTimeZones | The system providers of the `TimeZones` and `LocalZone` effects: the time zone database and the zone setting of the operating system. |
silk.tls.certificate | TLS and certificates | Certificate | Decode one X.509 certificate from DER or PEM, and read its fields. |
silk.tls.certificate_bundle | TLS and certificates | CertificateBundle | Decode a PEM file with one or more certificates, such as a certificate chain or a CA bundle. |
silk.tls.certificate_identities | TLS and certificates | CertificateSan | Decode the subject alternative names (SAN) of a certificate: the DNS names and IP addresses that it is for. |
silk.tls.certificate_path | TLS and certificates | CertificatePath | Validate the certificate chain of a TLS server or client, from its leaf certificate to a trust anchor. |
silk.tls.certificate_pem | TLS and certificates | Pem | Internal strict PEM framing and canonical base64 for owned certificate decoders. |
silk.tls.certificate_profile | TLS and certificates | CertificateProfile | Check one certificate against the TLS server certificate profile, and read its extensions. |
silk.tls.certificate_text | TLS and certificates | CertificateText | Text forms of certificate fields as OpenSSL prints them: object names, distinguished names, validity times, and serial numbers. |
silk.tls.client | TLS and certificates | Client | A TLS 1.2 and TLS 1.3 client state machine that authenticates an HTTPS server over a byte transport that you drive. |
silk.tls.connection | TLS and certificates | OwnedConnection | An authenticated TLS 1.2 or TLS 1.3 connection over a `ByteDuplex` transport, with timeouts and close handling. |
silk.tls.hkdf | TLS and certificates | TlsHkdfSha256 | The TLS 1.3 key schedule functions `HKDF-Expand-Label` and `Derive-Secret` (RFC 8446, section 7.1). |
silk.tls.https_identity | TLS and certificates | HttpsIdentity | Check that a server certificate is for the host name or IP address in an HTTPS URL (RFC 6125 and RFC 9110). |
silk.tls.prf | TLS and certificates | TlsPrf | The TLS 1.2 pseudorandom function (RFC 5246 section 5) and the secrets that TLS 1.2 derives with it: the extended master secret (RFC 7627), the key block, and Finished. |
silk.tls.record | TLS and certificates | TlsRecordSender | Frame and protect TLS 1.3 records (RFC 8446, section 5) and TLS 1.2 AEAD records (RFC 5246, section 6.2) over a byte transport that you drive. |
silk.tls.server | TLS and certificates | Server | A TLS 1.2 and TLS 1.3 server state machine that does the handshake and protects application data over a byte transport that you drive. |
silk.tls.signature | TLS and certificates | HandshakeSignature | Check a TLS 1.3 or TLS 1.2 handshake signature with the public key of a peer's leaf certificate, and sign one with a leaf's private key. |
silk.tls.server_protocol | TLS and certificates | TlsProtocol | Serve TLS 1.3 on a `silk.net.tcp_server` engine, with the certificate chain and private key loaded from PEM text. |
silk.tls.trust_anchor | TLS and certificates | TrustAnchor | A trust anchor: a CA certificate that you trust, with optional limits that you add. |
silk.tls.trust_snapshot | TLS and certificates | TrustSnapshot | A fixed list of trust anchors: the root CAs that certificate path validation starts from. |
silk.tls.trust_source | TLS and certificates | TrustSource | The `TrustSource` effect: where a program gets its trust anchors. |
silk.tls.trust_source_memory | TLS and certificates | MemoryTrustSource | A `TrustSource` provider that holds a trust snapshot in memory. |
silk.tls.trust_source_native | TLS and certificates | NativeFileTrustSource | A native `TrustSource` provider that loads trust anchors from one PEM file. |
silk.tls.trust_source_native | TLS and certificates | NativeFileTrustSource | A native `TrustSource` provider that loads trust anchors from one PEM file. |
silk.tls.trust_source_windows | TLS and certificates | WindowsRootTrustSource | A `TrustSource` provider for the current user's Windows `ROOT` certificate store. |
silk.tls.trust_source_windows | TLS and certificates | WindowsRootTrustSource | A `TrustSource` provider for the current user's Windows `ROOT` certificate store. |
silk.toml.codec | Data formats | TomlCodec | Convert TOML values to Silk values, and write Silk values as TOML. |
silk.toml.format | Data formats | TomlFormat | Format TOML documents without changing comments, value spellings, or declaration order. |
silk.toml.output | Data formats | TomlOutput | Write a TOML document or a single TOML string or key through the ambient `Writer`. |
silk.toml.scanner | Data formats | TomlScanner | Validate TOML source and read it as a sequence of tokens. |
silk.toml.text | Data formats | TomlText | Decode TOML string tokens into owned UTF-8 text. |
silk.toml.value | Data formats | Toml | Parse a TOML document into an owned tree of values, and read fields from it. |
silk.trace | Trace | Distributed tracing and metrics for code with or without an effect requirement. | |
silk.trace.context | SpanContext | The trace identifiers and flags that cross process and execution boundaries. | |
silk.trace.hook | TraceHook | Bound functions used by the compiler at the entry and exits of a traced declaration. | |
silk.trace.log | OtelLogger | Records structured ambient log events with the current W3C trace and span identifiers. | |
silk.trace.metric | Metric | Cumulative OpenTelemetry instrument updates backed by a recorder's preallocated series. | |
silk.trace.otlp | OtlpJson | OTLP/HTTP JSON encoding for recorder batches. | |
silk.trace.perfetto | Perfetto | Perfetto trace encoding and decoding for recorder batches and counter samples. | |
silk.trace.record | Recorder | Bounded recording of OpenTelemetry spans and their parent contexts. | |
silk.trace.signals | SignalState | Bounded recorder storage for structured logs and cumulative metric series. | |
silk.trace.sink | Sink | Destinations for recorder batches. Export runs in the caller's effect. | |
silk.trace.storage | Storage | Pinned, preallocated storage for independently claimed recorder slots. | |
silk.trace.values | Attributes | Bounded, owned attribute values used by recorded spans, logs and metrics. | |
silk.uri.components | Data formats | UriComponents | Build a URI reference from its components, or change the components of a parsed one. |
silk.uri.percent | Data formats | UriPercent | Percent-encode bytes for a URI component, and decode `%XX` escapes. |
silk.uri.reference | Data formats | UriReference | Parse a URI or a relative reference (RFC 3986) and read its components without allocation. |
silk.uri.uri | Data formats | Uri | Parse an absolute URI (RFC 3986), and resolve relative references against it. |
silk.url.form | UrlForm | Read and write `application/x-www-form-urlencoded` text, the format of HTML form bodies and of URL queries such as `a=1&b=two+words`. | |
silk.url.host | UrlHost | Parse and serialize the host of a URL as the WHATWG URL Standard specifies: domains, IPv4 and IPv6 addresses, and opaque hosts. | |
silk.url.percent | UrlPercent | Percent-encode and percent-decode text with the encode sets of the WHATWG URL Standard. | |
silk.url.url | Url | Parse, serialize, and change URLs as the WHATWG URL Standard specifies, the way web browsers and JavaScript's `URL` do. | |
silk.xml.document | Data formats | XmlDocument | Parse an XML 1.0 document into an owned, namespace-aware tree of elements, text, comments, and processing instructions. |
silk.yaml.document | Data formats | YamlDocument | Parse YAML into a compact document, and read values from it. |
silk.yaml.output | Data formats | YamlOutput | Write YAML text: a whole `YamlDocument`, or values one at a time with `YamlEmitter`. |
Profile identities:
aarch64-apple-darwin: targetaarch64-apple-darwin.aarch64-unknown-linux-gnu: targetaarch64-unknown-linux-gnu.aarch64-unknown-linux-gnu-no-libc: targetaarch64-unknown-linux-gnu.x86_64-unknown-linux-gnu: targetx86_64-unknown-linux-gnu.x86_64-unknown-linux-gnu-no-libc: targetx86_64-unknown-linux-gnu.wasm32-unknown-unknown: targetwasm32-unknown-unknown.wasm32-wasip1: targetwasm32-wasip1.wasm32-wasip2: targetwasm32-wasip2.x86_64-pc-windows-msvc: targetx86_64-pc-windows-msvc.wasm64-unknown-unknown: targetwasm64-unknown-unknown.