Skip to content

Please remove dependency on the unmaintained 'smartstring' crate #1340

@yurivict

Description

@yurivict

Describe the bug
While building the https://tabby.tabbyml.com/ project the smartstring fails to compile.
smartstring is a dependency of juniper:

[[package]]
name = "juniper"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "943306315b1a7a03d27af9dfb0c288d9f4da8830c17df4bceb7d50a47da0982c"
dependencies = [
 "async-trait",
 "auto_enums",
 "chrono",
 "fnv",
 "futures",
 "graphql-parser",
 "indexmap 2.2.6",
 "juniper_codegen",
 "serde",
 "smartstring",
 "static_assertions",
 "void",
]

Failure:

[smartstring 1.0.1] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc`
[smartstring 1.0.1]  --> <anon>:1:18
[smartstring 1.0.1]   |
[smartstring 1.0.1] 1 | pub trait Probe: alloc::alloc::Allocator + Sized {}
[smartstring 1.0.1]   |                  ^^^^^ use of unresolved module or unlinked crate `alloc`
[smartstring 1.0.1]   |
[smartstring 1.0.1]   = help: add `extern crate alloc` to use the `alloc` crate
[smartstring 1.0.1] help: consider importing this module
[smartstring 1.0.1]   |
[smartstring 1.0.1] 1 + use std::alloc;
[smartstring 1.0.1]   |
[smartstring 1.0.1] help: if you import `alloc`, refer to it directly
[smartstring 1.0.1]   |

The smartstring issue doesn't have any response, as other recent issues for smartstring.

Please remove the smartstring dependency.

To Reproduce
n/a

Expected behavior
n/a

Additional context
rust-1.88.0
FreeBSD 14.3

Metadata

Metadata

Assignees

Labels

enhancementImprovement of existing features or bugfixk::dependenciesPull requests that update a dependency filerustRelated to Rust specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions