aboutsummaryrefslogtreecommitdiffstats
path: root/components/atoms/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-2/+2
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-2/+2
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* Bump string_cache, html5ever and xml5everBastien Orivel2017-12-071-1/+1
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* remove workspace key for components/atomsNathan Froyd2017-07-271-1/+0
| | | | | | | Cargo will already traverse up the directory hierarchy to find an appropriate workspace, so we don't need to specify anything here. This change brings components/atoms/Cargo.toml in line with other Cargo.toml files in the tree.
* Bump serde to 1.0Bastien Orivel2017-06-161-1/+1
|
* Update string-cache.Emilio Cobos Álvarez2017-04-071-2/+2
|
* Update serde to 0.9 (fixes #15325)Anthony Ramine2017-02-181-1/+1
|
* Move to Cargo workspacesAnthony Ramine2016-11-281-0/+1
|
* Update to string-cache 0.3Simon Sapin2016-11-031-0/+16