mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
We cannot compile with just feature(gecko + debug_assertions), since that's how debug rusttests get compiled and they don't have the refcount logging stuff. We were getting away with it for the pre-existing usage of the style crate, because it wasn't used during any test and presumably the linker didn't complain. But servo_arc is definitely used in tests. Differential Revision: https://phabricator.services.mozilla.com/D32691
20 lines
479 B
TOML
20 lines
479 B
TOML
[package]
|
|
name = "servo_arc"
|
|
version = "0.1.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/servo/servo"
|
|
description = "A fork of std::sync::Arc with some extra functionality and without weak references"
|
|
|
|
[lib]
|
|
name = "servo_arc"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
servo = ["serde"]
|
|
gecko_refcount_logging = []
|
|
|
|
[dependencies]
|
|
nodrop = {version = "0.1.8"}
|
|
serde = {version = "1.0", optional = true}
|
|
stable_deref_trait = "1.0.0"
|