76 stable releases (15 major)

new 52.2.0 Jan 30, 2023
52.0.0 Dec 13, 2022
51.8.3 Nov 25, 2022
51.0.1 Jul 26, 2022
0.0.0 Dec 4, 2018

#313 in Development tools

Download history 553/week @ 2022-10-11 917/week @ 2022-10-18 1175/week @ 2022-10-25 697/week @ 2022-11-01 604/week @ 2022-11-08 481/week @ 2022-11-15 488/week @ 2022-11-22 573/week @ 2022-11-29 472/week @ 2022-12-06 582/week @ 2022-12-13 534/week @ 2022-12-20 149/week @ 2022-12-27 145/week @ 2023-01-03 113/week @ 2023-01-10 309/week @ 2023-01-17 722/week @ 2023-01-24

1,304 downloads per month

MPL-2.0 license

765KB
14K SLoC

Glean

The Glean SDK is a modern approach for a Telemetry library and is part of the Glean project.

glean

This library provides a Rust language bindings on top of glean-core, targeted to Rust consumers.

Documentation

All documentation is available online:

Example

use glean::{ConfigurationBuilder, Error, metrics::*};

let cfg = ConfigurationBuilder::new(true, "/tmp/data", "org.mozilla.glean_core.example").build();
glean::initialize(cfg)?;

let prototype_ping = PingType::new("prototype", true, true, vec![]);

glean::register_ping_type(&prototype_ping);

prototype_ping.submit(None);

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/

Dependencies

~11MB
~238K SLoC