diff --git a/README.md b/README.md index b2d1b70..14eddfd 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ binding | 描述 | 开发状态 | binary查询耗时 | b-tree查询耗时 | memo [php](binding/php) | php实现的binding | 已完成 | 0.x毫秒 | 0.1x毫秒 | 0.1x毫秒 [php5_ext](binding/php_ext/php5) | php5的c扩展 | 已完成 | 0.0x毫秒 | 0.0x毫秒 | 0.00x毫秒 [php7_ext](binding/php_ext/php7) | php7的c扩展 | 已完成 | 0.0毫秒 | 0.0x毫秒 | 0.00x毫秒 -[python](binding/c) | python bindng | 已完成 | 0.x毫秒 | 0.x毫秒 | 0.x毫秒 -[rust](binding/c) | rust binding | 已完成 | 0.x毫秒 | 0.x毫秒 | 0.x毫秒 +[python](binding/python) | python bindng | 已完成 | 0.x毫秒 | 0.x毫秒 | 0.x毫秒 +[rust](binding/rust) | rust binding | 已完成 | 0.x毫秒 | 0.x毫秒 | 0.x毫秒 diff --git a/binding/php_ext/php5/ip2region/.gitignore b/binding/php5_ext/.gitignore similarity index 100% rename from binding/php_ext/php5/ip2region/.gitignore rename to binding/php5_ext/.gitignore diff --git a/binding/php_ext/php5/ip2region/CREDITS b/binding/php5_ext/CREDITS similarity index 100% rename from binding/php_ext/php5/ip2region/CREDITS rename to binding/php5_ext/CREDITS diff --git a/binding/php_ext/php5/ip2region/README.md b/binding/php5_ext/README.md similarity index 86% rename from binding/php_ext/php5/ip2region/README.md rename to binding/php5_ext/README.md index d2380cd..decbcd1 100644 --- a/binding/php_ext/php5/ip2region/README.md +++ b/binding/php5_ext/README.md @@ -3,7 +3,7 @@ ### 安装步骤 * git clone https://github.com/lionsoul2014/ip2region.git * cd ip2region -* cp binding/php_extension/php5/ip2region 到 php source code 的 ext 目录下 +* cp binding/php5_ext 到 php source code 的 ext/ip2region 目录下 * cp binding/c/ 里面所有的文件到 php source code 的 ext/ip2region/lib 目录下 * 在 ext/ip2region 下,运行 diff --git a/binding/php_ext/php5/ip2region/config.m4 b/binding/php5_ext/config.m4 similarity index 100% rename from binding/php_ext/php5/ip2region/config.m4 rename to binding/php5_ext/config.m4 diff --git a/binding/php_ext/php5/ip2region/config.w32 b/binding/php5_ext/config.w32 similarity index 100% rename from binding/php_ext/php5/ip2region/config.w32 rename to binding/php5_ext/config.w32 diff --git a/binding/php_ext/php5/ip2region/ip2region.c b/binding/php5_ext/ip2region.c similarity index 100% rename from binding/php_ext/php5/ip2region/ip2region.c rename to binding/php5_ext/ip2region.c diff --git a/binding/php_ext/php5/ip2region/ip2region.php b/binding/php5_ext/ip2region.php similarity index 100% rename from binding/php_ext/php5/ip2region/ip2region.php rename to binding/php5_ext/ip2region.php diff --git a/binding/php_ext/php5/ip2region/lib/README.md b/binding/php5_ext/lib/README.md similarity index 100% rename from binding/php_ext/php5/ip2region/lib/README.md rename to binding/php5_ext/lib/README.md diff --git a/binding/php_ext/php5/ip2region/php_ip2region.h b/binding/php5_ext/php_ip2region.h similarity index 100% rename from binding/php_ext/php5/ip2region/php_ip2region.h rename to binding/php5_ext/php_ip2region.h diff --git a/binding/php_ext/php5/ip2region/tests/001.phpt b/binding/php5_ext/tests/001.phpt similarity index 100% rename from binding/php_ext/php5/ip2region/tests/001.phpt rename to binding/php5_ext/tests/001.phpt diff --git a/binding/php_ext/php7/ip2region/.gitignore b/binding/php7_ext/.gitignore similarity index 100% rename from binding/php_ext/php7/ip2region/.gitignore rename to binding/php7_ext/.gitignore diff --git a/binding/php_ext/php7/ip2region/CREDITS b/binding/php7_ext/CREDITS similarity index 100% rename from binding/php_ext/php7/ip2region/CREDITS rename to binding/php7_ext/CREDITS diff --git a/binding/php_ext/php7/ip2region/README.md b/binding/php7_ext/README.md similarity index 86% rename from binding/php_ext/php7/ip2region/README.md rename to binding/php7_ext/README.md index 32764e4..4b73ef1 100644 --- a/binding/php_ext/php7/ip2region/README.md +++ b/binding/php7_ext/README.md @@ -3,7 +3,7 @@ ### 安装步骤 * git clone https://github.com/lionsoul2014/ip2region.git * cd ip2region -* cp binding/php_extension/php7/ip2region 到 php source code 的 ext 目录下 +* cp binding/php7_ext 到 php source code 的 ext/ip2region 目录下 * cp binding/c/ 里面所有的文件到 php source code 的 ext/ip2region/lib 目录下 * 在 ext/ip2region 下,运行 diff --git a/binding/php_ext/php7/ip2region/config.m4 b/binding/php7_ext/config.m4 similarity index 100% rename from binding/php_ext/php7/ip2region/config.m4 rename to binding/php7_ext/config.m4 diff --git a/binding/php_ext/php7/ip2region/config.w32 b/binding/php7_ext/config.w32 similarity index 100% rename from binding/php_ext/php7/ip2region/config.w32 rename to binding/php7_ext/config.w32 diff --git a/binding/php_ext/php7/ip2region/ip2region.c b/binding/php7_ext/ip2region.c similarity index 100% rename from binding/php_ext/php7/ip2region/ip2region.c rename to binding/php7_ext/ip2region.c diff --git a/binding/php_ext/php7/ip2region/ip2region.php b/binding/php7_ext/ip2region.php similarity index 100% rename from binding/php_ext/php7/ip2region/ip2region.php rename to binding/php7_ext/ip2region.php diff --git a/binding/php_ext/php7/ip2region/lib/README.md b/binding/php7_ext/lib/README.md similarity index 100% rename from binding/php_ext/php7/ip2region/lib/README.md rename to binding/php7_ext/lib/README.md diff --git a/binding/php_ext/php7/ip2region/php_ip2region.h b/binding/php7_ext/php_ip2region.h similarity index 100% rename from binding/php_ext/php7/ip2region/php_ip2region.h rename to binding/php7_ext/php_ip2region.h diff --git a/binding/php_ext/php7/ip2region/tests/001.phpt b/binding/php7_ext/tests/001.phpt similarity index 100% rename from binding/php_ext/php7/ip2region/tests/001.phpt rename to binding/php7_ext/tests/001.phpt