id
int64
0
5k
task_category
stringclasses
1 value
messages
listlengths
3
3
337
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple key-value store using Rust. The key-value store will support basic operations such as inserting...
431
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that processes a series of code snippets and returns the total count of specific patterns fou...
1,043
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to find the range of a given set of values. The range of a set of values is defined as the di...
831
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are given a function `length_of_last_word` that takes a string as input and returns the length of the last word in the string. A word...
1,544
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust program to control a simple LED circuit using the `rust_gpiozero` library. The LED circuit consists o...
96
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to parse JSON data representing GitHub issues into a structured format. The provided code sni...
3,290
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust FFI (Foreign Function Interface) module that interacts with a C library. Your goal is to call a forei...
250
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust library for a simple physics simulation. The library should include modules for velocity and movement...
2,231
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom serialization and deserialization process for a specific data type. The data type in question i...
3,304
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a Quartiles struct that can calculate the quartiles of a given dataset. Quartiles are values that divide...
784
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust program that simulates a simple game of rock-paper-scissors. The game should allow a player to input ...
4,562
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to parse a BitString from an ASN.1 Any value. ASN.1 (Abstract Syntax Notation One) is a stand...
1,031
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to save and load data in JSON format. The function should take a data structure, serialize it...
434
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom error type in Rust that includes a span representing the location of the error. The error type ...
1,862
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are working on a distributed system that manages tablets and their leaders. The system consists of tablets, each identified by a tabl...
2,488
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to process a set of rules and a collection of items. The function should apply the rules to t...
3,027
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that converts a given string into a vector of UTF-16 code units. The provided code snippet in...
683
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that performs ASCII folding on a given input string. ASCII folding involves converting accent...
382
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple bit manipulation library in Rust. The library should provide functionality for bitwise AND oper...
1,254
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that processes command-line arguments and performs error handling and parsing of the input va...
4,490
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple exception handling mechanism for a hypothetical embedded system. The system has a list of excep...
4,219
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a system to manage filters for system calls in a Unix-like operating system. The system provides a `Filt...
2,367
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a fuzz testing function for a Rust library that flattens JSON objects using the `flatten_serde_json` crate. ...
4,092
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a pitch detection algorithm using the HannedFftDetector structure provided in the code snippet. The Hann...
1,941
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that converts a slice of 32-bit floating-point samples to a vector of 24-bit signed integer s...
4,395
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a function to perform a geolocation lookup using the MaxMind GeoIP2 database. The function should handle the...
3,037
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified version of an asynchronous MQTT client in Rust. The client is responsible for connecting to...
4,549
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom assertion macro for testing in Rust. The macro should compare the value of a given variable wit...
4,497
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a module system for a programming language. The module system should support the creation and usage of t...
3,151
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust program that simulates a simple banking system. The program should allow users to create accounts, de...
63
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified version of a Glob pattern matcher in Rust. A Glob pattern is a type of pattern matching tha...
292
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom runtime for a blockchain system. The provided code snippet is a partial implementation of the r...
1,316
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust function that processes 3D mesh data and extracts relevant information for rendering. The function wi...
1,807
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified message passing system in a software application. The system involves sending messages betw...
291
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are given a Rust code snippet that attempts to print the value of a dereferenced variable `t`. However, the code contains a syntax er...
3,256
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple caching mechanism using Rust. Your goal is to create a generic cache that can store key-value p...
4,810
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple memory management system for a graphics library. The library provides a method `keep_alive` tha...
3,303
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple parser for a custom language that uses a specific syntax for directives. Directives are represe...
2,355
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple environment variable management system in Rust. Your task is to create a struct called `Environ...
370
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple image editing library in Rust. The library should allow users to create a new `Img` object from...
3,336
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to process an `ItemConfig` struct in Rust. The `ItemConfig` struct contains various fields re...
1,647
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple serialization and deserialization process for a struct in Rust. The struct, named `Interactive`...
1,529
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a function that serializes a given `CreateExperimentTemplateActionInput` object into a JSON object using the...
3,073
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple benchmarking tool for a custom data structure called `Fuse16`. The `Fuse16` data structure is d...
4,027
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a program that converts moon phases into their corresponding emoji representations. The moon phases are repr...
3,890
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a program to calculate the total score of a game based on a given scoreboard. The scoreboard is represen...
2,068
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a generic data controller interface for creating data objects in an asynchronous Rust application. The i...
1,735
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a program that processes a list of arguments and prints them in a specific format. The program should take a...
3,436
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom blockchain consensus algorithm for a new cryptocurrency. The consensus algorithm will be a proo...
1,975
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a utility module for a Rust project. The module should contain a function that calculates the factorial of a...
1,457
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple graphics library for rendering polygons with different colors. The library provides a `Polygon`...
1,079
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple Rust program to manage a list of employees in a company. The program should allow adding new em...
2,953
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a module system for a 2D vector library in Rust. The library should provide functionality for working wi...
2,767
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a custom Lua binding for a 2D vector library in Rust. The goal is to expose certain methods of the `Vec2` st...
29
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple synchronization mechanism in Rust using the `std::sync` module. Your goal is to create a custom...
2,463
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a PWM (Pulse Width Modulation) control system for a microcontroller. The given code snippet is a part of...
4,424
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust program that models a simple file registry system. The program should define a FileType enum and impl...
125
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a viewshed update system for a game engine. A viewshed represents the area visible to an actor within th...
1,565
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified version of a text editor's undo functionality. The provided code snippet is part of a Rust ...
2,508
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple HTTP response builder in Rust. Your goal is to create a struct `HttpResponse` with associated m...
3,330
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to_refs that converts a linked list of mutable references into a vector of mutable references...
4,227
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom assertion macro for a testing framework. The macro should check if a given field in a struct ha...
1,780
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom data structure called `Series` that represents a series of elements. The `Series` should suppor...
4,795
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that compares two sets of data based on certain conditions. The function takes in two sets of...
4,334
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function that manipulates arrays in Rust. Your task is to write a function `bar` that takes a referenc...
2,663
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust library for performing various operations related to constants, environment variables, local variable...
2,792
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple text editor in Rust. The text editor supports the following operations: moving the cursor, inse...
1,242
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom feature flag system for a software application. The feature flag system should allow enabling o...
2,032
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified version of the `touch` command in Rust. The `touch` command is used to create a new empty f...
1,800
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a generic function that calculates the average value of a collection of numeric elements. The function s...
1,850
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a generic tree data structure in Rust. The tree nodes should be able to store any type that implements t...
3,232
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom `ToString` trait for a Rust enum called `OrderType`. The `OrderType` enum represents different ...
1,926
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a program that determines the categorization of a given integer based on specific conditions. The program sh...
4,659
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust program that manages modules for a file management system. The program should allow users to perform ...
514
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are given a code snippet representing a mapping of hexadecimal values to strings. The code snippet is part of a larger program that h...
446
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom future type in Rust that can be used with asynchronous programming. Your goal is to create a fu...
1,695
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with developing a memory management algorithm for a system that utilizes zram (compressed RAM) devices. The system has a l...
1,571
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple conditional branching mechanism in a programming language. The language supports five control c...
3,123
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a Rust trait for encoding and framing data. The provided code snippet includes some `pub use` statements...
719
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a cross-platform clipboard utility that can retrieve and store text from the clipboard. The code snippet pro...
314
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple filtering system for a music streaming service. The system should support different types of fi...
2,042
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a neural network training algorithm using the provided code snippet as a starting point. The code snippe...
3,751
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a simple configuration management system for a Rust application using the `balthazar` library. The `balthaza...
2,179
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are given a code snippet that contains a Rust macro invocation. Your task is to implement a custom macro that performs a specific tra...
2,077
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with simulating a simple CPU instruction fetch and operand retrieval process. The CPU has a program counter (PC) and a bus...
1,719
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a program that manages a collection of MIME types. A MIME type is a label used to identify the type of data ...
1,739
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple trait for a Rust program. The trait, named `Pass`, is intended to provide a method that returns...
2,301
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple builder pattern in Rust for creating instances of a `Data` struct. The `Data` struct has three ...
4,687
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple stack data structure using Rust. The stack should support the following operations: push, pop, ...
2,171
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified version of a message-passing system using Rust. The system consists of a sender and a recei...
598
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a Rust function that processes events from an experiment monitoring system. The system provides events of di...
1,335
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple metrics tracking system for a web application. The system should be able to track counters, gau...
3,335
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a program that simulates a network packet processing system. The program should be able to handle various ty...
4,987
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with creating a configuration management system for a software application. The system needs to handle a set of constants ...
240
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simple message-passing system using Rust's enum and struct types. The system should allow sending and ...
3,406
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a function to convert a given `OsString` to a `HostString`. The `HostString` type is defined as an alias...
1,839
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with designing a message-passing system for a multiplayer game server. The server uses the Actix framework, a popular acto...
1,659
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a text-to-speech (TTS) system for a mobile application. The TTS system should be able to handle a maximu...
2,151
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a simplified asset management system in Rust. The system should allow registering different types of ass...
4,773
oss_instruct
[ { "role": "system", "content": "You are an expert assistant who solves Rust programming problems and generates correct code." }, { "role": "user", "content": "You are tasked with implementing a custom asynchronous stream in Rust. The stream will produce a sequence of `Bytes` objects and will sup...