Cargo Features

[dependencies]
javascriptcore-rs = { version = "1.1.2", default-features = false, features = ["v2_28", "v2_38"] }
default = v2_38

The v2_38 feature is set by default whenever javascriptcore-rs is added without default-features = false somewhere in the dependency tree.

v2_28 v2_38

Enables v2_28 of javascriptcore-rs-sys

Affects value::ValueExt.to_json

v2_38 default = v2_28

Enables v2_38 of javascriptcore-rs-sys

Affects enums::TypedArrayType, value::ValueExt.array_buffer_get_size, value::ValueExt.is_array_buffer, value::ValueExt.is_typed_array, value::ValueExt.new_typed_array_with_buffer, value::ValueExt.typed_array_get_buffer, value::ValueExt.typed_array_get_length, value::ValueExt.typed_array_get_offset, value::ValueExt.typed_array_get_size, value::ValueExt.typed_array_get_type, value::ValueExtManual.array_buffer_get_data, value::ValueExtManual.typed_array_get_data, value::TypedArrayData