Overview.

Each page describes the selected source API for the listed profiles. Distinct surfaces have separate pages.

ModuleCategoryImport namespaceSummary
silk.bench.benchBenchmarksBenchRuns benchmark suites from a project's tasks and writes their reports.
silk.bench.bencherBenchmarksBencherBenchmarks declared with `bench fn`, the [`Bencher`] they loop on, and the program that runs them.
silk.bench.harnessBenchmarksHarnessThe harness of a Silk program whose benchmarks a benchmark task drives: it answers the driven protocol and times each run.
silk.bench.historyBenchmarksHistoryThe 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.htmlBenchmarksHtmlDraws a benchmark report as one static HTML page with charts.
silk.bench.linesBenchmarksLinesBenchmark result lines: the text format of Go's `testing` package, read and written.
silk.bench.processBenchmarksProcessRuns one program to its end and measures it: the time it took, the processor time it used, and its peak memory.
silk.bench.recordBenchmarksReportThe data of a benchmark run: the result file with every raw sample, and the report with the statistics a renderer draws.
silk.bench.renderBenchmarksRenderDraws a benchmark report as text: a table for a terminal, with optional color, and Markdown.
silk.bench.reportBenchmarksReportsTurns the raw samples of a benchmark run into the report a renderer draws.
silk.bench.statisticsBenchmarksStatisticsThe statistics a benchmark report is made of: medians, bootstrap intervals, ratios between two sets of samples, and the verdict a ratio supports.
silk.bench.suiteBenchmarksSuiteDescribes what a benchmark run compares: suites, their implementations, the programs to time, and where the reports go.
silk.bench.transportBenchmarksTransportCarries the lines of the driven benchmark protocol between a benchmark task and a harness.
silk.bench.unitsBenchmarksUnitsText for the quantities of a benchmark report: durations, memory sizes, and ratios.
silk.bench.viewBenchmarksViewSays how the results of a benchmark suite should be shown: a kind of chart and the fields it maps.
silk.build.embedEmbedGenerated modules that expose a declared file's bytes as a static value.
silk.build.parameterParameterTyped package parameters resolved by the build graph.
silk.build.toolchainToolchainSelects the LLVM tools used by a compiler installation and by build-cache fingerprints.
silk.build.contextContextPackage context and local input closure for resolving compilation definitions.
silk.build.definitionDefinitionTyped compilation definitions whose defaults and package inputs the toolchain resolves.
silk.build.packagePackagePer-package backend settings and typed parameter bindings in a compilation graph.
silk.build.compilationCompilationCompilations as build steps that write explicit requests before invoking the compiler.
silk.build.encodingEncodingOwned schema output used by build keys, cached values, and compilation requests.
silk.build.eventsBuildEventsWhat a `silk` command did, as a file of events: [`BuildEvent`] and [`BuildEvents`].
silk.build.executionPendingDeferred storage for a build step's work, using the ordinary fiber execution boundary.
silk.build.fingerprintFingerprintDeterministic content fingerprints for build inputs and completed output trees.
silk.build.graphBuildBuild graphs that publish complete compilation requests and return their artifacts.
silk.build.optionsOptionsStandard command-line options shared by build commands.
silk.build.tasksBuildStandardThe standard tasks a project's tasks.silk starts from: build, run, dev and plan.
silk.build.watchBuildWatchRunning a command again each time a project's sources change, for `silk dev`.
silk.build.watchBuildWatchRunning a command again each time a project's sources change, for `silk dev`.
silk.build.publishPublishCopies completed build outputs without exposing partially written files.
silk.build.descriptorDescriptorImmutable descriptions shared by static package plans and runtime build steps.
silk.build.standardStandardMaterializes immutable standard action descriptions through the ordinary step interface.
silk.build.runRunProcess steps with declared arguments, files, environment, and captured values.
silk.build.settingSettingDeferred compilation settings resolved by the graph runner.
silk.build.stepStepBuild steps, their declared inputs, and values resolved only by the graph runner.
silk.build.write_filesWriteFilesGenerated files whose contents are known values or other steps' deferred values.
silk.build.delegateDelegateA build graph as a task program hands it to the compiler, and the compiler's answer.
silk.build.hostHostThe compiler's side of a described build graph: restore it, run it and answer what it made.
silk.http.traceHttpTraceOpt-in propagation of W3C trace context on HTTP requests.
silk.platform.native.time_zoneNative platformNativeTimeZoneDirect reads of the time zone files and settings of a Unix system, for the native zone providers.
silk.platform.native.time_zoneNative platformNativeTimeZoneDirect reads of the time zone files and settings of a Unix system, for the native zone providers.
silk.platform.windows.time_zoneWindows platformWindowsTimeZoneThe time zone setting of Windows.
silk.platform.windows.time_zoneWindows platformWindowsTimeZoneThe time zone setting of Windows.
silk.system.host_pathHostPathResolves host filesystem paths through symbolic links without changing the working directory.
silk.system.sandboxSandboxConstructs operating-system sandbox requests for declared tool inputs and outputs.
silk.system.executableExecutableResolves a program name against the process search path without starting it.
silk.system.file_lockFileLockExclusive advisory file locks released automatically with their owning handle.
silk.system.file_lockFileLockExclusive advisory file locks released automatically with their owning handle.
silk.build.manifestManifestPackage identities, fetch pins, and publication settings read from `silk.toml`.
silk.build.planPlanPure package requirements built with the same standard actions and deferred paths as tasks.
silk.build.requestCoreRequestComplete compilation inputs for the compiler and development tools.
silk.build.sourceCoreSourceFiles of the package read while it compiles: shaders, tables and other data the program keeps as part of its code.
silk.cli.commandCommand lineCommandStatic descriptions of a command line: the command, its options, its positional arguments, and its subcommands.
silk.cli.completionCommand lineCompletionShell completion scripts for a command, written during compilation from its description.
silk.cli.parseCommand lineCliParse a command line into a struct, and write the help text of a command.
silk.cli.progressCommand lineProgressProgress 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.taskCommand lineTaskCommands implemented by a project's tasks.silk program.
silk.cli.valueCommand lineArgValueHow a struct field reads its value from the command line.
silk.collections.bytesCollectionsBytesOwned byte buffers for file contents, process output, and other data with no fixed encoding.
silk.collections.column_listCollectionsColumnListGrowable lists that store each field of a struct in its own column.
silk.collections.hashCollectionsHashKeyDeterministic seeded hashing for hash maps, hash sets, and key types that users define.
silk.collections.hash_mapCollectionsHashMapHash maps that own their keys and values, with deterministic seeded hashing.
silk.collections.hash_setCollectionsHashSetHash sets that own their elements, with deterministic seeded hashing.
silk.collections.idCollectionsIdTyped 32-bit row numbers.
silk.collections.listCollectionsListGrowable lists that own their elements, with stable sorting and binary search.
silk.collections.sliceCollectionsSliceBorrowed subranges and byte views of slices, with no copy and no allocation.
silk.color.colorColorColorColors in the CSS Color 4 color spaces, with conversion, gamut mapping, mixing, adjustment, and contrast measurement.
silk.color.rgbaColorRgbaRed, green, blue, and alpha channels with straight or premultiplied alpha, over any number type.
silk.color.srgbColorsrgbThe sRGB transfer function: conversion between gamma-encoded sRGB channels and linear light.
silk.compress.brotliData formatsBrotliDecompress Brotli data (RFC 7932) in steps, with fixed memory and limits that you set.
silk.compress.brotli_encodeData formatsBrotliEncoderCompress bytes as Brotli streams (RFC 7932), in steps or all at once, with qualities 0 to 11.
silk.compress.brotli_tablesData formatsNot applicableThe static dictionary, word transforms, and literal context lookup table of Brotli (RFC 7932).
silk.compress.checksumData formatsCompressionChecksumCRC-32, Adler-32, and CRC-64 checksums used by gzip, zlib, ZIP, and XZ containers.
silk.compress.deflateData formatsEncoderCompress bytes as raw DEFLATE, zlib, or gzip, in steps or all at once, with zlib's levels, strategies, and flush modes.
silk.compress.inflateData formatsDecoderDecompress raw DEFLATE, zlib, and gzip data in steps, with fixed memory and limits that you set.
silk.compress.limitsData formatscompressionResource limits and failures for complete-buffer compression codecs.
silk.compress.lzmaData formatsLzmaDecode complete LZMA-alone streams into caller-owned byte buffers.
silk.compress.lzma2Data formatsLzma2Decode complete raw LZMA2 streams into caller-owned byte buffers.
silk.compress.lzma2_decodeData formatsLzma2StreamLZMA2 chunk framing shared by raw LZMA2 and XZ decoders.
silk.compress.lzma_decodeData formatsLzmaStateShared LZMA range decoder and probability models for LZMA, LZMA2, and XZ.
silk.compress.tarData formatsTarReaderRead and write tar archives as streams, one block of bytes at a time.
silk.compress.xzData formatsXzDecode XZ containers and verify their blocks, index, and footer.
silk.compress.zipData formatsZipReaderRead the files and directories of a ZIP archive held in memory, and write one.
silk.compress.zstdData formatsZstdDecompress Zstandard data (RFC 8878) in steps, with fixed memory and limits that you set.
silk.compress.zstd_blockData formatsBlockStateInternal bounded zstd compressed-block decoding with retained entropy tables.
silk.compress.zstd_checksumData formatsXxh64Incremental seed-zero XXH64 state for zstd frame checksums.
silk.compress.zstd_encodeData formatsZstdEncoderCompress bytes as Zstandard frames (RFC 8878), in steps or all at once, with levels 1 to 22.
silk.concurrency.ambient_tableAmbientTableStorage shared by lexical providers and captured executions.
silk.concurrency.atomicConcurrencyAtomicAtomic memory operations on raw pointers, with explicit memory orderings.
silk.concurrency.channelConcurrencyChannelBounded channels that pass values between fibers on one thread.
silk.concurrency.executionConcurrencyExecutionLazy computations with their own storage, which an owner drives and resumes.
silk.concurrency.execution_storageConcurrencyExecutionStorageStorage for the private execution frames that the compiler makes.
silk.concurrency.execution_storageConcurrencyExecutionStorageStorage for the private execution frames that the compiler makes.
silk.concurrency.fiberConcurrencyFiberFibers: handles to child tasks, with typed outcomes and one observer each.
silk.concurrency.local_schedulerConcurrencyLocalSchedulerA deterministic, single-threaded scheduler for structured Fibers.
silk.concurrency.schedulerConcurrencySchedulerThe provider protocol that prepares child Fibers and publishes them atomically.
silk.concurrency.syncConcurrencyArcShared ownership, locks, condition variables and thread parking for values that several native threads use.
silk.concurrency.threadConcurrencyTransferableThe normal names of the sealed thread properties `Transferable` and `Concurrent`.
silk.concurrency.thread_nativeConcurrencyNativeThreadOperating-system threads that each run one `Transferable` closure and return its result.
silk.concurrency.thread_poolConcurrencyThreadPoolA work-stealing pool of native threads that runs fibers in parallel.
silk.concurrency.work_queueConcurrencyWorkDequeQueues that move owned values between native threads, for work-stealing schedulers.
silk.core.boolCoreboolNamed functions for Boolean equality and negation.
silk.core.compilationCoreCompilationBuild choices of the current compilation, such as safety, threading, and artifact kind, for use in static evaluation.
silk.core.effectCoreEffectCombinators for lazy effect values: transform success, recover typed failures, supply services, and run cleanup.
silk.core.equalCoreEqualThe interface that gives user types the `==` and `!=` operators.
silk.core.opsCoreAddThe interfaces that give user types the arithmetic, bitwise, and logical operators.
silk.core.hintCorehintFacts and branch weights that guide the optimizer without changing what a program computes.
silk.core.optionCoreOptionOptional owned values that are present or absent, with no explanation for the absence.
silk.core.orderCoreOrderThe interface that gives user types the `<`, `<=`, `>`, and `>=` operators.
silk.core.ownershipCoreCopyThe ordinary names for the sealed ownership properties `Copy` and `Drop`.
silk.core.reflectCoreReflectCompile-time descriptions of the fields of a struct or tuple type, for generic code that visits each field.
silk.core.resultCoreResultCompleted outcomes that hold a success value or a failure value as ordinary data.
silk.core.scheduleCoreScheduleSchedules: policies that say when to run an effect again, and when to stop.
silk.core.static_mapCoreStaticMapMaps from text keys to values that exist only during static evaluation.
silk.core.static_sequenceCoreStaticSequenceImmutable lists of values that exist only during static evaluation.
silk.core.static_textCoreStaticTextOperations on string literals during static evaluation: length, byte access, concatenation, and slices.
silk.core.targetCoreTargetFacts about the target machine of the current compilation: architecture, operating system, ABI, and pointer width.
silk.crypto.aesCryptographyAesEncrypt data with the AES block cipher (FIPS 197) in ECB, CBC, CTR, CFB, or OFB mode (NIST SP 800-38A).
silk.crypto.aes_ccmCryptographyAesCcmEncrypt and authenticate data with AES-CCM (NIST SP 800-38C, RFC 3610).
silk.crypto.aes_gcmCryptographyAesGcmEncrypt and authenticate data with AES-128-GCM, AES-192-GCM, or AES-256-GCM (NIST SP 800-38D).
silk.crypto.aes_ocbCryptographyAesOcbEncryptorEncrypt and authenticate data with AES-OCB3 (RFC 7253), for a message in parts.
silk.crypto.aes_roundCryptographyaesThe steps of an AES round on one 16-byte state, computed with portable code: SubBytes, ShiftRows and MixColumns, and their inverses.
silk.crypto.aes_wrapCryptographyAesKeyWrapWrap keys with the AES key wrap algorithms of RFC 3394 and RFC 5649 (NIST SP 800-38F KW, KWP).
silk.crypto.aes_xtsCryptographyAesXtsEncrypt storage sectors with AES-XTS (IEEE 1619, NIST SP 800-38E).
silk.crypto.ariaCryptographyAriaEncrypt with the ARIA block cipher (RFC 5794, KS X 1213).
silk.crypto.blake2bCryptographyBlake2b512Portable BLAKE2b states for the unkeyed 64-byte and 32-byte cryptographic digests of RFC 7693.
silk.crypto.blake2sCryptographyBlake2s256Portable BLAKE2s-256 state for the unkeyed 32-byte cryptographic digest of RFC 7693.
silk.crypto.block_cipherCryptographyBlockCipherRun any block cipher in the standard modes: ECB, CBC, CTR, CFB, CFB-8, CFB-1, and OFB.
silk.crypto.camelliaCryptographyCamelliaEncrypt with the Camellia block cipher (RFC 3713, ISO/IEC 18033-3).
silk.crypto.chacha20_poly1305CryptographyChaCha20Poly1305Encrypt and authenticate data with ChaCha20-Poly1305, and encrypt with raw ChaCha20 (RFC 8439).
silk.crypto.digestCryptographyDigestThe 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.desCryptographyTripleDesEncrypt with Triple DES (TDEA, NIST SP 800-67), the `des-ede3` and `des-ede` ciphers.
silk.crypto.des_wrapCryptographyTripleDesKeyWrapWrap keys with the Triple DES key wrap of RFC 3217 (CMS `id-alg-CMS3DESwrap`).
silk.crypto.curve448CryptographyX448Agree on a shared secret with X448 (RFC 7748), and sign with Ed448 (RFC 8032), on the Goldilocks curve, Curve448.
silk.crypto.dhCryptographyDhPrivateKeyFinite-field Diffie-Hellman key agreement (DH) over a prime modulus.
silk.crypto.dsaCryptographyDsaPrivateKeyDSA keys and signatures (FIPS 186-4): parameter and key generation, signing, verification, and the DER forms that OpenSSL and Node.js use.
silk.crypto.ecCryptographyEcPrivateKeyElliptic-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_keyCryptographyEcKeyDerRead 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.ed25519CryptographyEd25519PublicKeyEd25519 signatures with 32-byte keys and 64-byte signatures (RFC 8032).
silk.crypto.hkdfCryptographyHkdfSha256Derive keys with HKDF (RFC 5869) over any hash of `silk.crypto`.
silk.crypto.hmacCryptographyHmacSha256Compute HMAC tags (RFC 2104) with any hash of `silk.crypto`.
silk.crypto.legacy_pemCryptographyLegacyPemEncrypt and decrypt PEM keys with the legacy OpenSSL scheme of the `Proc-Type` and `DEK-Info` headers (RFC 1421 framing).
silk.crypto.md5CryptographyMd5Compute MD5 digests for legacy formats, including UUID version 3.
silk.crypto.md5_sha1CryptographyMd5Sha1Compute the 36-byte MD5-SHA1 digest that TLS 1.0 and 1.1 use: MD5 followed by SHA-1.
silk.crypto.minisignCryptographyMinisignSign and verify files with minisign, the Ed25519 signature format Silk releases use.
silk.crypto.ml_dsaCryptographyMlDsaSign 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_kemCryptographyMlKemAgree 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_keyCryptographyMlKeyDerRead 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.modularCryptographyModulusConstant-time arithmetic on unsigned integers of up to 8192 bits, and modulo an odd number.
silk.crypto.okp_keyCryptographyOkpKeyDerRead 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.p256CryptographyP256Key agreement (ECDH) and ECDSA signatures on the NIST P-256 curve (secp256r1).
silk.crypto.p384CryptographyP384Key agreement (ECDH) and ECDSA signatures on the NIST P-384 curve (secp384r1).
silk.crypto.p521CryptographyP521Key agreement (ECDH) and ECDSA signatures on the NIST P-521 curve (secp521r1).
silk.crypto.pbkdf2CryptographyPbkdf2Derive keys from passwords with PBKDF2 (RFC 8018 section 5.2) over HMAC with any hash.
silk.crypto.pkcs8CryptographyEncryptedPkcs8Encrypt and decrypt private keys in the PKCS #8 `EncryptedPrivateKeyInfo` format with PBES2 (RFC 8018, RFC 5958).
silk.crypto.primeCryptographyPrimeTest numbers for primality and generate random primes, including safe primes.
silk.crypto.ripemd160CryptographyRipemd160Compute RIPEMD-160 digests for formats that name them, such as Bitcoin addresses.
silk.crypto.rsaCryptographyRsaPublicKeyRSA 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.scryptCryptographyScryptDerive keys from passwords with scrypt (RFC 7914), a memory-hard function.
silk.crypto.secp256k1CryptographySecp256k1Key agreement (ECDH) and ECDSA signatures on the curve secp256k1 of SEC 2.
silk.crypto.sha1CryptographySha1Compute SHA-1 digests (20 bytes) for old protocols and file formats.
silk.crypto.sha2CryptographySha256Compute SHA-2 digests: SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256.
silk.crypto.sha3CryptographySha3_256Compute SHA-3 digests (SHA3-224, SHA3-256, SHA3-384, SHA3-512) and the SHAKE128 and SHAKE256 extendable-output functions (FIPS 202).
silk.crypto.sm3CryptographySm3Compute SM3 digests (GB/T 32905-2016), the hash of the Chinese commercial cryptography suite.
silk.crypto.sm4CryptographySm4Encrypt with the SM4 block cipher (GB/T 32907-2016, ISO/IEC 18033-3).
silk.crypto.x25519CryptographyX25519Agree on a shared secret with X25519 (RFC 7748) Diffie-Hellman.
silk.encoding.base64Data formatsBase64Encode and decode standard Base64 (RFC 4648, with padding) into byte slices that you supply.
silk.encoding.endianEncodingendianRead and write 16-, 32- and 64-bit integers as little-endian or big-endian bytes in a slice.
silk.encoding.pemEncodingPemRead and write PEM, the Base64 text armor for keys and certificates (RFC 7468).
silk.encoding.uuidData formatsUuidUUID values and constructors for versions 1 through 8, with RFC 9562 byte order.
silk.geometry.affineGeometryAffine2Two-dimensional affine transforms: scale, rotation, skew, and translation in one matrix.
silk.geometry.cornersGeometryCornersA value for each of the four corners of a box, over any number type.
silk.geometry.insetsGeometryInsetsDistances inward from the four edges of a box, over any number type.
silk.geometry.matrixGeometryMatrix3Square 3x3 and 4x4 matrices for projective and three-dimensional transforms.
silk.geometry.pointGeometryPoint2Two- and three-dimensional positions over any number type.
silk.geometry.rectGeometryRectAxis-aligned rectangles stored as their minimum and maximum corners, over any number type.
silk.geometry.rounded_rectGeometryRoundedRectAxis-aligned rectangles with a circular radius at each corner, over any number type.
silk.geometry.sizeGeometrySize2Two-dimensional extents over any number type.
silk.geometry.vectorGeometryVector2Two- and three-dimensional displacements over any number type.
silk.git.localVersion controlLocalRefsRead the references of a local Git repository from its `.git` directory: `HEAD`, the loose references under `refs/`, and `packed-refs`.
silk.git.pkt_lineVersion controlPktLineRead and write pkt-lines, the length-prefixed framing of the Git wire protocol.
silk.git.refsVersion controlRefListGit object ids, references, and the lists of references that a remote or a local repository has.
silk.git.remoteVersion controlGitRemoteList the branches, tags, and other references of a remote Git repository over HTTP or HTTPS, like `git ls-remote`.
silk.http.basicHTTPHttpBasicMake the value of an `Authorization: Basic` header from a username and a password.
silk.http.bodyHTTPDecoderRead and write the body of an HTTP/1 message: fixed length, chunked, or until the connection closes.
silk.http.clientHTTPHttpClientA simple HTTP client: send a request, and get the whole response in memory.
silk.http.client_nativeHTTPHttpClientNativeThe native provider for the `Http` service of [`silk.http.client`].
silk.http.client_nativeHTTPHttpClientNativeThe native provider for the `Http` service of [`silk.http.client`].
silk.http.client_wasiHTTPWasiHttpThe WASI Preview 2 provider for the portable `Http` service.
silk.http.client_wasiHTTPWasiHttpThe WASI Preview 2 provider for the portable `Http` service.
silk.http.connection_poolHTTPPoolA bounded pool of HTTP/1 connections, for reuse across requests to the same origin.
silk.http.connection_pool_nativeHTTPPoolNativeConnection pools that open native TCP, HTTPS, and Unix socket connections.
silk.http.contentHTTPContentReaderDecode the content of an HTTP response: gzip, deflate, and Zstandard, as named in `Content-Encoding`.
silk.http.exchangeHTTPExchangeRun HTTP/1 requests over a connection step by step: send the head, stream the body, and read the response.
silk.http.exchange_nativeHTTPHttpExchangeNativeNative TCP, Unix socket, and TLS connections for HTTP clients.
silk.http.fetchHTTPFetchSend one HTTP request, follow redirects, decode the content, and deliver the body to a destination that you choose.
silk.http.fetch_nativeHTTPFetchNativeThe native [`Context`] for `silk.http.fetch`: it connects over sockets and TLS, with a proxy policy and an optional connection pool.
silk.http.fetch_nativeHTTPFetchNativeThe native [`Context`] for `silk.http.fetch`: it connects over sockets and TLS, with a proxy policy and an optional connection pool.
silk.http.headHTTPRequestParserParse and write the head of an HTTP/1.0 or HTTP/1.1 message: the start line and the header fields.
silk.http.headersHTTPHeadersAn ordered list of HTTP header fields, with lookup by name, copies, and formatting.
silk.http.hpackHTTPDecoderHTTP/2 field compression as defined by RFC 7541.
silk.http.hpack_tablesHTTPNot applicableRFC 7541 Appendix A static fields and Appendix B Huffman decoding trie.
silk.http.http2HTTPConnectionA transport-independent HTTP/2 connection for clients and servers (RFC 9113).
silk.http.http2_connectionHTTPDriverHTTP/2 over the existing plain or TLS `HttpTransport` service.
silk.http.http2_frameHTTPFrameHeaderHTTP/2 wire frame headers, error codes, and frame serialization from RFC 9113.
silk.http.http2_headersHTTPMessageHTTP/2 field validation for requests, responses, and trailers under RFC 9113 section 8.
silk.http.messageHTTPVersionHTTP/1.0 and HTTP/1.1 values: versions, methods, statuses, header fields, and message heads.
silk.http.originHTTPOriginThe origin of an HTTP request: the scheme, host, and port that a connection goes to.
silk.http.proxyHTTPProxyConfigProxy settings for HTTP clients, and the choice of a route for each origin.
silk.http.redirectHTTPRedirectFollow 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.requestHTTPHttpRequestCheck and write the head of an HTTP request before it is sent.
silk.http.serveHTTPServerA fast HTTP/1.1 and HTTP/2 server: write one handler function, and serve it on every core.
silk.http.serverHTTPConnectionThe server side of one HTTP/1.0 or HTTP/1.1 connection, with streaming bodies and fixed limits.
silk.http.server_nativeHTTPHttpServerNativeAccepts native socket connections and serves each one with `silk.http.server`.
silk.http.server_nativeHTTPHttpServerNativeAccepts native socket connections and serves each one with `silk.http.server`.
silk.http.server_wasiHTTPWasiHttpServerHTTP requests delivered to a WASI Preview 2 component.
silk.http.server_wasiHTTPWasiHttpServerHTTP requests delivered to a WASI Preview 2 component.
silk.http.targetHTTPRequestTargetThe target of an HTTP request, the authority in it, and the `Host` field.
silk.http.transportHTTPHttpTransportThe byte transport under an HTTP connection: plain bytes or TLS.
silk.http.websocketHTTPWebSocketCodecWebSocket frames (RFC 6455) for clients and servers, without I/O.
silk.http.websocket_clientHTTPWebSocketClientThe client side of the WebSocket opening handshake (RFC 6455, version 13).
silk.http.websocket_nativeHTTPWebSocketNativeNative WebSocket clients and split sessions over TCP and TLS.
silk.http.websocket_streamHTTPWebSocketWebSocket sessions over a byte duplex, for clients and servers, with a split form for fibers.
silk.http.websocket_upgradeHTTPWebSocketUpgradeThe server side of the WebSocket opening handshake (RFC 6455, version 13).
silk.io.buffered_duplexInput and outputBufferedDuplexA buffered session that reads and writes one `ByteDuplex` transport inside a callback.
silk.io.buffered_inputInput and outputBufferedInputA fixed-size input buffer for parsers that must look at bytes before they use them.
silk.io.buffered_outputInput and outputBufferedOutputA fixed-size output buffer that collects small writes and sends them as larger writes.
silk.io.buffered_transferInput and outputBufferedTransferCopy bytes from one buffered session to another, and consume only what the destination accepts.
silk.io.byte_duplexInput and outputByteDuplexThe `ByteDuplex` effect: a two-way byte stream, such as a TCP connection, with partial reads and writes and deadlines.
silk.io.loggerInput and outputLoggerLibraries 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_consoleInput and outputConsoleLoggerA `Logger` provider for browser and JavaScript hosts: [`ConsoleLogger`] hands each message to the host's console.
silk.io.logger_consoleInput and outputConsoleLoggerA `Logger` provider for browser and JavaScript hosts: [`ConsoleLogger`] hands each message to the host's console.
silk.io.logger_nativeInput and outputStdoutLoggerNative providers of the `Logger` effect: [`StderrLogger`] writes log lines to standard error, and [`StdoutLogger`] writes the bare messages to standard output.
silk.io.logger_nativeInput and outputStdoutLoggerNative providers of the `Logger` effect: [`StderrLogger`] writes log lines to standard error, and [`StdoutLogger`] writes the bare messages to standard output.
silk.io.logger_wasiInput and outputWasiLoggerA `Logger` provider for Preview 2 components whose host offers `wasi:logging`: [`WasiLogger`] passes each message to `wasi:logging/logging.log`.
silk.io.logger_wasiInput and outputWasiLoggerA `Logger` provider for Preview 2 components whose host offers `wasi:logging`: [`WasiLogger`] passes each message to `wasi:logging/logging.log`.
silk.io.memory_byte_duplexInput and outputMemoryByteDuplexA scripted `ByteDuplex` transport in memory, for tests of protocol code.
silk.io.reactorInput and outputReactorWait 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.reactorInput and outputReactorWait 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_inputInput and outputStandardInputThe `StandardInput` effect: read raw bytes from standard input.
silk.io.standard_input_nativeInput and outputOsStandardInputThe native provider of the `StandardInput` effect: it reads the standard input of the process.
silk.io.standard_input_nativeInput and outputOsStandardInputThe native provider of the `StandardInput` effect: it reads the standard input of the process.
silk.io.writerInput and outputWriterThe `Writer` effect: write bytes without knowing where they go.
silk.io.writer_nativeInput and outputStdoutWriterNative `Writer` providers for standard output and standard error, and a lock for whole messages on standard error.
silk.io.writer_nativeInput and outputStdoutWriterNative `Writer` providers for standard output and standard error, and a lock for whole messages on standard error.
silk.json.arrayData formatsJsonArrayWrite a JSON array to the `Writer`.
silk.json.codecData formatsJsonCodecThe interfaces that let a type be written to JSON and read from JSON.
silk.json.objectData formatsJsonObjectWrite a JSON object, one member at a time, to the `Writer`.
silk.json.outputData formatsJsonOutputLow-level JSON output: strings, numbers, and punctuation, and the [`JsonOptions`] for layout.
silk.json.readerData formatsJsonReaderRead JSON tokens from a `BufferedInput`, for documents that do not fit in one slice.
silk.json.reflectData formatsJsonReflectWrite a struct as a JSON object from its fields, without writing each field by hand.
silk.json.scannerData formatsJsonScannerRead JSON as a sequence of tokens, without building a tree and without allocating.
silk.json.schemaData formatsJsonSchemaCompile JSON Schema resources and validate immutable JSON or TOML-derived values.
silk.json.schema_formatData formatsSchemaFormatString format assertions for JSON Schema, without network access.
silk.json.schema_format_idnaNot applicableInternational hostname validation for JSON Schema using Unicode 16.0.0 UTS #46 mapping.
silk.json.schema_metasData formatsSchemaMetasOffline official JSON Schema meta-schemas for drafts 4, 6, 7, 2019-09, and 2020-12.
silk.json.schema_numberData formatsSchemaNumberCompare JSON numbers and test divisibility without rounding to binary floating point.
silk.json.schema_resolverData formatsSchemaResolverCaller-replaceable JSON Schema document resolution during compilation.
silk.json.schema_valueData formatsSchemaValueConvert TOML documents to the existing JSON value tree without rounding numbers.
silk.json.textData formatsJsonTextDecode the text of a JSON string token, including its escapes, into owned bytes.
silk.json.valueData formatsJsonParse JSON into a tree of values, read fields from it, and write it back.
silk.machine.actorState machinesActorsActors: a machine that performs the effects its transitions queue.
silk.machine.chartState machinesChartStatecharts written as a static table over union types: [`Chart`] and [`Machine`].
silk.machine.childState machinesChildChild machines: a machine that a parent starts, sends events to and stops.
silk.machine.definitionState machinesDefinitionThe 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.exploreState machinesExplorerWalks a machine through every state it can reach: [`Explorer`] and [`Walk`].
silk.machine.generateState machinesGenerateSilk source from a `Definition`: the transition table of each chart as a static function.
silk.machine.pathsState machinesPathsPaths through a chart: how to reach each state, and which states cannot be reached.
silk.machine.rulesState machinesRulesPromises a machine keeps on every path, written once with their reason: [`Rules`].
silk.machine.simpleState machinesSimpleThe short form of a machine that has only states and events.
silk.machine.snapshotState machinesSnapshotThe whole state of a running machine as one value, and the steps that advance it: [`Snapshot`] and [`Steps`].
silk.machine.storeState machinesStoresStores: a context and one function that changes it for each event.
silk.machine.xstateState machinesXstateA `Definition` written as an xstate machine config, the JSON that xstate v6 reads with `machineFromJSON` and that Stately Studio draws.
silk.markdown.documentData formatsMarkdownDocumentA source-spanned Markdown tree with indexed nodes and borrowed source text.
silk.markdown.entitiesentities
silk.markdown.htmlData formatsMarkdownHtmlHTML output for Markdown trees, with escaped raw HTML and filtered destinations by default.
silk.markdown.textData formatsMarkdownTextVisible text, heading slugs, and document outlines for Markdown trees.
silk.mem.allocatorMemoryAllocatorThe `Allocator` service: the source of owned heap storage in the standard library.
silk.mem.arenaMemoryArenaA bump allocator over chunks it acquires from another allocator.
silk.mem.boxMemoryBoxOne owned value on the heap, for recursive data and for values that must have a fixed-size handle.
silk.mem.frozenMemoryFrozenShared ownership of one value that never changes, on one thread, with plain shared borrows.
silk.mem.internedMemoryInternedHandles to values that never change and are never freed, so a handle is a plain pointer.
silk.mem.layoutMemoryLayoutByte size and alignment values that describe the memory to request from an allocator.
silk.mem.metricsMemoryAllocationMetricsAllocation counters that an `Allocator` provider can keep and publish.
silk.mem.outputMemoryUninitializedOwned storage for one `Copy` value that a foreign function writes through a pointer.
silk.mem.pointerMemoryPointerRaw data pointers: make them, check them for null, move along them, and read and write through them.
silk.mem.prefetchMemoryPrefetchCache prefetch hints: tell the processor that the program will soon use the memory at a pointer.
silk.mem.raw_bufferMemoryRawBufferTyped raw storage made from an allocation, for code that implements containers.
silk.mem.sharedMemorySharedShared ownership of one mutable value on one thread, with access through callbacks.
silk.mem.slotMemorySlotInitialization-state changes for one element slot of raw storage.
silk.mem.stackMemoryStackThe 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_listMemoryVaListThe C variadic arguments of an `export "C"` function, read one at a time.
silk.msgpack.outputData formatsMsgpackOutputWrite MessagePack values one at a time through the ambient `Writer`.
silk.msgpack.scannerData formatsMsgpackScannerRead MessagePack data as a sequence of tokens, without building a tree and without allocating.
silk.msgpack.valueData formatsMsgpackParse MessagePack data into an owned tree of values, read fields from it, and write it back.
silk.net.addressNetworkingNetworkAddressIP addresses, ports, endpoints, and the host of a URI, as checked values that do not allocate.
silk.net.datagram_nativeNetworkingNativeUdpSocketNonblocking UDP sockets on the native system: send and receive whole datagrams.
silk.net.datagram_nativeNetworkingNativeUdpSocketNonblocking UDP sockets on the native system: send and receive whole datagrams.
silk.net.datagram_wasiNetworkingUdpSocketOwned UDP sockets and complete datagrams through WASI Preview 2.
silk.net.datagram_wasiNetworkingUdpSocketOwned UDP sockets and complete datagrams through WASI Preview 2.
silk.net.dns.client_nativeNetworkingNativeDnsClientAsk DNS servers questions from a native program, with system UDP and TCP sockets.
silk.net.dns.configNetworkingResolverConfigRead the DNS client settings of a system: name servers, search domains and query options.
silk.net.dns.messageNetworkingMessageRead and write DNS messages in the wire format of RFC 1035.
silk.net.dns.queryNetworkingExchangeSend one DNS question to the servers of a configuration, with retries and TCP fallback, without doing any input or output.
silk.net.resolverNetworkingResolverTurn a host and a port into a list of endpoints to connect to.
silk.net.resolver_nativeNetworkingNativeSystemResolverThe native `Resolver` provider using the system's `getaddrinfo`, or `GetAddrInfoW` on Windows.
silk.net.resolver_wasiNetworkingWasiResolverDNS resolution through a WASI Preview 2 network capability.
silk.net.resolver_wasiNetworkingWasiResolverDNS resolution through a WASI Preview 2 network capability.
silk.net.socket_nativeNetworkingNativeSocketTCP and Unix socket connections and listeners, as `ByteDuplex` providers.
silk.net.socket_nativeNetworkingNativeSocketTCP and Unix socket connections and listeners, as `ByteDuplex` providers.
silk.net.socket_wasiNetworkingwasi_socketTCP connections and listeners through WASI Preview 2 network capabilities.
silk.net.socket_wasiNetworkingwasi_socketTCP connections and listeners through WASI Preview 2 network capabilities.
silk.net.tcp_serverNetworkingTcpServerA 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_serverNetworkingTcpServerA 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.configData formatsNpmConfigRead 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.iniData formatsNpmIniParse the ini text of an `.npmrc` file into keys and values, the way npm reads it.
silk.num.f32Numbersf32IEEE binary32 values with deterministic representation, classification, and math operations.
silk.num.f64Numbersf64IEEE binary64 values and Silk's default floating-point arithmetic.
silk.num.i16Numbersi16Sixteen-bit signed integers with explicit overflow, conversion, and text policies.
silk.num.i32Numbersi32Thirty-two-bit signed integers and the default type of context-free integer literals.
silk.num.i64Numbersi64Sixty-four-bit signed integers for large fixed-width values and exact integer protocols.
silk.num.i8Numbersi8Eight-bit signed integers for compact values, byte-level formats, and narrow arithmetic.
silk.num.isizeNumbersisizePointer-width signed integers for offsets whose range follows the selected compilation target.
silk.num.numericNumbersNumericGeneric helpers and numeric contracts for algorithms over primitive numbers.
silk.num.u16Numbersu16Sixteen-bit unsigned integers with explicit arithmetic and conversion failure policies.
silk.num.u32Numbersu32Thirty-two-bit unsigned integers for fixed-width counts, masks, and binary fields.
silk.num.u64Numbersu64Sixty-four-bit unsigned integers for wide masks, counters, hashes, and exact interchange values.
silk.num.u8Numbersu8Eight-bit unsigned integers for bytes, compact counters, and exact binary representations.
silk.num.usizeNumbersusizePointer-width unsigned integers for lengths, indices, capacities, and allocation sizes.
silk.platform.linux.mappingNative platformMappingAnonymous memory mappings from the Linux kernel, for programs that run without libc.
silk.platform.linux.mappingNative platformMappingAnonymous memory mappings from the Linux kernel, for programs that run without libc.
silk.platform.linux.process_inputsNative platformProcessInputsThe arguments, environment and page size of a raw Linux process, read from the initial stack.
silk.platform.linux.process_inputsNative platformProcessInputsThe arguments, environment and page size of a raw Linux process, read from the initial stack.
silk.platform.linux.startNative platformRawStartThe program entry for a static, non-PIE Linux executable with no libc.
silk.platform.linux.syscallNative platformRawLinuxDirect Linux system calls for programs built with no libc.
silk.platform.linux.syscallNative platformRawLinuxDirect Linux system calls for programs built with no libc.
silk.platform.native.clockNative platformNativeClockDirect calls to the clocks of the system, for the native clock providers.
silk.platform.native.descriptorNative platformNativeDescriptorReads and writes on file descriptors that the caller owns, for native providers.
silk.platform.native.descriptorNative platformNativeDescriptorReads and writes on file descriptors that the caller owns, for native providers.
silk.platform.native.descriptorNative platformNativeDescriptorReads and writes on file descriptors that the caller owns, for native providers.
silk.platform.native.diagnosticsNative platformNativeDiagnosticsThe observer of native and wasm programs that reports unhandled errors and traps, with their call path.
silk.platform.native.diagnosticsNative platformNativeDiagnosticsThe observer of native and wasm programs that reports unhandled errors and traps, with their call path.
silk.platform.native.fileNative platformNativeFilePOSIX 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.fileNative platformNativeFilePOSIX 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.fileNative platformNativeFilePOSIX 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.filesystemNative platformNativeFileSystemThe system calls for files and directories, for the native `FileSystem` provider.
silk.platform.native.filesystemNative platformNativeFileSystemThe system calls for files and directories, for the native `FileSystem` provider.
silk.platform.native.host_inputNative platformNativeHostInputOwned copies of the command-line arguments and the environment of the process.
silk.platform.native.host_inputNative platformNativeHostInputOwned copies of the command-line arguments and the environment of the process.
silk.platform.native.kqueueNative platformKernelEventThe Darwin kqueue system calls and their C types, shared by the native providers that use them.
silk.platform.native.kqueueNative platformKernelEventThe Darwin kqueue system calls and their C types, shared by the native providers that use them.
silk.platform.native.processNative platformNativeProcessRuns a child process with the system calls, for the native `ChildProcess` provider.
silk.platform.native.processNative platformNativeProcessRuns a child process with the system calls, for the native `ChildProcess` provider.
silk.platform.native.reportNative platformNativeReportWrites the report of an unhandled error or a trap to a descriptor, with fixed limits.
silk.platform.native.reportNative platformNativeReportWrites the report of an unhandled error or a trap to a descriptor, with fixed limits.
silk.platform.native.startNative platformNativeStartThe default start code of a native program: it calls your `main` and returns its status.
silk.platform.native.start_syncNative platformNativeStartSyncA minimal start code for a native program whose `main` is an `i32` effect that requires `&mut HostInput`.
silk.platform.wasi.canonicalNative platformNot applicableThe canonical ABI allocator of every `wasm32-wasip2` component.
silk.platform.wasi.clockNative platformWasiClockWASI wall-clock and monotonic-clock operations.
silk.platform.wasi.clockNative platformWasiClockWASI wall-clock and monotonic-clock operations.
silk.platform.wasi.componentNative platformwasi_componentMemory and polling operations shared by WASI Preview 2 providers.
silk.platform.wasi.componentNative platformwasi_componentMemory and polling operations shared by WASI Preview 2 providers.
silk.platform.wasi.descriptorNative platformWasiDescriptorDescriptor reads and writes through WASI.
silk.platform.wasi.descriptorNative platformWasiDescriptorDescriptor reads and writes through WASI.
silk.platform.wasi.filesystemNative platformWasiFileSystemDescriptor-relative file operations within WASI preopened directories.
silk.platform.wasi.filesystemNative platformWasiFileSystemDescriptor-relative file operations within WASI preopened directories.
silk.platform.wasi.host_inputNative platformWasiHostInputA snapshot of WASI command arguments and environment variables.
silk.platform.wasi.host_inputNative platformWasiHostInputA snapshot of WASI command arguments and environment variables.
silk.platform.wasi.httpNative platformwasi_httpOwnership and canonical ABI operations for WASI Preview 2 HTTP providers.
silk.platform.wasi.httpNative platformwasi_httpOwnership and canonical ABI operations for WASI Preview 2 HTTP providers.
silk.platform.wasi.preview1Native platformwasiThe WASI Preview 1 canonical ABI, also used inside Preview 2 command components.
silk.platform.wasi.preview1Native platformwasiThe WASI Preview 1 canonical ABI, also used inside Preview 2 command components.
silk.platform.wasi.preview2Native platformwasi_preview2Raw imports for the WASI Preview 2 canonical ABI.
silk.platform.wasi.preview2Native platformwasi_preview2Raw imports for the WASI Preview 2 canonical ABI.
silk.platform.wasi.startNative platformwasi_startThe command entry for WASI Preview 1 and Preview 2.
silk.platform.wasi.streamNative platformwasi_streamOwned Preview 2 input and output streams with partial transfers and deadlines.
silk.platform.wasi.streamNative platformwasi_streamOwned Preview 2 input and output streams with partial transfers and deadlines.
silk.platform.wasm.heapNative platformNot applicableThe linear-memory heap of every wasm module, and the report buffer of a module without WASI.
silk.platform.wasm.heapNative platformNot applicableThe linear-memory heap of every wasm module, and the report buffer of a module without WASI.
silk.platform.wasm.hostNative platformJsHostRandom 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.hostNative platformJsHostRandom 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.threadNative platformNot applicableThe wasi-threads records of a multi-threaded wasm32 module.
silk.platform.wasm.threadNative platformNot applicableThe wasi-threads records of a multi-threaded wasm32 module.
silk.platform.wasm.supportNative platformNot applicableThe 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.supportNative platformNot applicableThe 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.startNative platformWasmStartThe program entry for the standalone LLVM-to-WebAssembly profile.
silk.platform.windows.clockWindows platformWindowsClockWindows wall and monotonic clocks without a C runtime.
silk.platform.windows.clockWindows platformWindowsClockWindows wall and monotonic clocks without a C runtime.
silk.platform.windows.command_lineWindows platformCommandLineMSVC command-line encoding and decoding over Windows UTF-16 code units.
silk.platform.windows.consoleWindows platformWindowsConsoleWindows standard-output and standard-error writes without a C runtime.
silk.platform.windows.consoleWindows platformWindowsConsoleWindows standard-output and standard-error writes without a C runtime.
silk.platform.windows.environmentWindows platformEnvironmentEntryDelimiter rules for Windows UTF-16 environment entries.
silk.platform.windows.filesystemWindows platformWindowsFileSystemHandle-relative filesystem operations for the Windows `OsFileSystem` provider.
silk.platform.windows.filesystemWindows platformWindowsFileSystemHandle-relative filesystem operations for the Windows `OsFileSystem` provider.
silk.platform.windows.heapWindows platformWindowsHeapProcess-heap storage for the Windows runtime and the system allocator.
silk.platform.windows.heapWindows platformWindowsHeapProcess-heap storage for the Windows runtime and the system allocator.
silk.platform.windows.host_inputWindows platformWindowsHostInputWindows `HostInput` with owned arguments and an environment snapshot in raw canonical WTF-8.
silk.platform.windows.host_inputWindows platformWindowsHostInputWindows `HostInput` with owned arguments and an environment snapshot in raw canonical WTF-8.
silk.platform.windows.host_pathWindows platformWindowsHostPathWindows 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_pathWindows platformWindowsHostPathWindows 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.inputWindows platformWindowsInputRaw-byte reads from the Windows standard-input handle.
silk.platform.windows.inputWindows platformWindowsInputRaw-byte reads from the Windows standard-input handle.
silk.platform.windows.pathWindows platformWindowsPathWindows host paths represented in an explicit machine-wide path namespace.
silk.platform.windows.processWindows platformWindowsProcessDirect Windows child execution with explicit inherited handles and owned process cleanup.
silk.platform.windows.processWindows platformWindowsProcessDirect Windows child execution with explicit inherited handles and owned process cleanup.
silk.platform.windows.process_imageWindows platformWindowsProcessImageInteractive 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_imageWindows platformWindowsProcessImageInteractive 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.randomWindows platformWindowsRandomSecure Windows random bytes without a C runtime.
silk.platform.windows.randomWindows platformWindowsRandomSecure Windows random bytes without a C runtime.
silk.platform.windows.startWindows platformWindowsStartSynchronous Windows executable entry without a C runtime.
silk.platform.windows.timeWindows platformWindowsTimeExact conversions between Windows clock units and Silk instants and marks.
silk.platform.windows.winsockWinsockScoped ownership of a Windows Winsock initialization reference.
silk.platform.windows.wtf8Windows platformWtf8Lossless conversion between Windows UTF-16 code units and canonical WTF-8 bytes.
silk.schema.codecData formatsCodecTwo-way conversions between a value and its form on the wire, and checks that refine them.
silk.schema.issueData formatsIssueThe problems a schema reports, and where in the value and the input they happened.
silk.schema.jsonData formatsSchemaJsonRead and write `Schema` types as JSON.
silk.schema.json_schemaData formatsJsonSchemasDescribe a `Schema` type as a JSON Schema, for validators, editors, and AI tools.
silk.schema.msgpackData formatsSchemaMsgpackRead and write `Schema` types as MessagePack.
silk.schema.pathData formatsSchemaPathWhere in a value a schema problem is: the steps from the root value to the part that failed.
silk.schema.reportData formatsSchemaReportShow the problems a schema found, as source snippets, one line each, or JSON.
silk.schema.schemaData formatsSchemaRead and write your own types in any data format, from the types alone.
silk.schema.shapeData formatsShapesOne description of a `Schema` type's wire form, for everything that needs to know it.
silk.schema.tomlData formatsSchemaTomlRead and write schema types as TOML.
silk.schema.yamlData formatsSchemaYamlRead and write `Schema` types as YAML.
silk.semver.rangeData formatsVersionRangeVersion ranges in the npm and Cargo syntaxes: parse a requirement and test versions against it.
silk.semver.versionData formatsVersionSemantic versions: strict SemVer 2.0.0 parsing, precedence, and display.
silk.simd.aarch64SIMDaarch64AArch64 NEON instructions that the portable `silk.simd.simd` operations do not express: table lookups, dot products, pairwise sums, and AES round steps.
silk.simd.cpuSIMDCpuFeaturesRuntime detection of the CPU features that the running machine has, to choose a kernel at run time.
silk.simd.f32x4SIMDf32x4Operations on `simd<f32, 4>`: four 32-bit float lanes in one 128-bit vector.
silk.simd.f32x8SIMDf32x8Operations on `simd<f32, 8>`: eight 32-bit float lanes in one 256-bit vector.
silk.simd.f64x2SIMDf64x2Operations on `simd<f64, 2>`: two 64-bit float lanes in one 128-bit vector.
silk.simd.f64x4SIMDf64x4Operations on `simd<f64, 4>`: four 64-bit float lanes in one 256-bit vector.
silk.simd.i16x16SIMDi16x16Operations on `simd<i16, 16>`: sixteen signed 16-bit integer lanes in one 256-bit vector.
silk.simd.i16x8SIMDi16x8Operations on `simd<i16, 8>`: eight signed 16-bit integer lanes in one 128-bit vector.
silk.simd.i32x4SIMDi32x4Operations on `simd<i32, 4>`: four signed 32-bit integer lanes in one 128-bit vector.
silk.simd.i32x8SIMDi32x8Operations on `simd<i32, 8>`: eight signed 32-bit integer lanes in one 256-bit vector.
silk.simd.i64x2SIMDi64x2Operations on `simd<i64, 2>`: two signed 64-bit integer lanes in one 128-bit vector.
silk.simd.i64x4SIMDi64x4Operations on `simd<i64, 4>`: four signed 64-bit integer lanes in one 256-bit vector.
silk.simd.i8x16SIMDi8x16Operations on `simd<i8, 16>`: sixteen signed 8-bit integer lanes in one 128-bit vector.
silk.simd.i8x32SIMDi8x32Operations on `simd<i8, 32>`: thirty-two signed 8-bit integer lanes in one 256-bit vector.
silk.simd.mask16SIMDmask16Operations on `mask<16>`: sixteen lanes that are each set or clear.
silk.simd.mask2SIMDmask2Operations on `mask<2>`: two lanes that are each set or clear.
silk.simd.mask32SIMDmask32Operations on `mask<32>`: thirty-two lanes that are each set or clear.
silk.simd.mask4SIMDmask4Operations on `mask<4>`: four lanes that are each set or clear.
silk.simd.mask8SIMDmask8Operations on `mask<8>`: eight lanes that are each set or clear.
silk.simd.simdSIMDsimdFacts about SIMD vectors on the target CPU of the current compilation.
silk.simd.u16x16SIMDu16x16Operations on `simd<u16, 16>`: sixteen unsigned 16-bit integer lanes in one 256-bit vector.
silk.simd.u16x8SIMDu16x8Operations on `simd<u16, 8>`: eight unsigned 16-bit integer lanes in one 128-bit vector.
silk.simd.u32x4SIMDu32x4Operations on `simd<u32, 4>`: four unsigned 32-bit integer lanes in one 128-bit vector.
silk.simd.u32x8SIMDu32x8Operations on `simd<u32, 8>`: eight unsigned 32-bit integer lanes in one 256-bit vector.
silk.simd.u64x2SIMDu64x2Operations on `simd<u64, 2>`: two unsigned 64-bit integer lanes in one 128-bit vector.
silk.simd.u64x4SIMDu64x4Operations on `simd<u64, 4>`: four unsigned 64-bit integer lanes in one 256-bit vector.
silk.simd.u8x16SIMDu8x16Operations on `simd<u8, 16>`: sixteen unsigned 8-bit integer lanes in one 128-bit vector.
silk.simd.u8x32SIMDu8x32Operations on `simd<u8, 32>`: thirty-two unsigned 8-bit integer lanes in one 256-bit vector.
silk.simd.wasmSIMDwasmWebAssembly SIMD instructions that the portable `silk.simd.simd` operations do not express: byte swizzles, dot products, and saturating narrows.
silk.simd.x86SIMDx86x86-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.bcmpCompiler supportNot applicableWord-wise compiler support with explicit C linkage and no runtime services.
silk.support.bzeroCompiler supportNot applicableSource-owned word-wise clearing for the Darwin LLVM zero-fill helper.
silk.support.memcmpCompiler supportNot applicableWord-wise compiler support with explicit C linkage and no runtime services.
silk.support.memcpyCompiler supportNot applicableWord-wise compiler support with explicit C linkage and no runtime services.
silk.support.memmoveCompiler supportNot applicableWord-wise compiler support with explicit C linkage and no runtime services.
silk.support.memsetCompiler supportNot applicableWord-wise compiler support with explicit C linkage and no runtime services.
silk.system.child_processSystemChildProcessRun another program, wait for it to end, and get its exit code and all of its output.
silk.system.child_process_nativeSystemOsChildProcessThe native provider of the `ChildProcess` effect: it runs real programs.
silk.system.child_process_nativeSystemOsChildProcessThe native provider of the `ChildProcess` effect: it runs real programs.
silk.system.child_process_nativeSystemOsChildProcessThe native provider of the `ChildProcess` effect: it runs real programs.
silk.system.filesystemSystemFileSystemFiles and directories through the `FileSystem` effect: paths, whole-file reads and writes, atomic writes, directory listings, and temporary directories.
silk.system.filesystem_machineSystemMachineFileSystemA filesystem provider for absolute paths in the host machine namespace.
silk.system.filesystem_machineSystemMachineFileSystemA filesystem provider for absolute paths in the host machine namespace.
silk.system.filesystem_nativeSystemOsFileSystemThe native provider of the `FileSystem` effect, confined to one directory of the host.
silk.system.filesystem_nativeSystemOsFileSystemThe native provider of the `FileSystem` effect, confined to one directory of the host.
silk.system.glob_scanSystemglob_scanFind the files and directories that a glob pattern matches, by walking directories through the `FileSystem` effect.
silk.system.host_inputSystemHostInputThe `HostInput` effect: the command-line arguments, environment variables, and working directory of the process, as bytes.
silk.system.host_input_nativeSystemOsHostInputThe native provider of the `HostInput` effect: command-line arguments, environment, and the working directory.
silk.system.host_input_nativeSystemOsHostInputThe native provider of the `HostInput` effect: command-line arguments, environment, and the working directory.
silk.system.insecure_randomSystemInsecureRandomThe `InsecureRandom` effect: a fast pseudorandom sequence that repeats for the same seed.
silk.system.insecure_seedSystemInsecureSeedThe `InsecureSeed` effect: one fixed 128-bit value that a program reads when it starts.
silk.system.monotonic_clockSystemMonotonicClockThe `MonotonicClock` effect: time that never goes back, for durations, timeouts, and waits.
silk.system.monotonic_clock_nativeSystemOsMonotonicClockThe system provider of the `MonotonicClock` effect: a clock that never goes back.
silk.system.randomSystemRandomThe `Random` effect: random bytes that are safe for secrets.
silk.system.random_nativeSystemOsRandomThe system provider of the `Random` effect: secure random bytes from the operating system or the JavaScript host.
silk.system.signal_watchSystemSignalWatchReceive process signals, such as an interrupt or a terminal resize, through a descriptor that an event loop can watch.
silk.system.signal_watchSystemSignalWatchReceive process signals, such as an interrupt or a terminal resize, through a descriptor that an event loop can watch.
silk.system.subprocessSystemSubprocessStart 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.subprocessSystemSubprocessStart 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_clockSystemSystemClockThe `SystemClock` effect: the current date and time.
silk.system.system_clock_nativeSystemOsSystemClockThe system provider of the `SystemClock` effect: the time of day, as seconds since 1970.
silk.system.system_clock_nativeSystemOsSystemClockThe system provider of the `SystemClock` effect: the time of day, as seconds since 1970.
silk.system.system_infoSystemSystemInfoThe `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_nativeSystemOsSystemInfoThe native provider of the `SystemInfo` effect: facts about the computer and the process from the C library and the kernel.
silk.system.system_info_nativeSystemOsSystemInfoThe native provider of the `SystemInfo` effect: facts about the computer and the process from the C library and the kernel.
silk.system.terminalSystemTerminalRead the size of a terminal, and switch it between its normal mode and raw mode.
silk.system.terminalSystemTerminalRead the size of a terminal, and switch it between its normal mode and raw mode.
silk.testing.exchangeTestingTestExchangeThe binary plan and receipt formats that let `silk test` control the test runner.
silk.testing.observationTestingTestObservationWhat a test reads of the host while the test runner watches it.
silk.testing.runnerTestingTestRunnerThe built-in test runner that `silk test` selects. It runs tests one at a time.
silk.testing.selectionTestingTestSelectionHow the built-in test runner skips a passing test whose code and inputs did not change.
silk.testing.testingTestingTestingAssertions for tests, and the filter rules that the test runner uses to select tests.
silk.text.bidiTextbidiThe 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_searchTextbyte_searchFast 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.charTextcharConversion between `char` and integers, and named comparison functions for `char`.
silk.text.diffTextdiffLine diffs, unified diff text, and reading and applying patches.
silk.text.edit_distanceTextedit_distanceEdit distances: the smallest number of single-character edits that turn one text into another.
silk.text.formatTextFormatText output for values through the ambient `Writer`, compile-time checked templates, and decimal parsing.
silk.text.globTextglobGlob patterns: compile a pattern such as `src/**/*.{silk,toml}` and test paths against it, and inspect text for glob syntax.
silk.text.idnaIdnaConvert international domain names with UTS #46 processing (Unicode 18.0.0), and encode and decode Punycode (RFC 3492).
silk.text.idna_dataNot applicableUnicode 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_breakTextline_breakLine break opportunities: the Unicode Line Breaking Algorithm (UAX #14) with CSS tailoring, with data from Unicode 18.0.0.
silk.text.regexTextRegexECMAScript Unicode regular expressions for text and JSON Schema patterns.
silk.text.regex_shapeTextRegexShapeThe structure of an ECMAScript Unicode regular expression, read during compilation.
silk.text.regex_unicodeTextNot applicableUnicode 17.0.0 case folding, property and range tables for `silk.text.regex`.
silk.text.script_itemizationTextscript_itemizationScript itemization: the split of a text into runs of one script each (UAX #24), with data from Unicode 18.0.0.
silk.text.segmentationTextsegmentationGrapheme cluster, word and sentence boundaries (UAX #29), with data from Unicode 18.0.0.
silk.text.stringTextStringUTF-8 text: owned strings, validation of bytes, search, splitting, trimming, and traversal one Unicode scalar at a time.
silk.text.unicodeTextUnicodeUnicode canonical normalization (NFC and NFD), canonical composition, and the Boolean and mapping character properties, with data from Unicode 18.0.0.
silk.text.unicode_dataunicode_data
silk.text.unicode_propertiesGeneralCategory
silk.text.unicode_scriptTextScriptUnicode scripts as ISO 15924 values, and the Script and Script_Extensions properties, with data from Unicode 18.0.0.
silk.text.utf8_decoderTextUtf8DecoderDecoding of UTF-8 one byte at a time, for input that arrives in chunks. No allocation.
silk.text.utf8_scanTextutf8_scanRandom-access decoding of one Unicode scalar from UTF-8 bytes, for text algorithms that scan by byte offset.
silk.text.vertical_textTextvertical_textCharacter orientation in vertical text (UAX #50), with data from Unicode 18.0.0.
silk.text.word_dictionaryTextIcuDictionaryDictionary word segmentation for Thai, Lao, Khmer and Myanmar text, for line breaking, with the dictionaries of ICU 78.1.
silk.text.word_dictionary_khmerTextword_dictionary_khmerThe packed ICU Khmer word dictionary trie for `silk.text.word_dictionary`.
silk.text.word_dictionary_laoTextword_dictionary_laoThe packed ICU Lao word dictionary trie for `silk.text.word_dictionary`.
silk.text.word_dictionary_myanmarTextword_dictionary_myanmarThe packed ICU Burmese (Myanmar) word dictionary trie for `silk.text.word_dictionary`.
silk.text.word_dictionary_thaiTextword_dictionary_thaiThe packed ICU Thai word dictionary trie for `silk.text.word_dictionary`.
silk.time.calendarTimeCalendarDates in other calendars than ISO 8601: [`Calendar`], [`CalendarDate`], [`Era`], and [`MonthCode`].
silk.time.calendar_dataTimeCalendarDataTables of the calendars of `silk.time.calendar` that cannot be computed with a short rule.
silk.time.civilTimecivilCalendar 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.codecTimeTimeTextCodecs 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.durationTimeDurationExact elapsed time: the [`Duration`] type, a signed span of seconds and nanoseconds.
silk.time.instantTimeInstantPoints in time: the [`Instant`] type, a moment on the UTC timeline with nanosecond precision.
silk.time.markTimeMarkReadings of a monotonic clock: the [`Mark`] type.
silk.time.nowTimeNowThe present moment as each `silk.time` type: [`Now`] reads the `SystemClock` effect and, for local values, a `Zone`.
silk.time.offsetTimeUtcOffsetFixed offsets from UTC: the [`UtcOffset`] type.
silk.time.patternTimeTimePatternWrites and reads dates and times with `strftime` patterns, such as `%Y-%m-%d %H:%M:%S %z`.
silk.time.periodTimePeriodCalendar 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_dateTimePlainDateCalendar dates without a time or a time zone: the [`PlainDate`] type and [`Weekday`].
silk.time.plain_date_timePlainDateTimeDates with a time of day and no time zone: the [`PlainDateTime`] type.
silk.time.plain_month_dayTimePlainMonthDayDays of the year without a year: the [`PlainMonthDay`] type, such as November 19.
silk.time.plain_timePlainTimeTimes of day without a date or a time zone: the [`PlainTime`] type.
silk.time.plain_year_monthTimePlainYearMonthMonths of specific years: the [`PlainYearMonth`] type, such as November 2026.
silk.time.relativeTimeRelativeToPeriods measured from a starting point: [`RelativeTo`] rounds a `Period`, gives its total in one unit, and changes its largest unit.
silk.time.roundingTimeRoundingModeHow `silk.time` rounds: the [`RoundingMode`], the [`TimeUnit`], and the [`TimeIncrement`] that the `round` functions of the time types take.
silk.time.textTimetextThe 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_asn1TimeAsn1TimeThe two time types of ASN.1 in the DER form that X.509 certificates use: UTCTime and GeneralizedTime.
silk.time.text_httpTimeHttpDateThe date and time format of HTTP header fields such as `Date`, `Last-Modified`, and `Expires`.
silk.time.zoneTimeZoneTime 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.zonedTimeZonedDateTimeInstants 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.zonesTimeTimeZonesWhere 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_bundleTimeZoneBundleA `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_bundledTimeBundledTimeZonesThe time zone database that the standard library carries: a `TimeZones` provider with the same zones on every target.
silk.time.zones_nativeTimeOsTimeZonesThe system providers of the `TimeZones` and `LocalZone` effects: the time zone database and the zone setting of the operating system.
silk.time.zones_nativeTimeOsTimeZonesThe system providers of the `TimeZones` and `LocalZone` effects: the time zone database and the zone setting of the operating system.
silk.tls.certificateTLS and certificatesCertificateDecode one X.509 certificate from DER or PEM, and read its fields.
silk.tls.certificate_bundleTLS and certificatesCertificateBundleDecode a PEM file with one or more certificates, such as a certificate chain or a CA bundle.
silk.tls.certificate_identitiesTLS and certificatesCertificateSanDecode the subject alternative names (SAN) of a certificate: the DNS names and IP addresses that it is for.
silk.tls.certificate_pathTLS and certificatesCertificatePathValidate the certificate chain of a TLS server or client, from its leaf certificate to a trust anchor.
silk.tls.certificate_pemTLS and certificatesPemInternal strict PEM framing and canonical base64 for owned certificate decoders.
silk.tls.certificate_profileTLS and certificatesCertificateProfileCheck one certificate against the TLS server certificate profile, and read its extensions.
silk.tls.certificate_textTLS and certificatesCertificateTextText forms of certificate fields as OpenSSL prints them: object names, distinguished names, validity times, and serial numbers.
silk.tls.clientTLS and certificatesClientA TLS 1.2 and TLS 1.3 client state machine that authenticates an HTTPS server over a byte transport that you drive.
silk.tls.connectionTLS and certificatesOwnedConnectionAn authenticated TLS 1.2 or TLS 1.3 connection over a `ByteDuplex` transport, with timeouts and close handling.
silk.tls.hkdfTLS and certificatesTlsHkdfSha256The TLS 1.3 key schedule functions `HKDF-Expand-Label` and `Derive-Secret` (RFC 8446, section 7.1).
silk.tls.https_identityTLS and certificatesHttpsIdentityCheck that a server certificate is for the host name or IP address in an HTTPS URL (RFC 6125 and RFC 9110).
silk.tls.prfTLS and certificatesTlsPrfThe 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.recordTLS and certificatesTlsRecordSenderFrame 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.serverTLS and certificatesServerA 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.signatureTLS and certificatesHandshakeSignatureCheck 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_protocolTLS and certificatesTlsProtocolServe TLS 1.3 on a `silk.net.tcp_server` engine, with the certificate chain and private key loaded from PEM text.
silk.tls.trust_anchorTLS and certificatesTrustAnchorA trust anchor: a CA certificate that you trust, with optional limits that you add.
silk.tls.trust_snapshotTLS and certificatesTrustSnapshotA fixed list of trust anchors: the root CAs that certificate path validation starts from.
silk.tls.trust_sourceTLS and certificatesTrustSourceThe `TrustSource` effect: where a program gets its trust anchors.
silk.tls.trust_source_memoryTLS and certificatesMemoryTrustSourceA `TrustSource` provider that holds a trust snapshot in memory.
silk.tls.trust_source_nativeTLS and certificatesNativeFileTrustSourceA native `TrustSource` provider that loads trust anchors from one PEM file.
silk.tls.trust_source_nativeTLS and certificatesNativeFileTrustSourceA native `TrustSource` provider that loads trust anchors from one PEM file.
silk.tls.trust_source_windowsTLS and certificatesWindowsRootTrustSourceA `TrustSource` provider for the current user's Windows `ROOT` certificate store.
silk.tls.trust_source_windowsTLS and certificatesWindowsRootTrustSourceA `TrustSource` provider for the current user's Windows `ROOT` certificate store.
silk.toml.codecData formatsTomlCodecConvert TOML values to Silk values, and write Silk values as TOML.
silk.toml.formatData formatsTomlFormatFormat TOML documents without changing comments, value spellings, or declaration order.
silk.toml.outputData formatsTomlOutputWrite a TOML document or a single TOML string or key through the ambient `Writer`.
silk.toml.scannerData formatsTomlScannerValidate TOML source and read it as a sequence of tokens.
silk.toml.textData formatsTomlTextDecode TOML string tokens into owned UTF-8 text.
silk.toml.valueData formatsTomlParse a TOML document into an owned tree of values, and read fields from it.
silk.traceTraceDistributed tracing and metrics for code with or without an effect requirement.
silk.trace.contextSpanContextThe trace identifiers and flags that cross process and execution boundaries.
silk.trace.hookTraceHookBound functions used by the compiler at the entry and exits of a traced declaration.
silk.trace.logOtelLoggerRecords structured ambient log events with the current W3C trace and span identifiers.
silk.trace.metricMetricCumulative OpenTelemetry instrument updates backed by a recorder's preallocated series.
silk.trace.otlpOtlpJsonOTLP/HTTP JSON encoding for recorder batches.
silk.trace.perfettoPerfettoPerfetto trace encoding and decoding for recorder batches and counter samples.
silk.trace.recordRecorderBounded recording of OpenTelemetry spans and their parent contexts.
silk.trace.signalsSignalStateBounded recorder storage for structured logs and cumulative metric series.
silk.trace.sinkSinkDestinations for recorder batches. Export runs in the caller's effect.
silk.trace.storageStoragePinned, preallocated storage for independently claimed recorder slots.
silk.trace.valuesAttributesBounded, owned attribute values used by recorded spans, logs and metrics.
silk.uri.componentsData formatsUriComponentsBuild a URI reference from its components, or change the components of a parsed one.
silk.uri.percentData formatsUriPercentPercent-encode bytes for a URI component, and decode `%XX` escapes.
silk.uri.referenceData formatsUriReferenceParse a URI or a relative reference (RFC 3986) and read its components without allocation.
silk.uri.uriData formatsUriParse an absolute URI (RFC 3986), and resolve relative references against it.
silk.url.formUrlFormRead 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.hostUrlHostParse and serialize the host of a URL as the WHATWG URL Standard specifies: domains, IPv4 and IPv6 addresses, and opaque hosts.
silk.url.percentUrlPercentPercent-encode and percent-decode text with the encode sets of the WHATWG URL Standard.
silk.url.urlUrlParse, serialize, and change URLs as the WHATWG URL Standard specifies, the way web browsers and JavaScript's `URL` do.
silk.xml.documentData formatsXmlDocumentParse an XML 1.0 document into an owned, namespace-aware tree of elements, text, comments, and processing instructions.
silk.yaml.documentData formatsYamlDocumentParse YAML into a compact document, and read values from it.
silk.yaml.outputData formatsYamlOutputWrite YAML text: a whole `YamlDocument`, or values one at a time with `YamlEmitter`.

Profile identities:

  • aarch64-apple-darwin: target aarch64-apple-darwin.

  • aarch64-unknown-linux-gnu: target aarch64-unknown-linux-gnu.

  • aarch64-unknown-linux-gnu-no-libc: target aarch64-unknown-linux-gnu.

  • x86_64-unknown-linux-gnu: target x86_64-unknown-linux-gnu.

  • x86_64-unknown-linux-gnu-no-libc: target x86_64-unknown-linux-gnu.

  • wasm32-unknown-unknown: target wasm32-unknown-unknown.

  • wasm32-wasip1: target wasm32-wasip1.

  • wasm32-wasip2: target wasm32-wasip2.

  • x86_64-pc-windows-msvc: target x86_64-pc-windows-msvc.

  • wasm64-unknown-unknown: target wasm64-unknown-unknown.

See also#

View the source of this page