A better Rust ATProto crate

couple noisy logs

Orual 5c79bb76 6c3df8fe

Changed files
+14 -14
crates
jacquard-identity
src
jacquard-oauth
src
+7 -7
crates/jacquard-identity/src/lib.rs
··· 328 impl JacquardResolver { 329 /// Create a new instance of the default resolver with all options (except DNS) up front 330 pub fn new(http: reqwest::Client, opts: ResolverOptions) -> Self { 331 - #[cfg(feature = "tracing")] 332 - tracing::info!( 333 - public_fallback = opts.public_fallback_for_handle, 334 - validate_doc_id = opts.validate_doc_id, 335 - plc_source = ?opts.plc_source, 336 - "jacquard resolver created" 337 - ); 338 339 Self { 340 http,
··· 328 impl JacquardResolver { 329 /// Create a new instance of the default resolver with all options (except DNS) up front 330 pub fn new(http: reqwest::Client, opts: ResolverOptions) -> Self { 331 + // #[cfg(feature = "tracing")] 332 + // tracing::info!( 333 + // public_fallback = opts.public_fallback_for_handle, 334 + // validate_doc_id = opts.validate_doc_id, 335 + // plc_source = ?opts.plc_source, 336 + // "jacquard resolver created" 337 + // ); 338 339 Self { 340 http,
+7 -7
crates/jacquard-oauth/src/client.rs
··· 103 S: ClientAuthStore, 104 { 105 pub fn new_from_resolver(store: S, client: T, client_data: ClientData<'static>) -> Self { 106 - #[cfg(feature = "tracing")] 107 - tracing::info!( 108 - redirect_uris = ?client_data.config.redirect_uris, 109 - scopes = ?client_data.config.scopes, 110 - has_keyset = client_data.keyset.is_some(), 111 - "oauth client created:" 112 - ); 113 114 let client = Arc::new(client); 115 let registry = Arc::new(SessionRegistry::new(store, client.clone(), client_data));
··· 103 S: ClientAuthStore, 104 { 105 pub fn new_from_resolver(store: S, client: T, client_data: ClientData<'static>) -> Self { 106 + // #[cfg(feature = "tracing")] 107 + // tracing::info!( 108 + // redirect_uris = ?client_data.config.redirect_uris, 109 + // scopes = ?client_data.config.scopes, 110 + // has_keyset = client_data.keyset.is_some(), 111 + // "oauth client created:" 112 + // ); 113 114 let client = Arc::new(client); 115 let registry = Arc::new(SessionRegistry::new(store, client.clone(), client_data));