Skip to content

Option for building without Asio at all #579

@Cobaltergeist

Description

@Cobaltergeist

The program I'm hoping to integrate this with already has various utilities for work queues and network communications available, and I'm considering implementing my own overrides of delayed_task_scheduler, rpc_client_factory, rpc_listener, etc. as wrappers to those utilities. However, there's no way to completely remove the dependency on Asio, which would become dead weight in this case.

My project is storage-constrained, and I plan to consume Nuraft as a dynamic library so I can't rely on the linker dropping uncalled code. I already plan to use DISABLE_SSL to cut out one static dependency, and a means to cut out the other one would be very useful.

Thoughts on adding DISABLE_ASIO?

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