Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 52c324c199 | |||
| d6fa513ca7 | |||
| 4a578129b2 | |||
| 9bcded087e | |||
| 3bd7013db4 | |||
| a290059211 | |||
| 8a4014fb3c | |||
| fc1ece67b3 | |||
| 80d0eaeb21 | |||
| d87746b279 | |||
| d01da350c1 |
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"git": {
|
||||||
|
"sha1": "7040cf71b3a5d15d91802810d0a50aa197970c43"
|
||||||
|
},
|
||||||
|
"path_in_vcs": ""
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/target
|
||||||
|
/Cargo.lock
|
||||||
+38
@@ -0,0 +1,38 @@
|
|||||||
|
[package]
|
||||||
|
name = "libredox"
|
||||||
|
authors = ["4lDO2 <4lDO2@protonmail.com>", "vasilito <adminpupkin@gmail.com>"]
|
||||||
|
version = "0.1.18+rb0.3.0"
|
||||||
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
description = "Redox stable ABI"
|
||||||
|
repository = "https://gitea.redbearos.org/vasilito/RedBear-OS"
|
||||||
|
exclude = ["target"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["base", "call", "std", "protocol", "redox_syscall"]
|
||||||
|
base = ["libc"]
|
||||||
|
call = ["base"]
|
||||||
|
std = ["base"]
|
||||||
|
protocol = ["plain", "bitflags"]
|
||||||
|
mkns = ["ioslice"]
|
||||||
|
# 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 optional and gated by the `redox_syscall` feature
|
||||||
|
# above. Matching upstream `libredox 0.1.18` structure.
|
||||||
|
redox_syscall = { path = "../syscall", optional = true }
|
||||||
|
ioslice = { version = "0.6", optional = true }
|
||||||
|
plain = { version = "0.2", optional = true }
|
||||||
|
|
||||||
|
[patch.crates-io]
|
||||||
|
redox_syscall = { path = "../syscall" }
|
||||||
Generated
+44
@@ -0,0 +1,44 @@
|
|||||||
|
[package]
|
||||||
|
name = "libredox"
|
||||||
|
authors = ["4lDO2 <4lDO2@protonmail.com>"]
|
||||||
|
# Red Bear OS Phase J: version is 0.1.18 upstream. The
|
||||||
|
# redox_syscall dep is now required (not optional) because
|
||||||
|
# the local fork's acpi module (added in this commit) re-
|
||||||
|
# exports AcPiVerb from redox_syscall, and downstream recipes
|
||||||
|
# that don't enable the redox_syscall feature get an
|
||||||
|
# "unresolved import" error. Making the dep non-optional
|
||||||
|
# also matches the upstream 0.1.18 Cargo.toml pattern where
|
||||||
|
# the redox_syscall dep is unconditional.
|
||||||
|
version = "0.1.18"
|
||||||
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
description = "Redox stable ABI"
|
||||||
|
# Red Bear OS fork lives at the canonical outer repo
|
||||||
|
# (gitea.redbearos.org/vasilito/RedBear-OS).
|
||||||
|
repository = "https://gitea.redbearos.org/vasilito/RedBear-OS"
|
||||||
|
exclude = ["target"]
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["base", "call", "std", "protocol"]
|
||||||
|
base = ["libc"]
|
||||||
|
call = ["base"]
|
||||||
|
std = ["base"]
|
||||||
|
protocol = ["plain", "bitflags", "redox_syscall"]
|
||||||
|
mkns = ["ioslice"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
bitflags = { version = "2", optional = true }
|
||||||
|
libc = { version = "0.2", optional = true }
|
||||||
|
# Phase J: path override to the local fork (../syscall
|
||||||
|
# relative to the libredox fork's local/sources/libredox/
|
||||||
|
# path). This gives libredox access to the EnterS2Idle /
|
||||||
|
# ExitS2Idle AcpiVerb variants. Cargo's [patch.crates-io]
|
||||||
|
# in the workspace's outer Cargo.toml (in base/ and kernel/)
|
||||||
|
# is what wires this path through to the actual
|
||||||
|
# redox_syscall crate; this path entry is the libredox-
|
||||||
|
# side patch override for the same crate.
|
||||||
|
redox_syscall = { path = "../syscall", version = "0.8" }
|
||||||
|
ioslice = { version = "0.6", optional = true }
|
||||||
|
plain = { version = "0.2", optional = true }
|
||||||
@@ -1,18 +1,21 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2026 vasilito
|
Copyright (c) 2023 4lDO2
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
in the Software without restriction, including without limitation the rights
|
||||||
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
following conditions:
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial
|
The above copyright notice and this permission notice shall be included in all
|
||||||
portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# RedBear-OS
|
|
||||||
|
|
||||||
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
|
|
||||||
+1143
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user