v/vlib
Leo Developer 2b4253caf9
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-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (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
time: always return utc() timezone for Time.unix/0 (fix #17784) (#25233)
2025-09-05 00:22:52 +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
bitfield bitfield: fix v doc -unsafe-run-examples -f none vlib/bitfield/ too 2025-08-13 17:19:07 +03:00
build
builtin builtin, checker, cgen: expose is_embed in FieldData (#25232) 2025-09-04 11:39:24 +03:00
cli
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
coroutines
crypto
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
dlmalloc
encoding encoding.base64: fix doc comment examples 2025-08-13 17:59:09 +03:00
eventbus
flag flag: clean up flag_to_tail_bool_test.v (#25192) 2025-08-30 02:18:58 +03:00
fontstash
gg examples,gg: add examples/gg/grid_of_rectangles.v; add gg.Context.draw_rect_filled_no_context/5 and gg.Context.draw_rect_empty_no_context/5 2025-09-01 23:28:47 +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
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: remove Newton-raphson division, remove related tests (#25168) 2025-08-26 04:06:07 +03:00
net net: improve tracing output for -d trace_tcp; move error_code() calls right after the corresponding C APIs (errno is a global that should be read immediately to be valid) 2025-08-30 00:11:19 +03:00
orm time: always return utc() timezone for Time.unix/0 (fix #17784) (#25233) 2025-09-05 00:22:52 +03:00
os os,sync: enable running v -cross -o x.c cmd/v on windows too (part 1, fix V errors) 2025-08-26 18:09:53 +03:00
picoev
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 wide char display width for Chinese characters (fix #25219) (#25220) 2025-09-02 18:01:26 +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: produce a maximum of 8 digits after the . for f32.str() (fix #25141) (#25144) 2025-08-20 22:41:25 +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,sync: enable running v -cross -o x.c cmd/v on windows too (part 1, fix V errors) 2025-08-26 18:09: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 time: always return utc() timezone for Time.unix/0 (fix #17784) (#25233) 2025-09-05 00:22:52 +03:00
toml
v time: always return utc() timezone for Time.unix/0 (fix #17784) (#25233) 2025-09-05 00:22:52 +03:00
v2
vanilla_http_server
veb veb: fix a spurious error with Chromium, for POST requests, split into 2 parts, 1st with only http headers, without body (fix #25191) (#25195) 2025-08-30 12:56:21 +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 decoder2: add support for decoding utf-16 surrogates, produced by some JSON encoder implementations (Python, Java, C#) (#25193) 2025-08-30 13:02:39 +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.