kcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.en.md +235 -0
- data/README.md +221 -0
- data/ext/kcp/extconf.rb +9 -0
- data/ext/kcp/ikcp.c +1423 -0
- data/ext/kcp/ikcp.h +452 -0
- data/ext/kcp/kcp_native.c +137 -0
- data/lib/kcp/version.rb +5 -0
- data/lib/kcp.rb +76 -0
- metadata +65 -0
metadata
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: kcp
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- kcp developers
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rake-compiler
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.2'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '1.2'
|
|
26
|
+
description: |
|
|
27
|
+
Ruby bindings for KCP (skywind3000/kcp), a fast and reliable ARQ protocol
|
|
28
|
+
implemented in C. This gem ships the C source and builds a native extension
|
|
29
|
+
via mkmf, so it works cross-platform (x86_64 / arm64, macOS / Linux /
|
|
30
|
+
Windows) using the local Ruby toolchain.
|
|
31
|
+
executables: []
|
|
32
|
+
extensions:
|
|
33
|
+
- ext/kcp/extconf.rb
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
files:
|
|
36
|
+
- README.en.md
|
|
37
|
+
- README.md
|
|
38
|
+
- ext/kcp/extconf.rb
|
|
39
|
+
- ext/kcp/ikcp.c
|
|
40
|
+
- ext/kcp/ikcp.h
|
|
41
|
+
- ext/kcp/kcp_native.c
|
|
42
|
+
- lib/kcp.rb
|
|
43
|
+
- lib/kcp/version.rb
|
|
44
|
+
homepage: https://example.com/kcp
|
|
45
|
+
licenses:
|
|
46
|
+
- MIT
|
|
47
|
+
metadata: {}
|
|
48
|
+
rdoc_options: []
|
|
49
|
+
require_paths:
|
|
50
|
+
- lib
|
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '3.0'
|
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
requirements: []
|
|
62
|
+
rubygems_version: 4.0.3
|
|
63
|
+
specification_version: 4
|
|
64
|
+
summary: Fast, reliable ARQ protocol (KCP) as a Ruby native extension
|
|
65
|
+
test_files: []
|