-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade stabby to 36.1.1 * v0.1.11
- Loading branch information
Showing
5 changed files
with
45 additions
and
89 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,95 +3,55 @@ path = "src/_lib.rs" | |
|
||
[package] | ||
name = "safer-ffi" | ||
version = "0.1.10" # Keep in sync | ||
authors = [ | ||
"Daniel Henry-Mantilla <[email protected]>", | ||
] | ||
version = "0.1.11" # Keep in sync | ||
authors = ["Daniel Henry-Mantilla <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.72.1" | ||
|
||
description = "Write safer FFI code in Rust without polluting it with unsafe code" | ||
keywords = [ | ||
"ffi", "no_std", "framework", "safety", "bindings", | ||
] | ||
keywords = ["ffi", "no_std", "framework", "safety", "bindings"] | ||
license = "MIT" | ||
repository = "https://github.com/getditto/safer_ffi" | ||
|
||
readme = "README.md" | ||
|
||
exclude = [ | ||
"/guide", | ||
] | ||
exclude = ["/guide"] | ||
|
||
[features] | ||
default = [ | ||
"std", | ||
] | ||
default = ["std"] | ||
|
||
# Document under the following features: all but for debug or experimental. | ||
docs = [ | ||
"headers", | ||
"default", | ||
"nightly", | ||
"tokio", | ||
] | ||
docs = ["headers", "default", "nightly", "tokio"] | ||
|
||
nightly = [] | ||
|
||
alloc = [] | ||
std = [ | ||
"alloc", | ||
"scopeguard/use_std", | ||
"stabby?/std", | ||
] | ||
std = ["alloc", "scopeguard/use_std", "stabby?/std"] | ||
|
||
proc_macros = [] # Deprecated | ||
|
||
async-fn = [ | ||
"safer_ffi-proc_macros/async-fn", | ||
] | ||
async-fn = ["safer_ffi-proc_macros/async-fn"] | ||
|
||
debug_proc_macros = [ | ||
"safer_ffi-proc_macros/verbose-expansions", | ||
] | ||
debug_proc_macros = ["safer_ffi-proc_macros/verbose-expansions"] | ||
|
||
dyn-traits = [ | ||
"safer_ffi-proc_macros/dyn-traits", | ||
# FIXME: make this finer-grained | ||
"std", | ||
] | ||
|
||
futures = [ | ||
"dep:futures", | ||
"dyn-traits", | ||
] | ||
futures = ["dep:futures", "dyn-traits"] | ||
|
||
serde = [ | ||
"dep:serde", | ||
] | ||
serde = ["dep:serde"] | ||
|
||
stabby = [ | ||
"dep:stabby", | ||
] | ||
stabby = ["dep:stabby"] | ||
|
||
tokio = [ | ||
"async-compat", | ||
"dep:tokio", | ||
"futures", | ||
] | ||
tokio = ["async-compat", "dep:tokio", "futures"] | ||
|
||
headers = [ | ||
"inventory", | ||
"safer_ffi-proc_macros/headers", | ||
"std", | ||
] | ||
python-headers = [ | ||
"headers", | ||
] | ||
headers = ["inventory", "safer_ffi-proc_macros/headers", "std"] | ||
python-headers = ["headers"] | ||
# Tweak the generated `.h` ever so slightly. | ||
c-headers-with-fn-style = [ | ||
"headers", | ||
] | ||
c-headers-with-fn-style = ["headers"] | ||
|
||
# PRIVATE FEATURE / not part of crates.io package! | ||
js = [ | ||
|
@@ -152,16 +112,14 @@ serde.version = "1.0.204" | |
serde.optional = true | ||
serde.default_features = false | ||
|
||
stabby.version = "36.1.1-rc8" | ||
stabby.version = "36.1.1" | ||
stabby.optional = true | ||
stabby.default-features = false | ||
stabby.features = ["experimental-ctypes", "alloc-rs"] | ||
|
||
tokio.optional = true | ||
tokio.version = "1.26.0" | ||
tokio.features = [ | ||
"rt", | ||
] | ||
tokio.features = ["rt"] | ||
|
||
uninit.version = "0.5.0" | ||
uninit.default-features = false | ||
|
@@ -179,7 +137,7 @@ version = "0.0.3" | |
|
||
[dependencies.safer_ffi-proc_macros] | ||
path = "src/proc_macro" | ||
version = "=0.1.10" # Keep in sync | ||
version = "=0.1.11" # Keep in sync | ||
|
||
[workspace] | ||
members = [ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ proc-macro = true | |
|
||
[package] | ||
name = "safer_ffi-proc_macros" | ||
version = "0.1.10" # Keep in sync | ||
version = "0.1.11" # Keep in sync | ||
authors = ["Daniel Henry-Mantilla <[email protected]>"] | ||
edition = "2021" | ||
|
||
|
@@ -31,9 +31,7 @@ features = [ | |
async-fn = [] | ||
dyn-traits = [] | ||
headers = [] | ||
js = [ | ||
"async-fn", | ||
] | ||
js = ["async-fn"] | ||
verbose-expansions = [ | ||
# "prettyplease", | ||
] |