[go: up one dir, main page]

re_types 0.9.1-rc.4

The built-in Rerun data types, component types, and archetypes.
Documentation
[package]
name = "re_types"
authors.workspace = true
description = "The built-in Rerun data types, component types, and archetypes."
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
publish = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true


[package.metadata.docs.rs]
all-features = false
no-default-features = true
features = ["all"]


[features]
default = []

## All features except `testing`.
all = ["ecolor", "glam", "serde"]

## Enables the `datagen` module, which exposes a number of tools for generating random data for
## tests and benchmarks.
datagen = ["dep:rand"]

## Enable color conversions.
ecolor = ["dep:ecolor"]

## Add support for some math operations using [`glam`](https://crates.io/crates/glam/).
glam = ["dep:glam"]

## Integration with the [`image`](https://crates.io/crates/image/) crate, plus JPEG support.
image = ["dep:ecolor", "dep:image", "dep:zune-core", "dep:zune-jpeg"]

## Enable (de)serialization using serde.
serde = ["dep:serde", "re_string_interner/serde"]

## Include testing archetypes/components/datatypes into the crate.
## Only useful for testing purposes.
testing = []

## Special hack!
##
## If you configure rust-analyzer to set `--all-features,
## then this feature will be set and that will ensure that
## `rust-analyzer` won't run the (expensive) `build.rs`!
__opt_out_of_auto_rebuild = []


[dependencies]
# Rerun
re_error.workspace = true
re_log.workspace = true
re_string_interner.workspace = true
re_tracing.workspace = true

# External
anyhow.workspace = true
array-init.workspace = true
arrow2 = { workspace = true, features = [
  "io_ipc",
  "io_print",
  "compute_concatenate",
] }
arrow2_convert.workspace = true
backtrace.workspace = true
bytemuck = { workspace = true, features = ["derive", "extern_crate_alloc"] }
document-features.workspace = true
infer.workspace = true
itertools.workspace = true
half = { workspace = true, features = ["bytemuck"] }
mime_guess.workspace = true
ndarray.workspace = true
once_cell.workspace = true
smallvec.workspace = true
thiserror.workspace = true
uuid = { workspace = true, features = ["serde", "v4", "js"] }

# External (optional)
ecolor = { workspace = true, optional = true }
glam = { workspace = true, optional = true }
image = { workspace = true, optional = true, default-features = false }
rand = { workspace = true, optional = true, features = ["std", "std_rng"] }
serde = { workspace = true, optional = true, features = ["derive", "rc"] }
zune-core = { workspace = true, optional = true }
zune-jpeg = { workspace = true, optional = true }


[dev-dependencies]

# External
glam.workspace = true
itertools.workspace = true
similar-asserts.workspace = true


[build-dependencies]

# Rerun
re_build_tools.workspace = true
re_types_builder.workspace = true

# External
rayon.workspace = true


[[test]]
name = "fuzzy"
path = "tests/fuzzy.rs"
required-features = ["testing"]