docs.rs failed to build modsecurity-0.1.1
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:
modsecurity-0.1.4
modsecurity
A Rust-interface to the ModSecurity library.
If you're looking for low-level FFI bindings to libmodsecurity, check out modsecurity-sys.
Example
Block requests with admin
in the path
use ;
let ms = default;
let mut rules = new;
rules.add_plain.expect;
let mut transaction = ms
.transaction_builder
.with_rules
.build
.expect;
transaction.process_uri.expect;
transaction.process_request_headers.expect;
let intervention = transaction.intervention.expect;
assert_eq!;
More examples can be found in the examples directory.
Documentation
Information regarding the ModSecurity language can be found in the ModSecurity Reference Manual.
Documentation for this crate can be found on docs.rs.
Requirements
This crate requires libmodsecurity
>= 3.0.9 to be installed on your system.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.