Please help, why is cargo not seeing the function "soup_session_add_feature"
error[E0432]: unresolved import `soup_sys::soup_session_add_feature`
--> src/lib.rs:7:55
|
7 | use soup_sys::{SOUP_LOGGER_LOG_BODY, soup_logger_new, soup_session_add_feature};
| ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| no `soup_session_add_feature` in the root
| help: a similar name exists in the module: `soup_session_get_type`
my cargo.toml file
[dependencies]
gio-sys = "0.10.1"
glib = "0.10.3"
glib-sys = "0.10.1"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
soup-sys = "^0.10.0"
syn = "1.0.64" # <= fixes serde_derive syn version conflict
Also function is located on the root of the crate