Skip to content

Commit

Permalink
Bug 1675534 - Vendor glean (Rust Language Bindings). r=chutten
Browse files Browse the repository at this point in the history
This is vendoring the Glean Rust Language Bindings (built on the
top of glean-core), providing a nice Glean SDK Rust API for consumers,
for using in FOG.

Differential Revision: https://phabricator.services.mozilla.com/D96227
  • Loading branch information
Dexterp37 committed Nov 9, 2020
1 parent 14b83e9 commit b5b774f
Show file tree
Hide file tree
Showing 40 changed files with 3,000 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions third_party/rust/glean/.cargo-checksum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":{"Cargo.toml":"238e86c37e25dac4f435f657c1657a36028e57185b5ac04d0a1917d0d12d079e","LICENSE":"1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5","README.md":"fd9e0ca6907917ea6bec5de05e15dd21d20fae1cb7f3250467bb20231a8e1065","src/configuration.rs":"16e3ec9be802ac37b39d2ad4d1a4702d7e5b462071ef7f0265aea84de520641f","src/core_metrics.rs":"e20697e04f707c34c3c7a0cc4e2ed93e638d3028f03eb75a93f53ae722243986","src/dispatcher/global.rs":"511b4280bdde2a39921c67bb69f5bb1b88a0819d58ea466e65a2b989e6aad426","src/dispatcher/mod.rs":"b44eca1925c209f2a9b0b7c56fb22d5a71aafefef85b45b6ab64ae1f9f611223","src/glean_metrics.rs":"a5e1ea9c4dccb81aec4aa584bd76cf47e916c66af4aff4a0ef5aa297ee2d9aa3","src/lib.rs":"0fa21ed5701035935db6f589171886bb9adb4da3b123eee2b1e9908ae8438e7d","src/pings.rs":"2dfccd84848e1933aa4f6a7a707c58ec794c8f73ef2d93ea4d4df71d4e6abc31","src/private/boolean.rs":"2ead8da55eca0c8738f3c07445b46b1efa706b3e8a1e60428347e9fcb1d1fd3f","src/private/mod.rs":"7bea12098239d8d59f1833338f1691816e4b67c36770c7743492953bc1fe7fc1","src/private/ping.rs":"108d2c5121bd1fe2fabaa5f07552e9bf84cd82805fe8176ef2794cc8954459a0","src/system.rs":"ba7b3eac040abe4691d9d287562ddca6d7e92a6d6109c3f0c443b707a100d75a","src/test.rs":"6b97b76cfcca53c9b18dbb92e2bbe0dc9528d062cc3542a3144a432f686ed8d2","tests/schema.rs":"f595de24f6da945c8319910bb1a85eacef477a199a302a7c50e99925815d063f"},"package":"0b392b31d576ae3b226b692cbc580b1a36700de162ae5570cfe2694f38edbb44"}
59 changes: 59 additions & 0 deletions third_party/rust/glean/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "glean"
version = "33.1.2"
authors = ["Jan-Erik Rediger <[email protected]>", "The Glean Team <[email protected]>"]
include = ["/README.md", "/LICENSE", "/src", "/tests", "/Cargo.toml"]
description = "Glean SDK Rust language bindings"
readme = "README.md"
keywords = ["telemetry", "glean"]
license = "MPL-2.0"
repository = "https://github.com/mozilla/glean"
[dependencies.crossbeam-channel]
version = "0.4.3"

[dependencies.glean-core]
version = "33.1.2"

[dependencies.inherent]
version = "0.1.4"

[dependencies.log]
version = "0.4.8"

[dependencies.once_cell]
version = "1.2.0"

[dependencies.thiserror]
version = "1.0.4"
[dev-dependencies.env_logger]
version = "0.7.1"
features = ["termcolor", "atty", "humantime"]
default-features = false

[dev-dependencies.jsonschema-valid]
version = "0.4.0"

[dev-dependencies.serde_json]
version = "1.0.44"

[dev-dependencies.tempfile]
version = "3.1.0"
[badges.circle-ci]
branch = "main"
repository = "mozilla/glean"

[badges.maintenance]
status = "actively-developed"
Loading

0 comments on commit b5b774f

Please sign in to comment.