diff --git a/Cargo.lock b/Cargo.lock index 06a858277b..62e85ffa12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ dependencies = [ [[package]] name = "c2rust-analysis-rt" -version = "0.1.0" +version = "0.16.0" dependencies = [ "bincode", "enum_dispatch", @@ -151,7 +151,7 @@ dependencies = [ [[package]] name = "c2rust-analyze" -version = "0.1.0" +version = "0.16.0" dependencies = [ "assert_matches", "bitflags", @@ -164,7 +164,7 @@ dependencies = [ [[package]] name = "c2rust-asm-casts" -version = "0.2.0" +version = "0.16.0" [[package]] name = "c2rust-ast-builder" @@ -201,7 +201,7 @@ dependencies = [ [[package]] name = "c2rust-bitfields" -version = "0.3.0" +version = "0.16.0" dependencies = [ "c2rust-bitfields-derive", "libc", @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "c2rust-bitfields-derive" -version = "0.2.1" +version = "0.16.0" dependencies = [ "proc-macro2", "quote", @@ -218,14 +218,14 @@ dependencies = [ [[package]] name = "c2rust-build-paths" -version = "0.1.0" +version = "0.16.0" dependencies = [ "print_bytes", ] [[package]] name = "c2rust-instrument" -version = "0.1.0" +version = "0.16.0" dependencies = [ "anyhow", "bincode", @@ -245,7 +245,7 @@ dependencies = [ [[package]] name = "c2rust-pdg" -version = "0.1.0" +version = "0.16.0" dependencies = [ "bincode", "c2rust-analysis-rt", diff --git a/Cargo.toml b/Cargo.toml index 63ba5b7e5f..8676032673 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,5 +22,16 @@ exclude = [ "tests", ] +[workspace.package] +version = "0.16.0" +authors = ["The C2Rust Project Developers "] +edition = "2021" +readme = "README.md" +homepage = "https://c2rust.com/" +repository = "https://github.com/immunant/c2rust/" +license = "BSD-3-Clause" +keywords = ["transpiler", "migration", "translation", "c"] +categories = ["development-tools", "development-tools::ffi", "command-line-utilities"] + [profile.dev.package."*"] opt-level = 3 diff --git a/analysis/runtime/Cargo.toml b/analysis/runtime/Cargo.toml index 67f352301f..68741ba80e 100644 --- a/analysis/runtime/Cargo.toml +++ b/analysis/runtime/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "c2rust-analysis-rt" -version = "0.1.0" -authors = ["The C2Rust Development Team ", - "Stephen Crane "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C2Rust runtime for recording dynamic analysis, targeted by c2rust-instrument and consumed by c2rust-pdg" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] serde = { version = "1.0", features = ["derive"] } diff --git a/analysis/tests/lighttpd-minimal/Cargo.toml b/analysis/tests/lighttpd-minimal/Cargo.toml index 43158ff5bb..08b27690a7 100644 --- a/analysis/tests/lighttpd-minimal/Cargo.toml +++ b/analysis/tests/lighttpd-minimal/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] libc = "0.2" -c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.1.0" } +c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.16.0" } [features] miri = [] diff --git a/analysis/tests/lighttpd/Cargo.toml b/analysis/tests/lighttpd/Cargo.toml index 736e5007b2..137fb34d05 100644 --- a/analysis/tests/lighttpd/Cargo.toml +++ b/analysis/tests/lighttpd/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] libc = "0.2" -c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.1.0" } +c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.16.0" } [features] miri = [] diff --git a/analysis/tests/misc/Cargo.toml b/analysis/tests/misc/Cargo.toml index c0c4e9a39b..ec383d439a 100644 --- a/analysis/tests/misc/Cargo.toml +++ b/analysis/tests/misc/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] libc = "0.2" -c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.1.0" } +c2rust-analysis-rt = { path = "../../runtime", optional = true, version = "0.16.0" } [features] miri = [] diff --git a/c2rust-analyze/Cargo.toml b/c2rust-analyze/Cargo.toml index 19ddd63944..2055c8fc3c 100644 --- a/c2rust-analyze/Cargo.toml +++ b/c2rust-analyze/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "c2rust-analyze" -version = "0.1.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C2Rust analysis implementation for lifting unsafe Rust to safe Rust" +readme = "README.md" +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] polonius-engine = "0.13.0" diff --git a/c2rust-asm-casts/Cargo.toml b/c2rust-asm-casts/Cargo.toml index b9828e2446..49e3b5374c 100644 --- a/c2rust-asm-casts/Cargo.toml +++ b/c2rust-asm-casts/Cargo.toml @@ -1,11 +1,14 @@ [package] name = "c2rust-asm-casts" -version = "0.2.0" -authors = ["The C2Rust Project Developers "] -edition = "2021" -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust/tree/master/c2rust-asm-casts" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Type cast helpers for use with C2Rust's inline assembly implementation" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] diff --git a/c2rust-ast-builder/Cargo.toml b/c2rust-ast-builder/Cargo.toml index 5f37f8c9dc..c2bd8736fc 100644 --- a/c2rust-ast-builder/Cargo.toml +++ b/c2rust-ast-builder/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "c2rust-ast-builder" -version = "0.16.0" -authors = [ - "The C2Rust Project Developers ", - "Eric Mertens ", -] -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Rust AST builder support crate for the C2Rust project" -edition = "2021" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] proc-macro2 = { version = "1.0", features = ["span-locations"]} diff --git a/c2rust-ast-exporter/Cargo.toml b/c2rust-ast-exporter/Cargo.toml index d9346df556..46e9a9bddc 100644 --- a/c2rust-ast-exporter/Cargo.toml +++ b/c2rust-ast-exporter/Cargo.toml @@ -1,17 +1,16 @@ [package] name = "c2rust-ast-exporter" -version = "0.16.0" -authors = [ - "The C2Rust Project Developers ", - "Eric Mertens ", - "Alec Theriault ", -] -links = "clangAstExporter" -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Clang AST extraction API for use in the C2Rust project" -edition = "2021" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true +links = "clangAstExporter" [dependencies] libc = "0.2" diff --git a/c2rust-ast-printer/Cargo.toml b/c2rust-ast-printer/Cargo.toml index f68036623f..cba0e52d6a 100644 --- a/c2rust-ast-printer/Cargo.toml +++ b/c2rust-ast-printer/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "c2rust-ast-printer" -version = "0.16.0" -authors = ["The Rust Project Developers", "Stephen Crane "] -edition = "2021" -license = "MIT OR Apache-2.0" -repository = "https://github.com/immunant/c2rust" +version.workspace = true +authors = ["The C2Rust Project Developers ", "The Rust Project Developers"] +edition.workspace = true description = "Customized version of libsyntax rust pretty-printer" +readme = "README.md" +homepage.workspace = true +repository.workspace = true +license = "MIT OR Apache-2.0" +keywords.workspace = true +categories.workspace = true [dependencies] log = "0.4" diff --git a/c2rust-bitfields-derive/Cargo.toml b/c2rust-bitfields-derive/Cargo.toml index 16e689284d..c1dfbc4805 100644 --- a/c2rust-bitfields-derive/Cargo.toml +++ b/c2rust-bitfields-derive/Cargo.toml @@ -1,16 +1,15 @@ [package] name = "c2rust-bitfields-derive" -version = "0.2.1" -authors = [ - "The C2Rust Project Developers ", - "Daniel Kolsoi ", -] -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust/tree/master/c2rust-bitfields-derive" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C-compatible struct bitfield derive implementation used in the C2Rust project" readme = "README.md" +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] proc-macro2 = "1.0" diff --git a/c2rust-bitfields/Cargo.toml b/c2rust-bitfields/Cargo.toml index 2631e3c83a..3627d9e0a1 100644 --- a/c2rust-bitfields/Cargo.toml +++ b/c2rust-bitfields/Cargo.toml @@ -1,19 +1,18 @@ [package] name = "c2rust-bitfields" -version = "0.3.0" -authors = [ - "The C2Rust Project Developers ", - "Daniel Kolsoi ", -] -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust/tree/master/c2rust-bitfields" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C-compatible struct bitfield implementation used in the C2Rust project" readme = "README.md" +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] -c2rust-bitfields-derive = { version = "0.2", path = "../c2rust-bitfields-derive" } +c2rust-bitfields-derive = { version = "0.16.0", path = "../c2rust-bitfields-derive" } [dev-dependencies] libc = "0.2" diff --git a/c2rust-build-paths/Cargo.toml b/c2rust-build-paths/Cargo.toml index 5c86cb3a49..7d821c6bf7 100644 --- a/c2rust-build-paths/Cargo.toml +++ b/c2rust-build-paths/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "c2rust-build-paths" -version = "0.1.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C2Rust utilities related to build paths, primarily at build time" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] print_bytes = "1.1" diff --git a/c2rust-transpile/Cargo.toml b/c2rust-transpile/Cargo.toml index c189adf52e..c512c49172 100644 --- a/c2rust-transpile/Cargo.toml +++ b/c2rust-transpile/Cargo.toml @@ -1,22 +1,21 @@ [package] name = "c2rust-transpile" -version = "0.16.0" -authors = [ - "The C2Rust Project Developers ", - "Eric Mertens ", - "Alec Theriault ", -] -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C2Rust transpiler implementation" -edition = "2021" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] c2rust-ast-builder = { version = "0.16.0", path = "../c2rust-ast-builder" } c2rust-ast-exporter = { version = "0.16.0", path = "../c2rust-ast-exporter" } c2rust-ast-printer = { version = "0.16.0", path = "../c2rust-ast-printer" } -c2rust-bitfields = { version = "0.3.0", path = "../c2rust-bitfields" } +c2rust-bitfields = { version = "0.16.0", path = "../c2rust-bitfields" } colored = "2.0" dtoa = "1.0" failure = "0.1.5" diff --git a/c2rust/Cargo.toml b/c2rust/Cargo.toml index 5494a0a581..8eb6d6907b 100644 --- a/c2rust/Cargo.toml +++ b/c2rust/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "c2rust" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C to Rust translation, refactoring, and cross-checking" -version = "0.16.0" -authors = ["The C2Rust Project Developers "] -license = "BSD-3-Clause" -homepage = "https://c2rust.com/" -repository = "https://github.com/immunant/c2rust" -edition = "2021" -categories = ["development-tools", "development-tools::ffi", "command-line-utilities"] -keywords = ["transpiler", "migration", "translation", "c"] readme = "README.md" +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true default-run = "c2rust" [badges] diff --git a/dynamic_instrumentation/Cargo.toml b/dynamic_instrumentation/Cargo.toml index 3f896d61ba..1f98837505 100644 --- a/dynamic_instrumentation/Cargo.toml +++ b/dynamic_instrumentation/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "c2rust-instrument" -version = "0.1.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "C2Rust instrumentation of Rust code for dynamic analysis" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] anyhow = "1.0" diff --git a/pdg/Cargo.toml b/pdg/Cargo.toml index ba574c3b2a..e55f5ad90f 100644 --- a/pdg/Cargo.toml +++ b/pdg/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "c2rust-pdg" -version = "0.1.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Pointer Derivation Graph used for dynamic analysis by C2Rust" +readme.workspace = true +homepage.workspace = true +repository.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] bincode = "1.0"