From daa2ebe4eb4394332ae3acaaa579b3cb18ea2f21 Mon Sep 17 00:00:00 2001 From: Qrius Date: Fri, 3 Jan 2025 07:20:08 +0100 Subject: Remove guile as default feature --- Cargo.toml | 2 +- src/guile/guile.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1ec0d03..c85f857 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" default-run = "skaldpress" [features] -default = ["time", "markdown", "deadlinks", "guile", "readline"] +default = ["time", "markdown", "deadlinks", "readline"] time = ["dep:chrono"] markdown = ["dep:markdown"] deadlinks = ["dep:minreq"] diff --git a/src/guile/guile.rs b/src/guile/guile.rs index a459a64..fc49c70 100644 --- a/src/guile/guile.rs +++ b/src/guile/guile.rs @@ -17,6 +17,7 @@ extern "C" { fn scm_init_guile(); fn scm_c_eval_string(expr: *const c_char) -> *mut c_void; fn scm_from_utf8_string(expr: *const c_char) -> *mut c_void; + fn scm_from_locale_string(scm_obj: *const c_char) -> *mut c_void; fn scm_to_locale_string(scm_obj: *mut c_void) -> *const c_char; fn scm_is_string(scm_obj: *mut c_void) -> c_int; fn scm_object_to_string(scm_obj: *mut c_void, printer: *mut c_void) -> *mut c_void; -- cgit v1.2.3