zaddach / clamav-rs Goto Github PK
View Code? Open in Web Editor NEWSafe Rust wrapper around libclamav
License: GNU General Public License v2.0
Safe Rust wrapper around libclamav
License: GNU General Public License v2.0
Hi,
A simple cargo build or cargo test fails, I'm probably missing something.
Compiling clamav-rs v0.5.2 (/home/stefek/github/clamav-rs)
error[E0432]: unresolved import `clamav_sys::cl_error_t`
--> src/engine.rs:8:5
|
8 | cl_error_t,
| ^^^^^^^^^^ no `cl_error_t` in the root
error[E0432]: unresolved import `clamav_sys::cl_error_t`
--> src/error.rs:5:5
|
5 | use clamav_sys::cl_error_t;
| ^^^^^^^^^^^^^^^^^^^^^^ no `cl_error_t` in the root
error[E0432]: unresolved import `clamav_sys::CL_SCAN_HEURISTIC_STRUCTURED_CC`
--> src/scan_settings.rs:31:5
|
31 | CL_SCAN_HEURISTIC_STRUCTURED_CC,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| no `CL_SCAN_HEURISTIC_STRUCTURED_CC` in the root
| help: a similar name exists in the module: `CL_SCAN_HEURISTIC_STRUCTURED`
error[E0432]: unresolved import `clamav_sys::cl_error_t`
--> src/lib.rs:13:5
|
13 | cl_error_t,
| ^^^^^^^^^^ no `cl_error_t` in the root
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> src/engine.rs:230:14
|
230 | self.scan_descriptor(file.as_raw_fd(), settings)
| ^^^^^^^^^^^^^^^ ---------------- -------- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> src/engine.rs:210:12
|
210 | pub fn scan_descriptor(&self, descriptor: i32, settings: &mut ScanSettings, filename: Option< &str >) -> Result<ScanResult, ClamError> {
| ^^^^^^^^^^^^^^^ ----- --------------- --------------------------- ------------------------
error: aborting due to 5 previous errors
hi!
today I ended up porting my fork to the latest clamav 1.2.
I currently pull directly from git in my downstream project, are you interested in adding me as a maintainer on crates.io so I can publish my compatibility fixes there? If you grant me access to this repository I would keep maintaining it on github.com/zaddach/clamav-rs
, else I would also be fine to maintain it in my github repo.
Thanks!
Hello maintainer!
Looks like the documentation isn't getting built. Here's a direct link to the build log artifacts:
https://docs.rs/crate/clamav-rs/0.5.5/builds/394580
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.