v/vlib
Felipe Pena 4f8a3dafb3
Some checks are pending
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
native backend CI / native-backend-windows (push) Waiting to run
native backend CI / native-backend-ubuntu (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Waiting to run
wasm backend CI / wasm-backend (windows-2022) (push) Waiting to run
checker: fix missing check for struct generic init from call (fix #25084) (#25119)
2025-08-17 02:17:56 +03:00
..
archive archive.tar: fix type in new_compressor fn name (#25006) 2025-07-30 19:49:00 +03:00
arrays arrays: fix v doc -unsafe-run-examples -f none vlib/arrays/ too 2025-08-13 17:28:59 +03:00
benchmark docs: cleanup doc comments of public APIs in benchmark, bitfield, and build 2025-07-02 16:54:17 +03:00
bitfield bitfield: fix v doc -unsafe-run-examples -f none vlib/bitfield/ too 2025-08-13 17:19:07 +03:00
build docs: cleanup doc comments of public APIs in benchmark, bitfield, and build 2025-07-02 16:54:17 +03:00
builtin builtin,vdoc: make v doc -unsafe-run-examples -time -f ansi vlib/builtin/ pass too 2025-08-13 16:28:37 +03:00
cli docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
clipboard docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
compress compress.deflate,compress.gzip,compress.zlib,compress.zstd: fix v doc -unsafe-run-examples -f none vlib/compress/ too 2025-08-13 17:43:33 +03:00
context ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
coroutines
crypto crypto: fix ambiguous expressions in DES implementation (#24814) 2025-06-30 21:51:02 +03:00
datatypes ci: add a watchdog timer thread to ringbuffer_test.v, to make sure the program exits in a reasonable time (~10s). Let the test be retried 2 times in a row if it fails. 2025-07-22 12:48:29 +03:00
db db.sqlite: fix get_text trimming data after (including) first 0 character (#25040) 2025-08-05 08:54:48 +03:00
dl docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
dlmalloc
encoding encoding.base64: fix doc comment examples 2025-08-13 17:59:09 +03:00
eventbus
flag docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
fontstash
gg gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
gx gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
hash docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
io
js
json markused: fix option tracking on sumtype (fix #25025) (#25028) 2025-08-03 10:12:32 +03:00
log log: use @[noinline] for level_from_tag/1 and target_from_label/1 to avoid triggering panics for programs using log, compiled with -prod and -cc gcc>10 (fix #24874) 2025-07-10 14:43:42 +03:00
maps
math math.big: fix integer_from_int(min_int) edge case, add tests (#25120) 2025-08-17 01:45:47 +03:00
net net.http: reduce the false positives on the CI for server_test.v, let test_host_header_sent_to_server return early, when the server can not start 2025-08-16 11:53:44 +03:00
orm orm: support lowercase operators like, in, not in etc (fix #25032) (#25035) 2025-08-04 08:27:44 +03:00
os os: simplify file.c.v using cross platform f.seek/2 calls, add EINTR handling to f.write_full_buffer/2 (fix #25107) (#25110) 2025-08-15 08:02:34 +03:00
picoev docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
picohttpparser
pool pool: fix idle_conns assertion in test_pool_close (#24932) 2025-07-20 11:14:57 +03:00
rand docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
readline readline: fix doc comment example by removing it 2025-08-13 18:03:10 +03:00
regex tools: fix return"" in vdoc html output (fix #24979) 2025-07-31 10:33:35 +03:00
runtime os,runtime: move some C struct and fn def to builtin (#24942) 2025-07-22 07:55:53 +03:00
semver semver: fix doc comment examples 2025-08-13 18:16:57 +03:00
sokol sokol.audio: fix doc comment examples 2025-08-13 17:54:45 +03:00
stbi
strconv strconv: fix bounds check bug, discovered by the equivalent of ./v -g -force-bounds-checking test vlib/toml/ (thanks to tankf33der) 2025-07-23 15:38:04 +03:00
strings docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
sync os,runtime: move some C struct and fn def to builtin (#24942) 2025-07-22 07:55:53 +03:00
term docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
time decoder2: fix remaining json2 discrepancies (#25029) 2025-08-03 10:27:43 +03:00
toml tests: fix v -W vlib/toml/tests/encode_and_decode_test.v 2025-06-22 13:30:43 +03:00
v checker: fix missing check for struct generic init from call (fix #25084) (#25119) 2025-08-17 02:17:56 +03:00
v2 v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run 2025-07-03 09:46:01 +03:00
vanilla_http_server parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652) 2025-06-08 11:44:38 +03:00
veb vdoc: enable example lines that have explicit imports too, fixup the remaining vlib examples, so v doc -v -unsafe-run-examples -f none vlib/ could be added to the CI 2025-08-13 21:02:14 +03:00
vweb vdoc: enable example lines that have explicit imports too, fixup the remaining vlib examples, so v doc -v -unsafe-run-examples -f none vlib/ could be added to the CI 2025-08-13 21:02:14 +03:00
wasm
x gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
.vdocignore
README.md

page title index
index V standard library documentation V stdlib

This site contains the documentation for the standard library of modules included with the V language. Also commonly referred to as vlib, as that is the root directory for these modules in the V repository.

If you were looking for documentation for the language itself, the builtin types, operators, et. al., please use the V documentation link.

Some included modules depend on third party libraries, and these are kept separate in the thirdparty directory at the root level of the source repository.

Note that the builtin module is implicitly imported by default in V, so you do not need to have a specific import statement to use any of the features of that module.