docs.rs failed to build jmx-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
jmx-0.2.1
JMX for Rust
A JMX client library for Rust.
This library allows querying Java JMX attributes from a rust project.
Building
The jmx-rust
crate is based off of the j4rs
crate.
The j4rs
crate needs JAVA_HOME
variable to be set to the install path of the JDK for builds
and the LD_LIBRARY_PATH
to the directory containing libjvm.so
.
# For Fedora 28:
Tests
Tests work but starting a test JMX server located under tests/jmxserver
.
This server is then used by the tests to check the library.
For this to work the test server must be compiled and the correct java
command
must be available in the $PATH
:
Usage
Creating a client:
extern crate jmx;
static JMX_PORT: i32 = 1234;