Cargo Features

[dependencies]
tquic = { version = "1.5.0", default-features = false, features = ["ffi", "qlog", "h3"] }
default = h3, qlog

These default features are set whenever tquic is added without default-features = false somewhere in the dependency tree.

ffi

build the FFI API

qlog default

enable support for the qlog

Enables serde, serde_derive, serde_json, and serde_with

Affects ffi::quic_conn_set_qlog, ffi::quic_conn_set_qlog_fd

h3 default

enable support for h3

Enables sfv

Affects ffi::http3_config_new, ffi::http3_config_free, ffi::http3_config_set_max_field_section_size, ffi::http3_config_set_qpack_max_table_capacity, ffi::http3_config_set_qpack_blocked_streams, ffi::http3_conn_new, ffi::http3_conn_free, ffi::http3_send_goaway, ffi::http3_conn_set_events_handler, ffi::http3_for_each_setting, ffi::http3_conn_process_streams, ffi::http3_for_each_header, ffi::http3_stream_read_finished, ffi::http3_stream_new, ffi::http3_stream_new_with_priority, ffi::http3_stream_close, tquic::h3