This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
fenix = { | |
url = "github:nix-community/fenix"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
naersk = { | |
url = "github:nix-community/naersk"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::fmt::Debug; | |
use std::io; | |
use std::marker::PhantomData; | |
use std::net::SocketAddr; | |
use std::pin::Pin; | |
use std::sync::Arc; | |
use std::task::Context; | |
use std::task::Poll; | |
use futures::ready; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import IntEnum | |
from typing import Optional | |
from .io import Reader | |
from .io import stdin | |
from .io import stdout | |
from .io import Writer | |
from .utils import Program | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.m4 b/config.m4 | |
index fca4c2e..92dd8ed 100644 | |
--- a/config.m4 | |
+++ b/config.m4 | |
@@ -9,15 +9,30 @@ if test "$PHP_UUID" != "no"; then | |
PHP_CHECK_FUNC_LIB(uuid_type, uuid) | |
PHP_CHECK_FUNC_LIB(uuid_variant, uuid) | |
+ PHP_CHECK_FUNC_LIB(uuid_time, uuid) | |
+ PHP_CHECK_FUNC_LIB(uuid_mac, uuid) |