summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-01-03 07:20:08 +0100
committerQrius <[email protected]>2025-01-03 07:20:08 +0100
commitdaa2ebe4eb4394332ae3acaaa579b3cb18ea2f21 (patch)
tree84e3a7baa4d0208b9e9ad6afafeac0682a2b2e03
parentb84765abc10598c3c808ea207ba89be40211189b (diff)
downloadskaldpress-daa2ebe4eb4394332ae3acaaa579b3cb18ea2f21.tar.gz
skaldpress-daa2ebe4eb4394332ae3acaaa579b3cb18ea2f21.zip
Remove guile as default feature
-rw-r--r--Cargo.toml2
-rw-r--r--src/guile/guile.rs1
2 files changed, 2 insertions, 1 deletions
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;