Utilities for working with PSI on Linux 4.20+.
[dependencies]
psi = "0.1"
Copyright (c) Chris Manning
This project is licensed under the MPL-2.0 license.
Rust library for Linux PSI
License: Mozilla Public License 2.0
Utilities for working with PSI on Linux 4.20+.
[dependencies]
psi = "0.1"
Copyright (c) Chris Manning
This project is licensed under the MPL-2.0 license.
I'm using your crate to implement a prometheus exporter for PSI data. The only thing I really need from the crate itself is PSI file parsing: psi::Psi
with FromStr
+ psi::PsiLine
.
Your crate depends on epoll
for monitoring of PSI events, but really in my case I don't need that part. It wouldn't matter as much if it compiled out of the box on macOS, where you obviously do not have neither epoll, nor real PSI.
It would be nice if it was possible to make monitor
as an optional, but enabled by default, feature that pulls epoll
.
The psi crate will not compile if the "std" feature is not enabled in the "log" dependency. This breaks builds in case you disable default features in more recent log versions:
Compiling psi v0.1.2
error[E0277]: the trait bound `SetLoggerError: std::error::Error` is not satisfied
--> /.cargo/registry/src/index.crates.io-6f17d22bba15001f/psi-0.1.2/src/error.rs:53:41
|
53 | LoggingInitError(e) => Some(e),
| ^ the trait `std::error::Error` is not implemented for `SetLoggerError`
|
= note: required for the cast from `&SetLoggerError` to `&dyn std::error::Error`
I suppose the crate should explicitly enable the "std" feature in Cargo.toml
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.