id
int64
0
5k
task_category
stringclasses
1 value
messages
listlengths
3
3
1,471
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 distributed key-value store using the Actix framework. The key-value ...
1,811
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 validate the length of a message body within a given byte range. The function should check...
1,427
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 structure in Rust that supports appending elements with certain constraints. The data str...
464
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 truncates a given string to ensure that it ends at a valid character boundary within a s...
2,954
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 command-line tool that generates shell completions for various shell environments. The provided code s...
270
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 smart pointer in Rust that implements the `Deref` trait. The `Deref` trait allows you to customize ...
1,835
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 processes a PDF document using the Haru Free PDF Library (libharu). The function should add ...
1,781
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 wait status events for threads in a multi-threaded application. The function s...
2,956
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 checks the validity of registry keys in a Lua state. A registry key is a unique identifi...
4,176
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 decoration system in Rust. Your goal is to create a `Decorator` struct that can be used to...
796
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 related to USB communication. The given code snippet is part of a Rust...
4,523
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 transport handler for a peer communication system using the zenoh_protocol_core library in Rust...
4,410
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 structure in Rust that represents a binary tree and provides various operations for manip...
1,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 creating a Rust function that processes a query using a given configuration and returns a result. The function is par...
3,461
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 builder pattern for a user data struct in Rust. The given code snippet provides a starting poin...
3,830
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 module system in Rust. Your goal is to create a module structure that allows for the organizati...
2,320
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 inventory management system for a warehouse using Rust. The system should allow adding and remo...
746
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 serializes a given data structure into a JSON object. The data structure represents pref...
138
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 HTTP server using the Rust programming language and the `warp` and `tokio` libraries. Your goal is ...
3,910
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 PDU (Protocol Data Unit) parsing functionality for a communication protocol. The given code snippet is...
721
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 Hierarchical Deterministic Key Derivation (HDKD) algorithm. HDKD is a method f...
2,902
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 list of imports from a Rust module and extracts specific information from th...
1,061
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 STUN (Session Traversal Utilities for NAT) client in Rust. STUN is a protocol used to discover ...
2,222
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 a 32-bit unsigned integer by setting or clearing specific bits based on give...
4,539
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 to process and validate ticket rules for a transportation system. The rules are provided in a spec...
4,010
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 defines a struct `S` and a trait implementation for mutable references to `S`. Additionally, there...
2,840
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 method for the `Delete` struct in a Rust application. The `Delete` struct has been defined with the fo...
708
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 list of strings, each containing lowercase English letters. Your task is to find the checksum of the list, which is calcu...
3,024
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 Rust library called \"mockiato\" which is used for creating mock objects for testing purposes. The library has certa...
81
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 processes messages from a queue and handles potential errors. The program should use pat...
4,573
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 trait for asynchronous delay in a Rust embedded system. The provided code snippet is a part of a modul...
184
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 involves the use of the `ferris_base` crate, which is commonly used for educational purposes. The ...
1,825
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 module that manages timing and time-related functionality for a game engine. The module should provid...
4,575
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 multi-threaded task scheduler in Rust. The scheduler should be able to execute tasks concurrently whil...
3,286
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 data transmission system in Rust. The system consists of a `Transmitter` struc...
3,863
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 handling system in Rust. You need to define an enum `Error` with specific error variants ...
597
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 should support operations for inserting, retrie...
3,025
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 editor feature that involves manipulating text lines and syntax trees. The text editor has a `Syn...
1,368
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 resource limiter for a linear memory growth operation in a WebAssembly (Wasm) runtime environment. The...
2,866
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 folding operation for Rust syntax trees using the `syn` crate. The `impl Fold for Throws` code ...
528
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 struct and associated methods for managing heartbeat alerts in a monitoring system. The `CreateHeartbe...
3,915
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 given proof format and a list of specified pivots to determine if the \"DRAT...
1,603
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 session management system in Rust. Your goal is to create a `SessionToken` struct that represen...
4,785
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 `Maybe` type in Rust that mimics the behavior of the `MaybeUninit` type from the standard libra...
3,553
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 downloads a file from a given URL and saves it to a specified file path. Your function ...
2,884
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 simplified version control system. Your program should take input from the s...
3,022
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 struct that represents a configuration object for a file synchronization server. The server configura...
3,522
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 to calculate the total fuel required for a set of modules on a spacecraft. Each module has a speci...
4,997
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 `MemReader` struct in Rust that simulates reading from an in-memory buffer. The `MemReader` str...
2,270
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 event handling system for a GUI application. The system consists of two main functions: `event`...
2,341
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 list of strings representing cookies and returns a jar containing the parsed...
1,903
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 to parse and extract information from a financial message encoded in the FIX (Financial Info...
4,826
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 command-line history feature for a simple shell program. The shell program should maintain a history o...
4,606
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 memory management system for a server infrastructure. The system needs to allocate memory for various ...
3,388
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 HTTP request routing system for a web framework. Your goal is to implement a function that maps inc...
2,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 creating a Discord bot command that calculates the latency between the bot and the user. The bot should respond with ...
3,504
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 add liquidity to a pool in a decentralized finance (DeFi) platform. The platform uses a sm...
699
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 should support the following operations:\n1. `p...
1,718
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 fetches data from the Wayback Machine's CDX API for a given host. The Wayback Machine is a di...
1,181
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 file system utility that creates a symbolic link from one file to another. A symbolic link, also known...
1,677
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 module that handles parsing and processing of data messages in a specific format. The provided co...
3,081
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 program to manage server configurations. The `ServerConfig` struct represents the configuration o...
1
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 dependency management system for a software project. The system should allow adding, removing, and alt...
3,519
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 cryptographic hash function using the SHA-256 algorithm. The SHA-256 algorithm takes an input message ...
2,159
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 data structure to manage font properties for a text rendering engine. The font properties include righ...
4,597
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 stack-based virtual machine for executing bytecode instructions. The virtual machine operates on a sta...
1,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 simulating the behavior of a PCA9633 LED driver in a simplified setting. The PCA9633 is a 4-channel constant-current ...
2,084
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 to-do list application in Rust. The application should have the following components:\n\n1. `ne...
3,287
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 manage a simple library system. The library system should allow users to add, remove, and ...
158
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 module that interfaces with a CUDA library to perform parallel computations on a GPU. Your goal is to...
2,809
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 macro that processes Vulkan API documentation attributes. The macro should extract relevant infor...
1,280
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 cache side-channel attack simulation in Rust. In a cache side-channel attack, an attacker can infer se...
3,870
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 contains a syntax error. Your task is to identify the error and correct the code to make it compil...
1,884
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 blockchain application that involves handling unspent transaction outputs (UTXOs). Your task is to implement a funct...
3,667
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 simulates a simple access control system for a secure facility. The system uses tags to ...
1,640
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 3D rendering engine in Rust. The `Model` struct represents a 3D model, and the `shade_views` me...
573
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 weight calculation function for a Substrate runtime module. The module, called `UpfrontPool`, is respo...
2,493
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 interpreter for a custom programming language. The interpreter is responsible for executing a s...
3,642
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 validate a signature using the BLS12-381 curve. The function should take in the necessary ...
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 experience system for a game. The experience required to reach each level is stored in an array...
1,874
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 method for creating an `ObjectSet` from a raw pointer in the context of the Fontconfig library. The `O...
2,011
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 function that processes asynchronous operations and handles potential errors using the `expect` m...
3,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 program to calculate the total amount of ribbon required to wrap a set of presents. Each present is a box ...
2,717
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 given input and returns a specific output based on the input type and conten...
3,796
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 defines an enum `TOS_A` with various variants. Each variant is associated with a numeric value and...
4,832
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 module that handles HTTP header values for various header types. Your goal is to implement the necess...
754
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 trait for a message handling system in Rust. The trait, `MessageStatic`, is responsible for associatin...
4,588
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 in Rust. Your stack should support the following operations:\n1. `push`: A...
1,417
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 command-line utility that can either escape or unescape special characters in a given input string. Th...
1,466
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 message processing system using Rust's asynchronous programming features. The system will read JSON me...
3,600
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 pixel data from one format to another. The pixel data is represented as a 2D array...
3,717
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 and extract cookie values from a given HTTP request context. The function should han...
904
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 file system in Rust. The file system will support basic file operations such as opening, re...
936
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 game logic using Rust. The game involves taking actions based on the outcome of rolling a die. ...
3,930
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 data structure to manage requests from different nodes in a distributed system. Each request is associ...
1,698
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 given Rust code snippet to extract and count the number of unique Rust modul...
1,239
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 processes a list of integers and returns the sum of all positive integers in the list. Howev...
1,010
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 simplified version of a disk I/O scheduler. In this scenario, you are given a series of write requests t...
1,034
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 LED blinking functionality on an embedded system using Rust programming language. The code snip...
2,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 custom file loader for a specific data format. The data is stored in a NetCDF file, and you need to implem...