Skip to content

Commit c214dd1

Browse files
committed
Tidy up dependencies to use patching, lower the badges
1 parent b092dfb commit c214dd1

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11

2+
[patch.crates-io]
3+
abi_stable = { version = "0.10", git = "https://github.com/rodrimati1992/abi_stable_crates" }
4+
25
[workspace]
36
members = [
47
"cglue",

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
# CGlue   [![Crates.io]][crates] [![API Docs]][docs] [![Build and test]][workflows] [![MIT licensed]][license] [![Rustc 1.45]][rust]
2+
# CGlue
3+
4+
[![Crates.io]][crates] [![API Docs]][docs] [![Build and test]][workflows] [![MIT licensed]][license] [![Rustc 1.45]][rust]
35

46
[Crates.io]: https://img.shields.io/crates/v/cglue.svg
57
[crates]: https://crates.io/crates/cglue

cglue/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cglue-macro = { version = "0.2", path = "../cglue-macro" }
1616
no-std-compat = { version = "0.4", features = ["alloc"] }
1717
serde = { version = "1", optional = true, default-features = false, features = ["derive", "alloc"] }
1818
try_default = { version = "= 1.0.0", optional = true }
19-
abi_stable = { version = "0.10", git = "https://github.com/rodrimati1992/abi_stable_crates", optional = true }
19+
abi_stable = { version = "0.10", optional = true }
2020

2121
[features]
2222
default = ["std"]

cglue/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//!
2-
//! # CGlue   [![Crates.io]][crates] [![API Docs]][docs] [![Build and test]][workflows] [![MIT licensed]][license] [![Rustc 1.45]][rust]
2+
//! # CGlue
3+
//!
4+
//! [![Crates.io]][crates] [![API Docs]][docs] [![Build and test]][workflows] [![MIT licensed]][license] [![Rustc 1.45]][rust]
35
//!
46
//! [Crates.io]: https://img.shields.io/crates/v/cglue.svg
57
//! [crates]: https://crates.io/crates/cglue

examples/plugin-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ crate-type = ["lib", "cdylib", "staticlib"]
99

1010
[dependencies]
1111
cglue = { path = "../../cglue/", features = ["layout_checks"] }
12-
abi_stable = { version = "0.10", git = "https://github.com/rodrimati1992/abi_stable_crates" }
12+
abi_stable = "0.10"
1313
libloading = "0.7"

0 commit comments

Comments
 (0)