Skip to content

Can the default resource files be embedded on compile time? #218

@yutannihilation

Description

@yutannihilation

Hi, thanks for developing this great library. I played a bit with R (my repo), but I had to struggle with this error when I tried to make a static binary for users that don't have Rust installed. It seems this error is because Config::new() cannot find the files under resources directory.

Io(Os { code: 3, kind: NotFound, message: "指定されたパスが見つかりません。" })

As the files are not very huge, is it possible to embed them somehow, e.g. using include_str macro, on compile time?

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