Skip to content

Commit

Permalink
metriken: add links key to prevent multiple versions (#83)
Browse files Browse the repository at this point in the history
Add a links key in the manifest for metriken to prevent multiple
versions of the crate from being used in the same project.
  • Loading branch information
brayniac authored Oct 18, 2023
1 parent 4bfe1b4 commit 81874c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion metriken/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metriken"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = [
"Brian Martin <brian@iop.systems>",
Expand All @@ -11,6 +11,10 @@ description = "A fast and lightweight metrics library"
homepage = "https://github.com/pelikan-io/rustcommon"
repository = "https://github.com/pelikan-io/rustcommon"

# we use this to prevent multiple versions of metriken from being used in the
# same project
links = "metriken"

[dependencies]
metriken-derive = { version = "0.2.0", path = "./derive" }
histogram = { version = "0.8.0", path = "../histogram" }
Expand Down
1 change: 1 addition & 0 deletions metriken/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fn main() {}

0 comments on commit 81874c0

Please sign in to comment.