v/vlib
Delyan Angelov 08a739d793
Some checks failed
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (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
native backend CI / native-backend-ubuntu (push) Has been cancelled
native backend CI / native-backend-windows (push) Has been cancelled
Sanitized CI / sanitize-undefined-clang (push) Has been cancelled
Sanitized CI / sanitize-undefined-gcc (push) Has been cancelled
Sanitized CI / tests-sanitize-address-clang (push) Has been cancelled
Sanitized CI / sanitize-address-msvc (push) Has been cancelled
Sanitized CI / sanitize-address-gcc (push) Has been cancelled
Sanitized CI / sanitize-memory-clang (push) Has been cancelled
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Has been cancelled
wasm backend CI / wasm-backend (windows-2022) (push) Has been cancelled
ci: cleanup .gitattributes, runes.txt and input_rune_iterator_test.v
2025-09-05 18:34:13 +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 ci: cleanup .gitattributes, runes.txt and input_rune_iterator_test.v 2025-09-05 18:34:13 +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 tests: fix all warnings for v test-all on linux 2025-05-19 16:16:53 +03:00
encoding encoding.base64: fix doc comment examples 2025-08-13 17:59:09 +03:00
eventbus all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
flag flag: clean up flag_to_tail_bool_test.v (#25192) 2025-08-30 02:18:58 +03:00
fontstash checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
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 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: replace division with Knuth, improve performance (#25242) 2025-09-05 16:47:25 +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,ci: use a conditional include, instead of a platform file, to include libproc.h on macos only 2025-09-05 12:50:30 +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 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 doc: describe the new 4th column of the profiler output, and its compatibility with tcc & multithreading; describe better the stib comp parameter (#24358) 2025-04-30 08:20:12 +03:00
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 tests: fix v -W vlib/toml/tests/encode_and_decode_test.v 2025-06-22 13:30:43 +03:00
v ci: cleanup .gitattributes, runes.txt and input_rune_iterator_test.v 2025-09-05 18:34:13 +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 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.