Skip to content

Commit 281f3ff

Browse files
authored
feat: API for manual performance monitoring (NATIVE-309) (#395)
1 parent a800b0b commit 281f3ff

File tree

6 files changed

+568
-1
lines changed

6 files changed

+568
-1
lines changed

sentry-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"]
3939
# Because we re-export all the public API in `sentry`, we actually run all the
4040
# doctests using the `sentry` crate. This also takes care of the doctest
4141
# limitation documented in https://github.com/rust-lang/rust/issues/45599.
42-
sentry = { path = "../sentry", default-features = false, features = ["test"] }
42+
sentry = { path = "../sentry", default-features = false, features = ["test", "transport"] }
4343
thiserror = "1.0.15"
4444
anyhow = "1.0.30"
4545
tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }

sentry-core/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ mod futures;
6363
mod hub;
6464
mod integration;
6565
mod intodsn;
66+
mod performance;
6667
mod scope;
6768
mod transport;
6869

@@ -75,6 +76,7 @@ pub use crate::futures::{SentryFuture, SentryFutureExt};
7576
pub use crate::hub::Hub;
7677
pub use crate::integration::Integration;
7778
pub use crate::intodsn::IntoDsn;
79+
pub use crate::performance::*;
7880
pub use crate::scope::{Scope, ScopeGuard};
7981
pub use crate::transport::{Transport, TransportFactory};
8082

0 commit comments

Comments
 (0)