From ee35165f99ecb7e2342009d570d3f57d0f089481 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 15 Apr 2019 15:06:59 +0000 Subject: [PATCH] Rename crate --- Cargo.lock | 2 +- Cargo.toml | 2 +- examples/allocation_loop/Cargo.lock | 4 ++-- examples/allocation_loop/Cargo.toml | 2 +- examples/allocation_loop/src/main.rs | 4 ++-- examples/dynamic_threads/Cargo.lock | 4 ++-- examples/dynamic_threads/Cargo.toml | 2 +- examples/dynamic_threads/src/main.rs | 4 ++-- examples/static_threads/Cargo.lock | 4 ++-- examples/static_threads/Cargo.toml | 2 +- examples/static_threads/src/main.rs | 4 ++-- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2360c08..ab7eb1d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,7 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] -name = "bdwgc-allocator" +name = "bdwgc-alloc" version = "0.1.0" dependencies = [ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c442fa7..01d688a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bdwgc-allocator" +name = "bdwgc-alloc" version = "0.1.0" authors = ["swgillespie ", "Yota Toyama "] publish = false diff --git a/examples/allocation_loop/Cargo.lock b/examples/allocation_loop/Cargo.lock index e4e9e07..f741969 100644 --- a/examples/allocation_loop/Cargo.lock +++ b/examples/allocation_loop/Cargo.lock @@ -4,11 +4,11 @@ name = "allocation_loop" version = "0.1.0" dependencies = [ - "bdwgc-allocator 0.1.0", + "bdwgc-alloc 0.1.0", ] [[package]] -name = "bdwgc-allocator" +name = "bdwgc-alloc" version = "0.1.0" dependencies = [ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/examples/allocation_loop/Cargo.toml b/examples/allocation_loop/Cargo.toml index 797046a..f6ff393 100644 --- a/examples/allocation_loop/Cargo.toml +++ b/examples/allocation_loop/Cargo.toml @@ -6,4 +6,4 @@ edition = "2018" publish = false [dependencies] -bdwgc-allocator = { path = "../.." } +bdwgc-alloc = { path = "../.." } diff --git a/examples/allocation_loop/src/main.rs b/examples/allocation_loop/src/main.rs index 6ea2fb3..45a586f 100644 --- a/examples/allocation_loop/src/main.rs +++ b/examples/allocation_loop/src/main.rs @@ -1,6 +1,6 @@ -extern crate bdwgc_allocator; +extern crate bdwgc_alloc; -use bdwgc_allocator::Allocator; +use bdwgc_alloc::Allocator; use std::alloc::{GlobalAlloc, Layout}; #[global_allocator] diff --git a/examples/dynamic_threads/Cargo.lock b/examples/dynamic_threads/Cargo.lock index 1736337..80f63e9 100644 --- a/examples/dynamic_threads/Cargo.lock +++ b/examples/dynamic_threads/Cargo.lock @@ -1,7 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] -name = "bdwgc-allocator" +name = "bdwgc-alloc" version = "0.1.0" dependencies = [ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -11,7 +11,7 @@ dependencies = [ name = "dynamic_threads" version = "0.1.0" dependencies = [ - "bdwgc-allocator 0.1.0", + "bdwgc-alloc 0.1.0", ] [[package]] diff --git a/examples/dynamic_threads/Cargo.toml b/examples/dynamic_threads/Cargo.toml index 90d5da0..dcdd5f2 100644 --- a/examples/dynamic_threads/Cargo.toml +++ b/examples/dynamic_threads/Cargo.toml @@ -6,4 +6,4 @@ edition = "2018" publish = false [dependencies] -bdwgc-allocator = { path = "../.." } +bdwgc-alloc = { path = "../.." } diff --git a/examples/dynamic_threads/src/main.rs b/examples/dynamic_threads/src/main.rs index 284eda9..d436922 100644 --- a/examples/dynamic_threads/src/main.rs +++ b/examples/dynamic_threads/src/main.rs @@ -1,6 +1,6 @@ -extern crate bdwgc_allocator; +extern crate bdwgc_alloc; -use bdwgc_allocator::Allocator; +use bdwgc_alloc::Allocator; use std::alloc::{GlobalAlloc, Layout}; #[global_allocator] diff --git a/examples/static_threads/Cargo.lock b/examples/static_threads/Cargo.lock index 6d9c5f9..494062a 100644 --- a/examples/static_threads/Cargo.lock +++ b/examples/static_threads/Cargo.lock @@ -1,7 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] -name = "bdwgc-allocator" +name = "bdwgc-alloc" version = "0.1.0" dependencies = [ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -16,7 +16,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "static_threads" version = "0.1.0" dependencies = [ - "bdwgc-allocator 0.1.0", + "bdwgc-alloc 0.1.0", ] [metadata] diff --git a/examples/static_threads/Cargo.toml b/examples/static_threads/Cargo.toml index 337e4ee..aaa22b7 100644 --- a/examples/static_threads/Cargo.toml +++ b/examples/static_threads/Cargo.toml @@ -6,4 +6,4 @@ edition = "2018" publish = false [dependencies] -bdwgc-allocator = { path = "../.." } +bdwgc-alloc = { path = "../.." } diff --git a/examples/static_threads/src/main.rs b/examples/static_threads/src/main.rs index 26641f2..7ecd79b 100644 --- a/examples/static_threads/src/main.rs +++ b/examples/static_threads/src/main.rs @@ -1,6 +1,6 @@ -extern crate bdwgc_allocator; +extern crate bdwgc_alloc; -use bdwgc_allocator::Allocator; +use bdwgc_alloc::Allocator; use std::alloc::{GlobalAlloc, Layout}; #[global_allocator]