Skip to content

📋 Crate compatibility tracker #3

Open
@fasterthanlime

Description

@fasterthanlime

Here are temporary PRs:


For anyone playing around with rubicon, the easiest way to get your crate graph to use rubicon-compatible crates is to use crates.io patching, not in Cargo.toml, since you'd have to duplicate those in your app, mods, and exports crate, but in .cargo/config.toml, somewhere in your repository, something like:

Sample .cargo/config.toml

[target.'cfg(any())']
rustflags = [
    # generic flags
    "-Wunused-crate-dependencies",
    "-Cprefer-dynamic",
]

[target.'cfg(any(target_os = "macos"))']
rustflags = [
    # macOS-specific flags
    "-Wunused-crate-dependencies",
    "-Cprefer-dynamic",
    "-Clink-arg=-undefined",
    "-Clink-arg=dynamic_lookup",
]

[patch.crates-io]
tracing-subscriber = { git = "https://github.com/bearcove/tracing", branch = "v0.1.x-rubicon-3.x" }
tracing-core = { git = "https://github.com/bearcove/tracing", branch = "v0.1.x-rubicon-3.x" }
tracing-log = { git = "https://github.com/bearcove/tracing", branch = "v0.1.x-rubicon-3.x" }
tracing = { git = "https://github.com/bearcove/tracing", branch = "v0.1.x-rubicon-3.x" }

tokio = { git = "https://github.com/bearcove/tokio", branch = "rubicon-3.x-bis" }

parking_lot = { git = "https://github.com/bearcove/parking_lot", branch = "rubicon-3.x" }
parking_lot_core = { git = "https://github.com/bearcove/parking_lot", branch = "rubicon-3.x" }
lock_api = { git = "https://github.com/bearcove/parking_lot", branch = "rubicon-3.x" }

eyre = { git = "https://github.com/bearcove/eyre", branch = "release-0.6-rubicon-3.x" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions