diff --git a/Cargo.lock b/Cargo.lock index 818493ea05f..79aa891ded5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1043,7 +1043,7 @@ dependencies = [ "nsstring 0.1.0", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.19.0", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "style 0.0.1", "style_traits 0.0.1", @@ -1084,7 +1084,7 @@ dependencies = [ "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", "servo-fontconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "servo_allocator 0.0.1", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_geometry 0.0.1", "servo_url 0.0.1", @@ -1488,7 +1488,7 @@ dependencies = [ "selectors 0.19.0", "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_geometry 0.0.1", @@ -1541,7 +1541,7 @@ dependencies = [ "selectors 0.19.0", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "servo_allocator 0.0.1", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_geometry 0.0.1", @@ -1694,7 +1694,7 @@ dependencies = [ "hashglobe 0.1.0", "mozjs 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.19.0", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "smallbitvec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "string_cache 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1717,7 +1717,7 @@ name = "malloc_size_of_tests" version = "0.0.1" dependencies = [ "malloc_size_of 0.0.1", - "servo_arc 0.0.1", + "servo_arc 0.1.0", ] [[package]] @@ -2606,7 +2606,7 @@ dependencies = [ "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "servo_allocator 0.0.1", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_geometry 0.0.1", @@ -2651,7 +2651,7 @@ dependencies = [ "range 0.0.1", "script_traits 0.0.1", "selectors 0.19.0", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_url 0.0.1", "style 0.0.1", @@ -2722,7 +2722,7 @@ dependencies = [ "phf 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)", "precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "size_of_test 0.0.1", "smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2913,7 +2913,7 @@ dependencies = [ [[package]] name = "servo_arc" -version = "0.0.1" +version = "0.1.0" dependencies = [ "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3142,7 +3142,7 @@ dependencies = [ "regex 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.19.0", "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_url 0.0.1", @@ -3181,7 +3181,7 @@ dependencies = [ "rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "selectors 0.19.0", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_url 0.0.1", @@ -3202,7 +3202,7 @@ dependencies = [ "malloc_size_of_derive 0.0.1", "selectors 0.19.0", "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", - "servo_arc 0.0.1", + "servo_arc 0.1.0", "servo_atoms 0.0.1", "webrender_api 0.56.1 (git+https://github.com/servo/webrender)", ] diff --git a/components/selectors/Cargo.toml b/components/selectors/Cargo.toml index 0dfca53e32f..acae6f8f5e4 100644 --- a/components/selectors/Cargo.toml +++ b/components/selectors/Cargo.toml @@ -28,7 +28,7 @@ log = "0.3" fnv = "1.0" phf = "0.7.18" precomputed-hash = "0.1" -servo_arc = { path = "../servo_arc" } +servo_arc = { version = "0.1", path = "../servo_arc" } smallvec = "0.6" [dev-dependencies] diff --git a/components/servo_arc/Cargo.toml b/components/servo_arc/Cargo.toml index 9a82346e68b..84b75cab345 100644 --- a/components/servo_arc/Cargo.toml +++ b/components/servo_arc/Cargo.toml @@ -1,9 +1,10 @@ [package] name = "servo_arc" -version = "0.0.1" +version = "0.1.0" authors = ["The Servo Project Developers"] license = "MPL-2.0" -publish = false +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" diff --git a/components/servo_arc/lib.rs b/components/servo_arc/lib.rs index 0e77abd6e4b..d7694901130 100644 --- a/components/servo_arc/lib.rs +++ b/components/servo_arc/lib.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Fork of Arc for Servo. This has the following advantages over std::Arc: +//! Fork of Arc for Servo. This has the following advantages over std::sync::Arc: //! //! * We don't waste storage on the weak reference count. //! * We don't do extra RMU operations to handle the possibility of weak references.