-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update cdb to Rust 2018 edition (#283)
Changes cdb crates to use Rust 2018 edition syntax. Changes to use explicit versions in cargo manifest for dependencies. Updates some dependencies to newer versions. Added license headers.
- Loading branch information
Showing
15 changed files
with
342 additions
and
133 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,37 @@ | ||
[package] | ||
name = "cdb_rs" | ||
version = "0.1.0" | ||
authors = ["Jonathan D. Simms <[email protected]>"] | ||
authors = [ | ||
"Brian Martin <[email protected]>", | ||
"Jonathan D. Simms <[email protected]>", | ||
] | ||
publish = false | ||
edition = "2018" | ||
|
||
[dependencies] | ||
ccommon_rs = { path = "../../../../deps/ccommon/rust/ccommon_rs" } | ||
cc_binding = { path = "../../../../deps/ccommon/rust/cc_binding" } | ||
bytes = "0.4.12" | ||
clap = "2.33.0" | ||
env_logger = "0.7.1" | ||
failure = "0.1.7" | ||
failure_derive = "0.1.7" | ||
libc = "0.2.68" | ||
log = "0.4.8" | ||
memmap = "0.7.0" | ||
rand = "0.7.3" | ||
|
||
bytes = "0.4" | ||
clap = "2.33" | ||
env_logger = "0.5.10" | ||
failure = "0.1" | ||
failure_derive = "0.1" | ||
libc = "0.2" | ||
log = "0.4" | ||
memmap = "0.6" | ||
rand = "0.5" | ||
[dependencies.ccommon_rs] | ||
path = "../../../../deps/ccommon/rust/ccommon_rs" | ||
|
||
[dependencies.cc_binding] | ||
path = "../../../../deps/ccommon/rust/cc_binding" | ||
|
||
[dev-dependencies] | ||
tempfile = "3" | ||
proptest = "0.7.1" | ||
tempfile = "3.1.0" | ||
proptest = "0.9.5" | ||
|
||
[lib] | ||
name = "cdb_rs" | ||
crate-type = ["rlib", "staticlib"] | ||
|
||
[build-dependencies] | ||
bindgen = "0.51" | ||
bindgen = "0.51.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
[package] | ||
name = "cdbgen" | ||
version = "0.1.0" | ||
authors = ["Jonathan D. Simms <[email protected]>"] | ||
authors = [ | ||
"Brian Martin <[email protected]>", | ||
"Jonathan D. Simms <[email protected]>", | ||
] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
clap = "2.31" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
extern crate cdb_rs; | ||
extern crate tempfile; | ||
// Copyright (C) 2018-2020 Twitter, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
mod gen; | ||
pub use gen::create; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters