graphannis-malloc_size_of

Crates.iographannis-malloc_size_of
lib.rsgraphannis-malloc_size_of
version2.0.0
sourcesrc
created_at2018-08-05 19:02:20.95403
updated_at2023-02-14 14:50:31.016509
descriptionThis is a fork of the `malloc_size_of` crate, which is part of the Servo codebase, to make it available to the graphANNIS corpus search library as dependency.
homepage
repositoryhttps://github.com/corpus-tools/graphannis-malloc_size_of
max_upload_size
id77656
size38,509
Thomas Krause (thomaskrause)

documentation

README

Documentation link

graphannis-malloc_size_of

This is a fork of the malloc_size_of crate, which is part of the Servo codebase but was not published on crates.io at the time of the fork. The intention of this fork is to make the functionality of the original crate available to the graphANNIS corpus search library, which is published on crates.io.

The following changes have been made in comparision to the original crate:

  • References and implementations to internal/unpublished Servo crates have been removed.
  • All dependencies have been made optional, so if you want to use the memory size calculation for types not in the standard library you have to activate these as a feature. The following crates are available as optional dependencies/features:
    • app_units
    • cssparser
    • serde
    • serde_bytes
    • smallbitvec
    • smallvec
    • smartstring
    • string_cache
    • thin-slice
    • url
    • void
    • xml5ever
Commit count: 103

cargo fmt