{"id":17781768,"url":"https://github.com/lilyball/swift-deque","last_synced_at":"2025-03-16T00:31:09.794Z","repository":{"id":61065858,"uuid":"315449868","full_name":"lilyball/swift-deque","owner":"lilyball","description":"A double-ended queue collection for Swift","archived":false,"fork":false,"pushed_at":"2020-11-25T23:06:47.000Z","size":40,"stargazers_count":8,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T04:26:00.257Z","etag":null,"topics":["collections","data-types","framework","swift","swift-package-manager"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lilyball.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-23T21:53:08.000Z","updated_at":"2022-10-08T21:54:19.000Z","dependencies_parsed_at":"2022-10-09T12:50:03.216Z","dependency_job_id":null,"html_url":"https://github.com/lilyball/swift-deque","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilyball%2Fswift-deque","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilyball%2Fswift-deque/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilyball%2Fswift-deque/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilyball%2Fswift-deque/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lilyball","download_url":"https://codeload.github.com/lilyball/swift-deque/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801635,"owners_count":20350107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collections","data-types","framework","swift","swift-package-manager"],"created_at":"2024-10-27T04:41:41.011Z","updated_at":"2025-03-16T00:31:09.317Z","avatar_url":"https://github.com/lilyball.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deque\n\nThis package provides `Deque`, a random-access collection similar to `Array` but backed by a growable ring buffer and offering efficient insertion and removal at the front and back.\n\nSee `Guide.playground` for more information on usage.\n\n## Adding Deque as a dependency\n\nTo use `Deque` in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file:\n\n```swift\n.package(url: \"https://github.com/lilyball/swift-deque\", from: \"0.0.2\"),\n```\n\nBecause `Deque` is still pre-1.0, source-stability is only guaranteed within minor versions. If you don't want potentially source-breaking package updates, use this dependency specification instead:\n\n```swift\n.package(url: \"https://github.com/lilyball/swift-deque\", .upToNextMinor(from: \"0.0.2\")),\n```\n\nFinally, include `\"Deque\"` as a dependency for your target:\n\n```swift\nlet package = Package(\n    // name, etc…\n    dependencies: [\n        .package(url: \"https://github.com/lilyball/swift-deque\", .upToNextMinor(from: \"0.0.2\")),\n    ],\n    targets: [\n        .target(name: \"\u003ctarget name\u003e\", dependencies: [\n            .product(name: \"Deque\", package: \"swift-deque\")\n        ]),\n        // other targets…\n    ]\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilyball%2Fswift-deque","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilyball%2Fswift-deque","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilyball%2Fswift-deque/lists"}