From b54b124d2b63e11423dff659796e3ae04434f9ff Mon Sep 17 00:00:00 2001 From: Kornel Date: Fri, 1 Nov 2024 00:26:17 +0000 Subject: [PATCH] Better crate name for the C API --- c-api/Cargo.lock | 2 +- c-api/Cargo.toml | 3 ++- c-api/c-tests/Cargo.toml | 2 +- fuzz/test_case/Cargo.toml | 2 +- js-api/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/c-api/Cargo.lock b/c-api/Cargo.lock index 8811c31a..004024d8 100644 --- a/c-api/Cargo.lock +++ b/c-api/Cargo.lock @@ -193,7 +193,7 @@ dependencies = [ ] [[package]] -name = "lolhtml" +name = "lol_html_c_api" version = "1.1.2" dependencies = [ "encoding_rs", diff --git a/c-api/Cargo.toml b/c-api/Cargo.toml index 5eb40fed..304bba3c 100644 --- a/c-api/Cargo.toml +++ b/c-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "lolhtml" +name = "lol_html_c_api" version = "1.1.2" authors = ["Ivan Nikulin ", "Joshua Nelson "] edition = "2021" @@ -17,4 +17,5 @@ panic = "abort" lto = true [lib] +name = "lolhtml" crate-type = ["staticlib", "cdylib", "rlib"] diff --git a/c-api/c-tests/Cargo.toml b/c-api/c-tests/Cargo.toml index b055bc06..4fdb6ef1 100644 --- a/c-api/c-tests/Cargo.toml +++ b/c-api/c-tests/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] lol_html = { path = "../../" } -lolhtml = { path = "../" } +lol_html_c_api = { path = "../" } libc = "0.2.139" [build-dependencies] diff --git a/fuzz/test_case/Cargo.toml b/fuzz/test_case/Cargo.toml index 0845db67..45244769 100644 --- a/fuzz/test_case/Cargo.toml +++ b/fuzz/test_case/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] lol_html = { path = "../../" } -lolhtml = { path = "../../c-api" } +lol_html_c_api = { path = "../../c-api" } encoding_rs = "0.8.13" libc = "0.2.61" rand = "0.8.4" diff --git a/js-api/Cargo.toml b/js-api/Cargo.toml index 1740bb91..3e18663a 100644 --- a/js-api/Cargo.toml +++ b/js-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "lol-html-js-api" +name = "lol_html_js_api" version = "1.1.1" authors = ["Ivan Nikulin "] edition = "2021"