Skip to content

Commit

Permalink
Use Cargo workspace properties and document MSRV
Browse files Browse the repository at this point in the history
This doesn't bump it, although based on how often we've bumped in the
past, we could move to Rust 1.71.
  • Loading branch information
morrisonlevi committed Sep 12, 2023
1 parent 45dd1bd commit b947020
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 15 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ members = [
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"

[workspace.package]
rust-version = "1.69"
edition = "2021"
version = "4.0.0"
license = "Apache-2.0"

[profile.dev]
debug = 2 # full debug info

Expand Down
7 changes: 4 additions & 3 deletions ddcommon-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

[package]
name = "ddcommon-ffi"
version = "4.0.0"
edition = "2021"
license = "Apache-2.0"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
7 changes: 4 additions & 3 deletions ddcommon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
# This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2021-Present Datadog, Inc.

[package]
edition = "2021"
license = "Apache-2.0"
name = "ddcommon"
version = "4.0.0"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

[lib]
crate-type = ["lib"]
Expand Down
7 changes: 4 additions & 3 deletions profiling-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

[package]
name = "datadog-profiling-ffi"
version = "4.0.0"
edition = "2021"
license = "Apache-2.0"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

[lib]
# LTO is ignored if "lib" is added as crate type
Expand Down
7 changes: 4 additions & 3 deletions profiling-replayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name = "datadog-profiling-replayer"
authors = ["Levi Morrison <levi.morrison@datadoghq.com>"]
description = "Takes a pprof file and 'replays' it using libdatadog commands."
version = "4.0.0"
edition = "2021"
license = "Apache-2.0"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

[dependencies]
anyhow = "1.0"
Expand Down
7 changes: 4 additions & 3 deletions profiling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

[package]
name = "datadog-profiling"
version = "4.0.0"
edition = "2021"
license = "Apache-2.0"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
license.workspace = true

[lib]
crate-type = ["lib"]
Expand Down

0 comments on commit b947020

Please sign in to comment.