File tree 4 files changed +15
-5
lines changed
4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ fn main() {
132
132
& out_path,
133
133
) ;
134
134
prepare_cppdriver_data (
135
- "cppdriver_data_uuid .rs" ,
135
+ "cppdriver_uuid_types .rs" ,
136
136
& [ "CassUuid_" , "CassUuid" ] ,
137
137
& out_path,
138
138
) ;
Original file line number Diff line number Diff line change @@ -91,6 +91,18 @@ pub mod cass_log_types {
91
91
include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_log_types.rs" ) ) ;
92
92
}
93
93
94
+ /// CassColumnType
95
+ pub mod cass_column_types {
96
+ include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_column_type.rs" ) ) ;
97
+ }
98
+
99
+ /// CassUuid
100
+ pub mod cass_uuid_types {
101
+ #![ allow( non_camel_case_types, non_snake_case) ]
102
+
103
+ include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_uuid_types.rs" ) ) ;
104
+ }
105
+
94
106
lazy_static ! {
95
107
pub static ref RUNTIME : Runtime = Runtime :: new( ) . unwrap( ) ;
96
108
pub static ref LOGGER : RwLock <Logger > = RwLock :: new( Logger {
Original file line number Diff line number Diff line change 1
1
use crate :: argconv:: * ;
2
+ use crate :: cass_column_types:: CassColumnType ;
2
3
use crate :: cass_types:: get_column_type_from_cql_type;
3
4
use crate :: cass_types:: CassDataType ;
4
5
use crate :: types:: * ;
@@ -8,8 +9,6 @@ use std::os::raw::c_char;
8
9
use std:: sync:: Arc ;
9
10
use std:: sync:: Weak ;
10
11
11
- include ! ( concat!( env!( "OUT_DIR" ) , "/cppdriver_column_type.rs" ) ) ;
12
-
13
12
pub struct CassSchemaMeta {
14
13
pub keyspaces : HashMap < String , CassKeyspaceMeta > ,
15
14
}
Original file line number Diff line number Diff line change 1
- #![ allow( non_camel_case_types, non_snake_case) ]
2
1
use crate :: argconv:: * ;
3
2
use crate :: cass_error:: CassError ;
4
3
use crate :: types:: * ;
@@ -11,7 +10,7 @@ use std::sync::atomic::{AtomicU64, Ordering};
11
10
use std:: time:: { SystemTime , UNIX_EPOCH } ;
12
11
use uuid:: Uuid ;
13
12
14
- include ! ( concat! ( env! ( "OUT_DIR" ) , "/cppdriver_data_uuid.rs" ) ) ;
13
+ pub ( crate ) use crate :: cass_uuid_types :: CassUuid ;
15
14
16
15
pub struct CassUuidGen {
17
16
pub clock_seq_and_node : cass_uint64_t ,
You can’t perform that action at this time.
0 commit comments