fork: add Red Bear author attribution to Cargo.toml
This commit is contained in:
+12
-11
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "libredox"
|
||||
authors = ["4lDO2 <4lDO2@protonmail.com>"]
|
||||
version = "0.1.18-rb1"
|
||||
authors = ["4lDO2 <4lDO2@protonmail.com>", "vasilito <adminpupkin@gmail.com>"]
|
||||
version = "0.1.18-rb0.2.5"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Redox stable ABI"
|
||||
@@ -15,20 +15,21 @@ call = ["base"]
|
||||
std = ["base"]
|
||||
protocol = ["plain", "bitflags"]
|
||||
mkns = ["ioslice"]
|
||||
# Upstream `libredox 0.1.18` exposes `redox_syscall` as a feature alias
|
||||
# over an optional `redox_syscall` dep. Crates like `redox-scheme 0.11.2`
|
||||
# from crates.io request `features = ["redox_syscall"]` on libredox. The
|
||||
# Red Bear fork has `redox_syscall` as a non-optional path dep (always
|
||||
# included via `local/sources/syscall/`), so the feature is a no-op alias
|
||||
# that just satisfies feature-name lookup without enabling anything extra.
|
||||
redox_syscall = []
|
||||
# The `redox_syscall` feature activates the optional `redox_syscall`
|
||||
# dep below. The `#[cfg(feature = "redox_syscall")]` attributes in
|
||||
# src/lib.rs gate the `From` impls between `libredox::error::Error`
|
||||
# and `syscall::Error`; without the feature, those impls are absent
|
||||
# and `?` propagation between the two types fails. Mirroring
|
||||
# upstream `libredox 0.1.18`'s feature structure.
|
||||
redox_syscall = ["dep:redox_syscall"]
|
||||
|
||||
[dependencies]
|
||||
bitflags = { version = "2", optional = true }
|
||||
libc = { version = "0.2", optional = true }
|
||||
# The redox_syscall package has [lib] name = "syscall", so
|
||||
# in Rust code it is imported as `syscall`, NOT `redox_syscall`.
|
||||
# This dep is non-optional and not listed in [features].
|
||||
redox_syscall = { path = "../syscall", version = "0.9.0-rb1" }
|
||||
# This dep is optional and gated by the `redox_syscall` feature
|
||||
# above. Matching upstream `libredox 0.1.18` structure.
|
||||
redox_syscall = { path = "../syscall", version = "0.9.0", optional = true }
|
||||
ioslice = { version = "0.6", optional = true }
|
||||
plain = { version = "0.2", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user