Skip to content

Commit

Permalink
bump to 0.2.17 fixing release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaranthineCodices committed Mar 29, 2022
1 parent 0fcdb74 commit 3b45479
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
14 changes: 13 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chrysanthemum"
version = "0.2.16"
version = "0.2.17"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -19,10 +19,11 @@ futures = "0.3.17"

influxdb = { version = "0.5.0", features = ["derive"] }
sentry = "0.25.0"
sentry-tracing = "0.25.0"

tracing-log = "0.1.2"
tracing = "0.1.29"
tracing-subscriber = { version = "0.3.1", features = ["env-filter", "json"] }
tracing-subscriber = { version = "0.3.1", features = ["env-filter", "json", "registry"] }
eyre = "0.6.5"
color-eyre = "0.5.11"
thiserror = "1.0.30"
Expand Down
13 changes: 4 additions & 9 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,11 @@ fn init_tracing() {

#[cfg(not(debug_assertions))]
fn init_tracing() {
let subscriber = tracing_subscriber::fmt()
.json()
.with_thread_ids(true)
.with_thread_names(true)
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.finish();
use tracing_subscriber::prelude::*;

tracing_subscriber::Registry::default()
.with(subscriber)
.with(sentry::integrations::tracing::layer())
tracing_subscriber::registry()
.with(tracing_subscriber::fmt::layer().json())
.with(sentry_tracing::layer())
.init();
}

Expand Down

0 comments on commit 3b45479

Please sign in to comment.